axon

The binary dispatches on its first argument.

axon                                     # opens the TUI
axon <verb> [...]                        # a command — dev, publish, deploy, …
axon . -p "what changed in the commit?"  # an agent reference — give it work

The last form is the fastest path to a model: a quoted string, no prompt file, no config.

Dispatch

First argumentMode
(none)Opens the terminal UI
A terminal flagOpens the terminal UI with that option
A known verbRuns that command
Anything elseTreated as an agent reference

Anything else flag-shaped is a mistake and is reported as one. A typo must not open a full-screen UI over itself — axon --contnue says the flag does not exist rather than quietly starting a fresh session.

Terminal flags

Options for the terminal itself, rather than commands. They take no arguments.

FlagDescription
--continueOpen on the newest conversation instead of starting a fresh one. Falls through to a normal boot when there is nothing to continue

Reference forms

ShapeExampleResolves to
Path., ./agents/zeno, ~/work/zenoThat directory
Package@cody/zenoThe installed copy, else fetched from the registry
URLhttp://localhost:3011A running agent, over the wire

A bare word (zeno) is not a reference — it is indistinguishable from a mistyped verb, so axon depoy reports an unknown command. Use ./zeno or @scope/zeno.

Options

Apply to the reference form. Verbs document their own.

FlagDefaultDescription
-p, --promptA literal instruction, used verbatim. Repeats compose
-PA prompt the agent declares, resolved and rendered
-s, --scriptOne of the agent's own scripts
-a, --attachfalseOpen the terminal when the work finishes. Implied when there is no instruction
--contextExtra context for the turn
--jobTag the run with the job it belongs to
--jsonfalseOne line of JSON on stdout and nothing else — { text, sessionId }, or { error } on failure
--parentThe session this run is a child of. Nests it in the agent tree and ties its lifetime to the parent's

Global

FlagDescription
--version, -vPrint the version
--help, -h, helpThe man page
--quiet, -qNo progress, even on a terminal

See axon <agent> for the reference form in full.