Skip to content

Commands Overview

swarm [command] [options] "<prompt>"
OptionDescription
-v, --verboseEnable verbose streaming output
-e, --editorOpen interactive text editor for the prompt
-p, --plan <file>Use a plan file as input
-f, --file <file>Read prompt from a file
-r, --resumeResume from the last checkpoint
--run <runId>Specify which run to review/digest
--session <id>Use a specific session
--no-tuiDisable TUI dashboard
--auto-modelAuto-select model per task based on complexity
--verify-build <cmd>Shell command to verify the build
--verify-test <cmd>Shell command to run tests
--verify-lint <cmd>Shell command to run linting
-V, --versionShow version number
-h, --helpShow help message

The task description can be provided in multiple ways (first match wins):

SourceExample
--plan <file>swarm --plan .swarm/plans/plan-latest.md
--file <file>swarm -f requirements.md
--editorswarm -e
Inline textswarm "Add dark mode"
GitHub issueswarm "gh:owner/repo#123"
GitHub issue (current repo)swarm "gh:#42"
GitHub issue (URL)swarm "https://github.com/owner/repo/issues/123"
ISSUE_BODY env varISSUE_BODY="Add dark mode" swarm