The current autoctx operational surfaces, the runtime that serves each one, and representative flags.
Last updated Aug 26, 2026
The Runtime column shows where a command is implemented: both runtimes, py for the Python package only, or ts for the TypeScript package only. This reference covers the supported operational surfaces; large command groups have additional subcommands and flags. Run autoctx <command> --help for the installed package's exact parser. Python's autoctx commands --all includes advanced commands and compatibility aliases that its concise default help omits.
Commands that call a model need a provider; set AUTOCONTEXT_AGENT_PROVIDER before invoking them. Inspect, export, auth, and configuration commands generally do not. See CLI overview for the invocation model and providers for the runtime-specific provider matrix.
Run the generation loop for a scenario. Python requires an explicit scenario and preflights configured OpenAI-compatible endpoints; npm may use a project default.
Show the latest, best, or selected generation for a run. Python also surfaces evaluator lineage and active re-score revisions.
both
<run-id> or --run-id, --best, --generation, --json
watch
Follow a run until its final completed generation is visible.
both
<run-id> or --run-id, --interval, --ndjson; --json is deprecated
list
List recent runs.
both
--json
benchmark
Run a scenario multiple times and aggregate stats.
both
--scenario, --runs
runtime-sessions
Inspect recorded runtime sessions.
ts
--json
status --json and show --json each write one versioned, schema-backed value. watch --ndjson streams the same run-status-v1 envelope one value per line. For the shared contract-v2 surface, success data goes to stdout, structured errors go to stderr, and exit codes are 0 for success, 2 for invalid usage, and 1 for execution failure.
List candidate, active, and disabled evaluator epochs.
py
--scenario
epoch approve
Approve and activate a candidate epoch, clearing quarantine on its prior scores.
py
<scenario> <epoch-id>, --charter, --by
epoch reject
Record a human rejection while leaving the epoch and its scores quarantined.
py
<scenario> <epoch-id>, --charter, --by
rescore
Re-run the current evaluator against stale original artifacts. Report-only by default; --apply appends an audit revision without replacing the live score.
py
<run-id>, --generation, --apply, --by, --json
Python show and status include active_evaluator_epoch plus per-generation evaluator_epoch, evaluator_epoch_status, and quarantined. They also show the latest active-epoch revision as has_active_revision, revised_score, revised_by, and revised_at; the original live score remains the score of record.
Run contract probes against observed harness state.
both
probes extract
Extract a probe suite from an observed harness trace.
both
trace and output paths
production-traces
Ingest, list, show, export, and manage production traces.
ts
subcommands
instrument
Scan a repo for LLM clients and propose autocontext wrappers.
ts
repo path
trace-findings
Extract structured findings from a public trace JSON file. Python's stored-trace equivalent is analytics trace-findings.
ts
trace file path
context-selection
Inspect persisted context-selection telemetry. Python's equivalent is analytics context-selection.
ts
command-specific filters
commands
List the concise Python command set; include advanced commands and compatibility aliases with --all.
py
--all
version
Show the installed version through the npm subcommand. Both runtimes also support global autoctx --version --json.
ts
--json
This table describes the published 0.17.0 core packages. Use the installed
package's autoctx <command> --help as the exact parser authority and see
installation for current pins.