Skip to content

CLI Commands

Examples use the commander binary (available after building @commander/core).
From a source checkout without a build, replace commander with:

bash
npx tsx packages/core/src/cliEntry.ts

Task Execution

CommandDescription
commander <task>Quick task analysis
commander run <task>Full multi-agent execution pipeline
commander plan <task>Show deliberation plan (topology, agents, budget)
commander run <task> --streamExecute with real-time SSE event stream
commander run --file <tasks.json>Batch process multiple tasks
commander swarm <task>Recursive decomposition with parallel execution
commander drive <task>Autonomous step-by-step execution
commander goal <task>Multi-round convergence loop
commander company <task>Enterprise pipeline with quality gates and memory

Interface

CommandDescription
commander guiAgent War Room dashboard (React + API server)
commander tuiTerminal dashboard with live event feed
commander webStart web interface

Analysis & Planning

CommandDescription
commander review [--commit|--base|--json]Code review with guidelines (P0-P3 findings)
commander workers [topics]Parallel research workers
commander statusSystem status, provider, MetaLearner stats
commander costCost analysis and breakdown

Configuration

CommandDescription
commander mode [mode]Set approval mode (plan/read-only/auto-edit/full-auto/suggest)
commander configView or change settings
commander doctorRun diagnostics
commander budgetToken budget management
commander --debugEnable verbose logging across all 74+ modules

Skills

CommandDescription
commander skill listList all available skills
commander skill view <name>View skill content
commander skill create <name>Create a new skill
commander skill pin <name>Pin a skill (always loaded)

Session Management

CommandDescription
commander historyView session history
commander history view <id>View specific session
commander history pruneRemove old sessions
commander history delete <id>Delete a session
commander shareShare a session link

Saga & Recovery

CommandDescription
commander sagaSaga transaction operations
commander checkpointCheckpoint operations
commander compensationCompensation registry operations
commander resumeResume a paused or interrupted run
commander undoUndo last operation via compensation

Advanced

CommandDescription
commander connectConnect to providers
commander plan --topology <name>Force specific topology
commander run --agent-count <n>Override agent count
commander plugin enable <name>Enable a plugin (e.g., rag)
commander plugin disable <name>Disable a plugin
commander intelligenceView intelligence metrics and patterns

Approval Modes

ModeBehavior
planShow plan only, no execution
read-onlyRead files, no edits
auto-editAutomatic edits without approval
full-autoFully autonomous operation
suggestSuggest changes, wait for approval
bash
# Set mode globally
export COMMANDER_MODE=auto-edit

# Or at runtime (from monorepo source)
npx tsx packages/core/src/cliEntry.ts mode plan

# After building @commander/core
commander mode plan

MIT Licensed — Built for multi-agent orchestration.