Skip to content

CLI

This page reflects the current source CLI at the time the docs were written. Run axis --help on the installed version before scripting: the installed help is the authority for available commands, flags, and defaults.

The same session retains validation and exact change evidence instead of asking you to trust a completion claim.

Real Axis UI with deliberately seeded, privacy-safe demonstration content.

Terminal window
axis <command> [subcommand] [options]

Current global options:

Option Job
--json, -j Request machine-readable output where supported
--url <url> Target a specific Axis server
--help, -h Show installed help

The current source defaults to AXIS_URL or http://localhost:3000. Remote and packaged installations may use HTTPS or another configured endpoint; do not paste private node addresses into shared scripts or docs.

Terminal window
axis health
axis pulse
axis agents
axis stats
axis sessions --active
axis projects
axis tasks

Use --json when another tool needs structured results:

Terminal window
axis pulse --json
axis tasks info <task-id> --json

A transport success proves only that the command reached Axis. For writes and external side effects, verify the intended destination state separately.

Terminal window
axis search "login regression"
axis search "project:my-app model:claude"
axis sessions search "migration"

Current top-level search help lists operators including project:, model:, role:, cost:>, cost:<, from:, to:, and tokens:>. Verify semantics against installed help before building durable automation.

Terminal window
axis sessions
axis sessions info <session-id>
axis sessions send <session-id> "Review the latest evidence."
axis sessions pause <session-id>
axis sessions resume <session-id>
axis sessions stop <session-id>

Lower-level Pi session commands include current-session discovery, message/tree/context inspection, exact PTY lookup, scrollback, and send. Use the full exact session identity. Never substitute “newest session in this directory” for a requested target.

Terminal window
axis session current
axis session show <id|file|current>
axis session messages <ref> --compact
axis session tree <ref>
axis session context <ref>
axis session pty <ref>

Sending, pausing, resuming, stopping, terminal writes, and kills mutate live work. Inspect the target first and preserve unsent or active work.

Current project commands list, inspect, create, connect, archive, unarchive, and rename. Task commands list, inspect, move, and delete task records.

Terminal window
axis projects info <path>
axis projects connect <path>
axis projects archive <path>
axis tasks <project-path> --status <status>
axis tasks move <task-id> <status>

Archiving a project is not deleting its directory. tasks delete is destructive to the task record; inspect and confirm the exact target before using it.

Terminal window
axis terminal list
axis terminal read <id> --lines 20
axis servers status <project>
axis servers scripts <project>
axis service
axis service logs axis --lines 100

Write/kill/start/stop/restart commands can interrupt active work. Read current state and confirm ownership before mutation. Restarting the terminal-owning service has a different impact from restarting the Axis server.

Terminal window
axis peers
axis config
axis version

These outputs may contain private host, peer, path, or configuration information. Redact before sharing.

A claim that this lists “every command” is safe only when generated from and versioned with the shipped CLI. Until that generation pipeline exists, use this as a job-oriented map and the installed axis --help as exact truth.