Usage
Subcommands
config show
Print the current configuration.
config set <key> <value>
Set a configuration value.
| Key | Description | Type |
|---|---|---|
telemetry | Enable or disable telemetry | boolean |
evaluator.model | Model for probabilistic criteria evaluation | string |
evaluator.apiKey | Evaluator API key (supports env:VAR_NAME) | string |
evaluator.baseUrl | Custom base URL for evaluator LLM calls | string |
defaults.runs | Default number of runs per scenario | number |
defaults.timeout | Default timeout in seconds | number |
engine.defaultHarness | Default harness path when --harness is omitted | string |
engine.harnessDir | Directory used for harness discovery | string |
engine.model | Agent model hint passed to the engine | string |
engine.timeout | Engine request timeout in seconds | number |
engine.apiKey | Agent model API key (supports env:VAR_NAME) | string |
openclaw.home | Local OpenClaw home directory | string |
openclaw.workspace | OpenClaw workspace path | string |
openclaw.configPath | OpenClaw config file path | string |
openclaw.version | OpenClaw version hint | string |
openclaw.evalMode | OpenClaw evaluation mode | string |
archal config set <key> <value> prints the current
valid-key list.
config unset <key>
Remove a saved value. Defaults and environment variables can still apply.
config init
Create a default config file at ~/.archal/config.json.
config path
Print the config file path.
Config file format
Default file (archal config init):
evaluator.apiKey is empty, Archal uses Archal LLM judge. To bring your
own judge key, set both evaluator.model and evaluator.apiKey; use an
env:... reference for evaluator.apiKey so secrets stay out of the config
file.
Environment variable overrides
These override the config file at runtime:| Variable | Overrides |
|---|---|
ARCHAL_TELEMETRY | telemetry |
ARCHAL_MODEL | evaluator.model |
ARCHAL_EVALUATOR_BASE_URL | evaluator.baseUrl |
ARCHAL_RUNS | defaults.runs |
ARCHAL_TIMEOUT | defaults.timeout |
ARCHAL_DEFAULT_HARNESS | engine.defaultHarness |
ARCHAL_HARNESS_DIR | engine.harnessDir |
ARCHAL_ENGINE_MODEL | engine.model |
ARCHAL_ENGINE_TIMEOUT | engine.timeout |
ARCHAL_ENGINE_API_KEY | engine.apiKey |
ARCHAL_OPENCLAW_HOME | openclaw.home |
ARCHAL_OPENCLAW_WORKSPACE | openclaw.workspace |
ARCHAL_OPENCLAW_CONFIG | openclaw.configPath |
ARCHAL_OPENCLAW_VERSION | openclaw.version |
ARCHAL_OPENCLAW_EVAL_MODE | openclaw.evalMode |
ARCHAL_HOME | Config directory location (~/.archal by default) |
Authentication note
CLI auth is separate from this config file. Use:archal login(recommended)ARCHAL_TOKENin CI/non-interactive environments
