# Commands Reference 53 commands across 12 domains. Run `sage help` or `sage --help` for inline reference. ``` AGENTS init [--force] Initialize ~/.sage/ demo [--clean] Scaffold a 3-agent fan-out demo create [flags] Create agent (--runtime R, --agent A, --model M) start [name|--all] Start in tmux stop [name|--all] Stop (kills process group) restart [name|--all] Restart status [--json] Tree view of agents ls List agents (-l, --json, --running, --stopped, --runtime, --sort) info Show full agent configuration and status rename Rename an agent clone Duplicate config (no state) diff [--stat] Git changes in agent worktree(s) merge [--dry-run] Merge worktree branch back to parent export [--output f] Archive as tar.gz (or --format json) rm Remove agent clean Remove stale files MESSAGING & TASKS send [flags] Fire-and-forget (--force, --then for chains, --fallback for vendor failover) call [secs] Synchronous request/response tasks [name] List tasks (--json, --status) runs List active runs result Get task result replay [task-id] Re-send a previous task wait Wait for completion (--timeout N) peek [--lines N] Live tmux pane + workspace view steer [--restart] Course-correct a running agent inbox [--json] [--clear] Messages sent TO the CLI PLAN ORCHESTRATOR plan Decompose a goal into dependency waves plan --pattern

Swarm pattern: fan-out | pipeline | debate | map-reduce plan --run Execute a saved plan plan --resume Resume from failure point plan --recover Detect and resume interrupted plans plan --validate Validate YAML/JSON without executing plan --list Show saved plans TASK TEMPLATES task --list Show available templates (review, test, spec, debug, ...) task