Ox-Agent CLI
ox-agent version Show the installed binary versionox-agent init [--repair|--sync|--integrate] Materialize or repair .ox-agent/ox-agent integrate Wire AGENTS.md + .agents/.claude linksox-agent doctor [--fix] Validate the local Ox-Agent setupox-agent start <title> Create a work itemox-agent status [work-item] List or inspect work itemsox-agent transition <wi> <state> Move along a legal lifecycle edgeox-agent advance <wi> Advance to the next profile stageox-agent archive|unblock <wi> Terminal archive / clear a blockerox-agent run <wi>|pending Dispatch stage skills; list awaiting outputox-agent run collect <run-id> Validate and apply a run's outputox-agent review <wi> / ship <wi> Pipeline shortcutsox-agent input request|list|respond|wait|cancel Durable human-input requestsox-agent discuss open|list|show|add|summarize|close Hash-chained discussion threadsox-agent events [work-item] Journal viewerox-agent state replay|explain Fold or narrate the event journalox-agent context index|compile Context index and packetsox-agent skills list|check|update Inspect and repair the skill setox-agent skills install|uninstall Remote skills pinned to a commit SHAox-agent eval <skill> [--emit] Score skill eval casesox-agent update [--check|--version v|--binary-only] Self-update binary (+ .ox-agent assets)ox-agent completion <shell> Shell completion scriptox-agent uninstall --yes Remove the binaryrun dispatches the stage-mapped skill through a configured harness
adapter. manual prints packet and output paths for any agent,
spawn-cli executes a command template, and webhook POSTs the packet to
an HTTP(S) endpoint. run collect is the contract boundary: output must
match the skill’s schemas/output.schema.json or the run is marked
failed, and the recorded next_action (advance_stage, retry,
escalate, await_input, complete) decides what happens next.
A run ends in one of three statuses:
collected: the output was applied. Collected runs count toward skill selection, stage completion, and pipeline progress.retry: the output signalled unfinished work (verdict: needs_rework,next_action.type: retry, or anawait_inputrequest). The skill stays dispatchable;await_inputleaves the work item in place and records the filed request on the run.failed: schema validation failed or the skill reportedstatus: failed.
Completion checks use only the latest run per skill or pipeline step: a collected run superseded by a newer retry no longer counts, so the skill is re-selected after the item is unblocked.
Harness adapters
Section titled “Harness adapters”A spawn-cli integration shells a command template. {packet},
{output}, and {run_dir} expand to paths under the run directory, and
the command runs with the project root as working directory:
schema_version: 1name: myagentadapter: spawn-clicommand: "myagent run --packet {packet} --write-output {output}"timeout_seconds: 600A webhook integration POSTs the packet JSON to an HTTP(S) endpoint. In
async mode (default) a 2xx acknowledgement leaves the run pending and
the remote harness writes output.json back through the same file
contract; in sync mode a non-empty 2xx response body is stored as
output.json. A bearer token comes from the environment variable named
by token_env, never from the yaml:
schema_version: 1name: fleetadapter: webhookendpoint: https://agents.internal/ox-agent/dispatchmode: asynctoken_env: FLEET_TOKENtimeout_seconds: 60The flag-level reference is docs/cli.md in the repository, alongside getting-started.md. The model these commands serve is covered under Architecture.