| title | Getting Started |
|---|
Wavemill is designed to be run primarily through wavemill mill. The other commands help you prepare work, inspect results, or step in manually when needed.
- Node.js 18+
- npm
tmuxjq- Linear API key (
LINEAR_API_KEY) - Optional: GitHub CLI (
gh)
git clone https://github.com/timogilvie/wavemill/ wavemill
cd wavemill
./install.sh
wavemill helpexport LINEAR_API_KEY="your-key-here"Add that export to your shell profile for persistence.
In the target project repo:
wavemill initThis creates a comprehensive .wavemill-config.json with all available sections:
- linear: Project name for backlog queries
- mill: Continuous execution settings (parallelism, agent, worktree root)
- expand: Batch expansion settings
- plan: Epic decomposition settings
- eval: LLM evaluation with judge model, pricing, and intervention penalties
- autoEval: Auto-run eval after workflow completion
- review: Self-review loop configuration
- router: Model routing based on historical eval data
- validation: Task packet validation layers
- constraints: Constraint rule validation
- ui: UI review and design verification settings
- permissions: Auto-approve patterns for agent tools
Edit .wavemill-config.json and set:
- Linear project name (required)
- Base branch (usually
main) - Parallelism and agent defaults as needed
- Enable/disable features like autoEval, router, review, etc.
Start with the default workflow:
cd <your-project>
wavemill millWhat happens next:
- Wavemill reads the configured backlog
- expands thin tasks when needed
- routes work to the best available models
- launches parallel worktrees and agents
- evaluates outcomes so future routing improves
If you want routing to benefit from collective intelligence in addition to your own local history:
wavemill hokusai enableHokusai is optional. Wavemill still improves from your own repository data without it.
The config includes a configVersion field to track format compatibility. When running wavemill mill, expand, or plan, you'll be prompted to upgrade if your config is outdated.
To manually upgrade:
npx tsx tools/sync-config.tsTo skip version checks:
SKIP_CONFIG_CHECK=true wavemill mill- For the default operating model: Mill Mode
- For the routing and learning loop: Routing & Hokusai
- For every available command: CLI Reference
- Mill Mode — autonomous parallel backlog processing
- Routing & Hokusai — how Wavemill gets better over time
- CLI Reference — full command surface
- Plan Mode — decompose epics into well-scoped sub-issues
- Expand Mode — batch expand issues into task packets
- Eval Mode — evaluate LLM performance on workflows
- Troubleshooting — common issues and fixes