Skip to content

Commit 60e63a6

Browse files
docs: add cli.mode config documentation
1 parent 8c9d572 commit 60e63a6

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

docs/architecture.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,12 @@ Agents and network edges are keyed by `scenario_id`, not `population_id`. This a
295295

296296
Resolution order: programmatic > env vars > config file > defaults
297297

298+
### CLI Zone
299+
300+
| Field | Default | Description |
301+
|-------|---------|-------------|
302+
| `mode` | `human` | `human` = interactive prompts, rich output. `agent` = JSON output, exit codes, no prompts |
303+
298304
### Models Zone
299305

300306
| Field | Default | Description |

docs/commands.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ extropy config reset
313313
| `simulation.rate_tier` | Rate limit tier (1-4) |
314314
| `simulation.rpm_override` | RPM override |
315315
| `simulation.tpm_override` | TPM override |
316+
| `cli.mode` | CLI mode: `human` (interactive) or `agent` (JSON output) |
316317
| `show_cost` | Show cost tracking |
317318
| `providers.<name>.base_url` | Custom provider base URL |
318319
| `providers.<name>.api_key_env` | Custom provider API key env var |
@@ -557,4 +558,6 @@ extropy validate scenario/congestion-tax/scenario.v1.yaml
557558
# Config
558559
extropy config show
559560
extropy config set simulation.strong anthropic/claude-sonnet-4.5
561+
extropy config set cli.mode agent # for AI harnesses
562+
extropy config set cli.mode human # for terminal users (default)
560563
```

0 commit comments

Comments
 (0)