Reference

The muon CLI

Everything the desktop app and TUI do is reachable from muon. The CLI auto-starts the embedded local brain on first use — there is nothing to boot by hand. Run muon <command> --help for the full, current option list.

Global flags

--api-base <url> overrides the local brain's API base; --api-token <token> (or MUON_API_TOKEN) supplies a bearer token. Leave both unset for the normal local flow — the CLI discovers a running brain itself, or spawns one.

Chat with the orchestrator

muon chat [--workspace <dir>] [--chat-id <id>] [--message <text>] [--model <id>]

Talk to the super-orchestrator: it plans, dispatches the fleet and reports — gates stay yours. With no --message it opens an interactive REPL (/quit to exit); with one it sends and exits, so it scripts cleanly. --archive soft-archives the chat (history and audit trail survive); --cancel stops every queued or running job in the chat.

Dispatch control

muon dispatch status [--job-id <id>] [--chat-id <id>] [--json]

One job's status plus its crew budget, or the list of active jobs.

muon dispatch interrupt --job-id <id>

The crew's kill switch — interrupt one running job without killing the runner.

muon dispatch steer --job-id <id> --message <text>

Send a steer message to a running dispatched job.

muon dispatch raise --job-id <id> --pool-ms <ms>

Raise a mission's descendant wall-clock pool — the operator's recourse when a crew exhausts its budget.

Fleet and agents

muon agents [--json] [--refresh]

Discovery table: name, vendor handle, stable id, readiness — then the exact next command for the first actionable row.

muon fleet [--json]

Current fleet counts per vendor and each agent's live status.

muon fleet set --claude-code <n> --codex <n> --cursor <n> --opencode <n>

Resize the fleet per vendor, 0–3 instances each. A resize never kills a working agent.

muon fleet agents [--json]

List fleet agent instances with live status.

Memory

Decisions, constraints, conventions, attempts and questions — every read is fenced to the invoking workspace by default (--workspace <path> to target another).

muon memory add --kind <decision|constraint|convention|attempt|question> --text <text>

Add a note, optionally anchored with --task-id, --lane-id, --module, --symbol or --topic.

muon memory search <query...> [--filter <json>]

Lexical search over notes in the fenced workspace.

muon memory library [--q] [--status] [--confirmed] [--kind] [--trust]

Browse the governed memory library with filters.

muon memory recall [--task-id] [--lane-id] [--module] [--topic]

Recall notes by task, lane, module or topic.

muon memory review [--auto] [--from-pack]

The review queue: notes still unvouched and awaiting a human confirm or reject.

muon memory confirm --note-id <id> / muon memory reject --note-id <id>

Operator-only governance acts — mark a note human-confirmed, or reject it (kept for traceability, hidden from recall).

muon memory pack export --out <dir> | import <store> | sync <store>

Team memory sync over plain files — no MUON cloud. Import stages a teammate's pack as unconfirmed proposals in your review queue. Operator-tier only.

MCP server registration

muon mcp install <claude|codex|cursor|opencode> [--scope user|project] [--mode observer] [--dry-run]

Register MUON's MCP server with your own CLI's config. See the MCP page for what it does and does not grant.

muon mcp status [--scope <scope>] [--json]

Explain the tier a hand-started session would get, and every reason it could be wrong.

muon mcp uninstall <vendor>

Remove exactly the entry MUON wrote; every other server and key stays untouched.

muon mcp attach <claude|codex> / muon mcp detach <vendor>

Mint (or revoke) a governed dispatch seat for a coordinator CLI you run yourself — Claude Code and Codex only.

Diagnostics and lifecycle

muon doctor [--json]

Backend connectivity and lane health. Never rejects — every unreadable source degrades to an honest “unknown” with a reason.

muon version

App version, the indexed code-graph commit, the workspace's actual HEAD, and whether the two disagree (a stale index).

muon onboard

Guided first run: per-vendor installed/authenticated readiness plus the exact fix for any gap.

muon quickstart [--workspace <dir>]

Seed and dispatch a tiny, safe, additive sample task.

muon context <target> [--view-proposal <noteId>]

The pre-edit gate for the terminal: blast-radius fused with governed memory, prior decisions, live cross-agent activity and pending proposals.

muon approve list | review --approval-id <id> | resolve --approval-id <id> --status approved|rejected

The approval queue from the terminal, including the exact artifact digest and REVIEW BLIND file list for merge gates.

muon shutdown

Stop the persistent local brain and runner that CLI commands auto-start.