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 --task-id <id> --vendor <vendor> --brief <text> [--model <id>] [--role <role>] [--json]
muon dispatch status --job-id <id> line to follow it; --json prints the raw job record instead. With no --model, MUON picks its model for the role unless the agent's settings or the task's harness name one; a task that a routine runs uses only its routine's model, or none if the routine pins none. --model default skips MUON's pick: the model named in the agent's settings or the task's harness applies, and if neither names one, the agent's own default does.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|kiro> [--scope user|project] [--mode observer] [--dry-run] [--force]
.kiro/settings/mcp.json. For Kiro, install runs the setup check first and refuses on a blocking problem; --force installs anyway.muon kiro doctor [--workspace <dir>] [--json]
--agent-engine v2, API key or login, IAM Identity Center profile, models, the folder's .kiro files, and Kiro seats. Each problem comes with the exact fix. Runs without starting MUON. See Set up Kiro.muon mcp status [--scope <scope>] [--json]
muon mcp uninstall <vendor>
muon mcp attach <claude|codex|kiro> / 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