Orchestrate multi-agent workstreams from a YAML or JSON manifest. The swarm engine handles dependency resolution, file-lock isolation, write-scope conflict detection, and agent subprocess lifecycle management.
Subcommand Description start --manifest <path>Parse a manifest and dispatch agent subprocesses statusShow active agents and workstream status
Option Required Description --manifest <path>Yes Path to YAML or JSON swarm manifest file
name : " Implement Auth Module "
exit : [ " tests pass " , " no lint errors " ]
Manifest parsing — validates workstream definitions and agent pool
Isolation check — detects write-scope overlaps between concurrent workstreams
Dependency resolution — uses the Dispatcher to order workstreams by depends graph
File locking — acquires exclusive locks on each workstream’s scoped files
Agent spawning — launches subprocess per assignment with environment context (ACTX_WORKSTREAM, ACTX_ROLE, ACTX_PHASE, ACTX_SCOPE, ACTX_GIT_BRANCH)
Completion tracking — monitors exit codes and releases locks on completion
Code Meaning MANIFEST_NOT_FOUNDManifest file does not exist MANIFEST_PARSE_ERRORYAML/JSON syntax error MANIFEST_INVALIDMissing required fields (id, name, role) NO_WORKSTREAMSNo workstreams defined or all are blocked ISOLATION_CONFLICTTwo or more workstreams have overlapping write scopes LOCK_CONFLICTFile lock already held by another agent SPAWN_FAILEDAgent subprocess failed to start