--tui |
Force the interactive TUI (it is the default when a terminal is attached). |
-p, --print |
One-shot / non-interactive: run the task, stream text, exit (like claude -p). Requires a task. Without -p, iteron opens the interactive TUI (the default). |
--archive-requests |
Retain full provider requests for diagnostics; publish the bounded archive at task completion. Disabled by default. Archive status is reported separately from task completion. |
--image <PATH> |
Attach a local PNG, JPEG, GIF, or WebP to a one-shot task. On macOS, HEIC/HEIF is locally normalized to bounded JPEG. Repeat up to the attachment limit; bytes are sniffed before SQ. Repeatable. |
--output-format <OUTPUT_FORMAT> |
One-shot stdout contract: text | json | stream-json. Machine formats keep stdout as valid JSON/JSONL; diagnostics continue on stderr. Only valid in one-shot mode. Default text. |
--output-schema-version <VERSION> |
Pin a published machine stdout schema. Supported versions are reported by --machine-contract; omission keeps the current v8 default. |
--machine-contract |
Print the bounded, provider-free CLI capability report as JSON and exit. |
-C, --repo <REPO> |
The repository to work in (defaults to the current directory). Default .. |
--model <MODEL> |
Model id (overrides config / default). |
--max-turns <MAX_TURNS> |
Maximum provider turns, or unlimited (the default). |
--max-usd <MAX_USD> |
Max spend in USD (bounded invariant; overrides config / default). |
--max-tokens <MAX_TOKENS> |
Aggregate provider-token ceiling across this run and all descendants. |
--max-consecutive-tool-errors <MAX_CONSECUTIVE_TOOL_ERRORS> |
Consecutive failing tool calls before the run stops as stuck (stability floor; overrides the default of 50). |
--max-wall-secs <MAX_WALL_SECS> |
Wall-clock ceiling for ONE submission, in seconds (bounded invariant; overrides config / default). The default is 86400s (24h). |
--allow-code |
Enable code execution (bash/build/test). ON by default; a trusted or project allow_code: false, or --mode plan, can tighten it back off. |
--confine |
Tighten execution to the workspace sandbox even with the default dangerous bypass. The sandbox denies network and out-of-workspace shell writes, and fails closed if the platform cannot enforce it. Built-in file writers also reapply their workspace-write boundary when this flag is combined with dangerous bypass. |
--dangerously-bypass-permissions |
Explicitly request dangerous bypass (already the default for fresh ordinary sessions). Without --confine, code has host authority. Plan mode and explicit denies still apply. |
--ask-permissions |
Disable the fresh-session bypass and use default mode unless --mode was supplied. Execution is confined; one-shot (-p) refuses decisions requiring an interactive answer. On resume, this must agree with the recorded bypass authority. |
--mode <MODE> |
Permission mode: default | acceptEdits | plan | yolo (ADR-007 §3). Reads always auto; the fresh default is yolo with dangerous bypass. Explicit default/acceptEdits restores approval gates unless the dangerous flag is also given; plan is always confined read-only. |
--runs-dir <RUNS_DIR> |
Directory for the append-only rollout (the audit record). Default .iteron/runs. |
--benchmark-attempt-scope <ATTEMPT> |
Internal eval-harness attempt identity. Activates strict parent-memory isolation and content-free contamination evidence; hidden because ordinary sessions must inherit memory. |
--harness-profile <HARNESS_PROFILE> |
Immutable runtime-tunables profile. Benchmark attempts select benchmark automatically; ordinary runs select interactive unless this operator-owned flag says otherwise. |
--implementation-candidate <PATH> |
Operator/eval-harness pinned external implementation activation document. |
--implementation-candidate-digest <SHA256> |
Exact lowercase SHA-256 of --implementation-candidate bytes. |
--plugin-candidate <PACKAGE_PATH> |
Prepare a signed local plugin package for installation from the plugin management panel. Requires a configured plugin store; at most 16 operator-selected packages are retained. Repeatable. |
--browser-webdriver <LOOPBACK_HTTP_DRIVER> |
Explicit local W3C ChromeDriver for optional fresh isolated browser/computer tools. Registration is not per-action external-effect approval. No driver is installed by default. |
--browser-origin <ORIGIN> |
Exact http(s) origin the isolated browser may contact; repeat at most 32 times. Only operator launch arguments supply this authority, never project/model configuration. Repeatable. |
--desktop-webdriver <LOOPBACK_HTTP_DRIVER> |
Explicit local Appium Mac2 driver for native desktop control and MAIN desktop screenshots. Registration does not authorize individual effects or isolate the operating system. |
--desktop-bundle <BUNDLE_ID> |
Native macOS application bundle selected by the operator, never project/model input. |
--tunables-export |
Print the whole machine-readable optimization surface as JSON and exit: every family, every exposed parameter, the module axis and the addressable prompt artifacts. This is what an external optimizer reads to construct a legal profile. |
--tunables-profile <PATH> |
Apply a tunables profile document to this run. Requires --tunables-profile-digest; a candidate that can be swapped between digesting and applying is not pinned to anything. |
--tunables-profile-json <JSON> |
A tunables profile as inline JSON, for a one-off experiment. Mutually exclusive with --tunables-profile; neither can be digest-pinned, because bytes produced in the same breath as the claim about them have nothing prior to pin to. |
--set <KEY=VALUE> |
Set one tunable for this run: --set compaction_trigger=120000. Repeatable. Accepts a family id, semantic key, alias, or exposed parameter id; the source kind is inferred from the family's own declared bindings. Repeatable. |
--tunables-explain |
Print the exact assembled profile and whether each tier-2 parameter has a production use site, then exit without running anything. |
--tunables-module <MODULE> |
Restrict --tunables-export to one optimization module. |
--tunables-filter <SUBSTRING> |
Restrict --tunables-export to entries whose id or summary contains this substring. |
--tunables-format <TUNABLES_FORMAT> |
--tunables-export output shape: json for machines, table for a human scanning the surface. |
--tunables-profile-digest <SHA256> |
The SHA-256 the profile file must have. Any mismatch refuses the run. |
--emit-tunables-profile <PATH> |
Write the profile that reproduces this run's effective tunables, then continue. |
--resume <RESUME> |
Resume a prior run by id: reconstruct its transcript from the rollout and continue (invariant #2, recoverable). When set, the task argument may be a follow-up instruction. |
-c, --continue |
Continue the most recent session in this repo (like claude --continue). |
--sessions |
List sessions in this repo (id, turns, model, cost, title) and exit. |
--limit <N> |
How many sessions --sessions lists. Defaults to one page (200); the machine document keeps its published page ceiling and reports truncated instead. |
--session-cursor <TOKEN> |
Opaque continuation token returned by a prior session_list_page. |
--session-limit <SESSION_LIMIT> |
Maximum session rows in one machine page. |
--agent-definition-tag <TAG> |
Bounded immutable grouping metadata for a fresh run, or an exact filter for --sessions. |
--transcript <RUN_ID> |
Read one session's transcript and exit. Pair with --output-format json for the machine document; a client should never open a file under .iteron/runs itself. |
--otel-export <RUN_ID> |
Project one session into its OTel export payload and print it, without sending anything anywhere (#105). The offline half of the exporter: same projection the live sink ships, so an operator can see exactly what would leave the machine before enabling it. |
--transcript-cursor <TOKEN> |
Opaque continuation token returned by a prior session_transcript_page. |
--timeline <RUN_ID> |
Read one session's latency timeline and exit: the per-class effect breakdown, the distribution behind it, and what could not be accounted for. Pair with --output-format json for the machine document. Purely offline -- it reads the hash-verified record and measures nothing itself. |
--fork <FORK> |
Fork a prior run at its tail into a new branch (shared past, divergent future) and print the new run id. The fork is tamper-evident: its genesis pins the parent chain's hash at the fork point (ADR-008 §4), so a later edit to the parent prefix is detected on resume. |
--verify <VERIFY> |
Verification gate: a test command the harness runs itself when the agent claims done. If it fails, "done" is refused and the failure is fed back (don't trust the self-report). e.g. --verify "python3 -m pytest -q". Code execution must remain enabled (the default). |
--verify-preconfined |
Trust an already-attested outer sandbox for --verify and skip Iteron's nested sandbox. DANGEROUS without that outer boundary: this flag does not itself confine filesystem or network access. Timeout, output limits, and credential-environment scrubbing still apply. |
--effort <EFFORT> |
Effort level: low | medium | high | xhigh | max | ultracode. Higher = more model reasoning budget; ultracode additionally exposes model-directed bounded workflows. |
--provider <PROVIDER> |
Provider instance id. Built-ins: anthropic, openai, deepseek, glm, minimax, fireworks. |
--base-url <BASE_URL> |
Trusted one-run OpenAI-compatible API root, including its full path/version prefix. Prefer a named provider in ~/.iteron/config.json for persistent configuration. Requires --key-env. |
--key-env <NAME> |
Environment variable holding the credential for --base-url. Required alongside it: without it a gateway would silently receive the default provider's key. |