Flight Manual · 07
Run a team of agents
Put multiple agents on the same repo at once. Each teammate gets its own git worktree so they never collide on disk, passing notes on a shared board.
Control platoons from the CLI with blackbird platoon, or inspect the live board inside an interactive session with /platoon.
1. Lease a worktree
blackbird platoon lease-acquire \
--repo ~/code/app \
--leases ~/code/app-leases \
--id builder --branch team/builder
Creates a worktree on a fresh branch and prints its directory path. Repeat once per teammate.
2. Spawn an agent
blackbird platoon spawn --board ~/code/app-board \
--id builder --role builder \
--provider openai --model gpt-6.1-sol --effort low \
--executable ~/.local/lib/blackbird/current/bin/blackbird \
--working-dir ~/code/app-leases/builder \
--wait-ms 300000 \
--prompt "Add a --shout option to greet.sh, test it, and commit. Then run:
blackbird platoon post --board ~/code/app-board --from builder --to all
--kind handoff --text 'what you did and the commit hash'"
spawn starts one agent on one task, registers it on the board, waits up to --wait-ms (default 30 seconds), stops it if still running, and prints a JSON summary containing the tail of its output. --executable always takes an absolute path.
3. Coordinate on the board
blackbird platoon read --board ~/code/app-board
blackbird platoon post --board ~/code/app-board --from you --to builder \
--kind message --text "Nice. Can --shout work as the second argument too?"
blackbird platoon members --board ~/code/app-board
Messages target --to all or a single agent ID, and carry one of eight kinds: brief, message, handoff, blocker, decision, artifact, review, or status.
4. Mix in Claude Code
Choose --driver claude_code and point --executable at claude. It uses your existing Claude Code login; headless Claude Code only runs shell commands you explicitly allow via --extra-arg:
blackbird platoon spawn --board ~/code/app-board \
--id reviewer --role reviewer \
--driver claude_code --provider anthropic --model sonnet \
--executable "$(command -v claude)" \
--working-dir ~/code/app-leases/reviewer \
--extra-arg --allowedTools \
--extra-arg "Bash(git -C ~/code/app show:*) Bash(blackbird platoon:*)" \
--wait-ms 300000 \
--prompt "Read the board with: blackbird platoon read --board ~/code/app-board
Review the builder's commit with: git -C ~/code/app show team/builder
Post your review with: blackbird platoon post --board ~/code/app-board
--from reviewer --to builder --kind review --text 'your review'"
Verified vs. wired drivers
In an end-to-end run, a Blackbird builder on OpenAI implemented and committed a change while a Claude Code reviewer on Sonnet read the board, inspected the commit, and posted its review back.
Drivers for Codex, Pi, Antigravity, and Agent Client Protocol (--driver codex, pi, antigravity, acp) are also wired in; blackbird and claude_code are the two verified end-to-end.
5. Release the worktree
blackbird platoon lease-release --repo ~/code/app --leases ~/code/app-leases --id builder
Removes the worktree directory while preserving the branch and its commits for merging. Refuses to release a worktree with uncommitted changes. Teammates run under your user account with full shell access (how it runs on your machine).