Getting Started
Fleet turns your idle machines into a coordinated AI coding workforce. Here’s how to start.
See it first (30 seconds)
Section titled “See it first (30 seconds)”Before setting anything up, run the demo — no repo, no agents, no network required:
npx fleetspark demoThis simulates a complete 4-mission fleet run so you can see exactly how planning, ship assignment, parallel execution, and auto-merge work.
Or preview a specific template before running it for real:
npx fleetspark run --template drsti-dev-flow --simulatenpx fleetspark run --template test-coverage --simulate--simulate shows the full terminal experience — mission headers, gate checks, branch summary — without touching your repo or needing any agent installed.
Prerequisites
Section titled “Prerequisites”- Node.js 18+ on every machine
- Git with push access to the same GitHub repository
- A coding agent installed on each machine (Claude Code, Codex, Aider, OpenCode, Gemini CLI, Cursor, Amp, or any A2A-compatible agent)
Initialize your repo
Section titled “Initialize your repo”On the machine that will be your commander:
cd your-projectnpx fleetspark initThis creates .fleet/config.yml and the fleet/state branch with an empty FLEET.md.
Plan your work
Section titled “Plan your work”# Use an LLM to decompose a natural language goalnpx fleetspark command --plan "Add OAuth login, fix the rate limiter, update API docs"
# Use a built-in template (no API key needed)npx fleetspark command --template test-coverage
# Load a pre-defined YAML plannpx fleetspark command --plan-file missions.ymlThe commander decomposes your goal into independent missions with dependencies, creates branches, and writes the plan to FLEET.md. Templates give you a ready-to-run plan with no LLM required — see Mission Templates for all six built-in options.
Join the fleet
Section titled “Join the fleet”On any other machine:
npx fleetspark ship --join git@github.com:you/your-project.gitThe ship clones the repo, reads its assigned mission from FLEET.md, starts the coding agent, and begins pushing heartbeats every 60 seconds.
Watch progress
Section titled “Watch progress”# Interactive terminal dashboardnpx fleetspark dashboard
# Simple text outputnpx fleetspark status --watch
# Machine-readable JSONnpx fleetspark status --jsonThe dashboard shows every ship’s status, health, progress, merge queue, and blockers — updated in real time.
What happens next
Section titled “What happens next”- Each ship works on its own branch, pushing progress every 60 seconds
- The commander monitors heartbeats, detects stalled ships, and handles failures
- Completed missions enter the merge queue — conflict detection runs, CI checks pass
- PRs are created automatically and auto-merged when clean
- Dependent missions are unblocked and dispatched to the next available ship
- You wake up to merged code — or PRs waiting for your approval
Configuration
Section titled “Configuration”Fleet is configured via .fleet/config.yml. See the Configuration reference for all options, including:
- Agent selection per ship (Claude Code, Codex, Aider, OpenCode, Gemini CLI, Cursor, Amp, A2A)
- Shadow dispatch for stalled ship recovery
- Webhook notifications (Slack, custom)
- Resource limits (per-ship concurrency, mission timeouts)
After a run
Section titled “After a run”Generate a markdown summary of what happened:
npx fleetspark reportIncludes mission outcomes, timing, ships used, and an estimate of how much time running in parallel saved vs. sequential execution.
Next steps
Section titled “Next steps”- Mission Templates — start a fleet without writing a plan
- GitHub Action — run Fleet in CI without extra machines
- Architecture — understand how Fleet works under the hood
- Adapters — which coding agents are supported
- CLI Reference — all available commands
- FAQ — common questions answered