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>]
--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]
muon dispatch interrupt --job-id <id>
muon dispatch steer --job-id <id> --message <text>
muon dispatch raise --job-id <id> --pool-ms <ms>
Fleet and agents
muon agents [--json] [--refresh]
muon fleet [--json]
muon fleet set --claude-code <n> --codex <n> --cursor <n> --opencode <n>
muon fleet agents [--json]
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>
--task-id, --lane-id, --module, --symbol or --topic.muon memory search <query...> [--filter <json>]
muon memory library [--q] [--status] [--confirmed] [--kind] [--trust]
muon memory recall [--task-id] [--lane-id] [--module] [--topic]
muon memory review [--auto] [--from-pack]
muon memory confirm --note-id <id> / muon memory reject --note-id <id>
muon memory pack export --out <dir> | import <store> | sync <store>
MCP server registration
muon mcp install <claude|codex|cursor|opencode> [--scope user|project] [--mode observer] [--dry-run]
muon mcp status [--scope <scope>] [--json]
muon mcp uninstall <vendor>
muon mcp attach <claude|codex> / muon mcp detach <vendor>
Diagnostics and lifecycle
muon doctor [--json]
muon version
muon onboard
muon quickstart [--workspace <dir>]
muon context <target> [--view-proposal <noteId>]
muon approve list | review --approval-id <id> | resolve --approval-id <id> --status approved|rejected
muon shutdown