The control tower for your CLI coding agents.
Plan with one agent. Delegate to many. Review every change in one terminal.
Website · Documentation · Demos · Quick start · Contributing
spur-dag-aware-multi-agent.webm
Watch the 85-second WebM demo — a brain plans the work, parallel agents execute it, and SpurCode brings every result back to one review lane.
Running one coding agent is simple. Running several across vendors, repositories, and worktrees quickly becomes an operations problem.
SpurCode is a Rust-native terminal application that sits above the agents you already use. It turns a task or issue into a durable plan, delegates work into isolated git worktrees, streams progress into one TUI, and keeps a human in control of every change that reaches the staging branch.
| You need | SpurCode gives you |
|---|---|
| One place to operate a mixed agent fleet | Claude Code, Codex, Gemini, Kimi, OpenCode, Kiro (partial), and generic ACP agents behind one interface |
| Safe parallel execution | One isolated git worktree per worker, with liveness checks and orphan cleanup |
| Review before integration | Approve, reject, modify, or retry every worker result from a shared review lane |
| Predictable merge order | DAG-aware plans and topological cherry-pick onto a staging branch |
| Durable sessions | Event replay, persisted plans, and content-addressed outcomes that survive restarts |
| Cross-vendor visibility | A unified cost ledger and analytics across supported agent CLIs |
| Code-aware delegation | A tree-sitter code graph with stable symbol identities and incremental rebuilds |
| Review away from the terminal | An optional Telegram frontend backed by the same orchestration state machine |
Eight focused capability demos — plus the featured walkthrough above — cover the full SpurCode workflow in under nine minutes. Follow them in order for a guided tour, or jump directly to the capability you need.
spur-install-and-init.webm
Watch the 1:10 WebM demo
— install the npm package, let spur init discover agent and PM tools, choose a brain, review permission settings, and launch the TUI.
spur-help-and-shortcuts.webm
Watch the 8-second WebM demo — open the built-in help, understand navigation and compose modes, and learn the shortcuts for panels, lineage, review, and session control.
spur-session-navigation.webm
Watch the 13-second WebM demo — open the session picker, return to prior work, inspect lineage, and use the universal command palette without leaving the keyboard.
spur-tui-tour.webm
Watch the 36-second WebM demo — move through the command palette, lineage and worker views, sprint browser, plan inspector, and the task detail surfaces used during real work.
spur-live-delegation.webm
Watch the 1:26 WebM demo — watch a brain dispatch complementary reviews to multiple vendors, follow each worker in real time, and keep the active fleet visible in one terminal.
spur-kiro-brain-multi-agent.webm
Watch the 1:59 WebM demo — run Kiro as the orchestrator while Gemini, Kimi, and Codex inspect the same code from distinct angles, then bring their outcomes back for consolidation.
spur-graph-explore-code.webm
Watch the 33-second WebM demo
— resolve current source, follow consumers, and assemble a concrete impact model from graph-backed evidence. The spur-graph guide covers the underlying pipeline and query surface.
spur-tui-solver.webm
Watch the 67-second WebM demo
— translate a real engineering question into constraints, return concrete sat models, and separate correctness gaps from explicit design limits. The spur-solver guide explains the model-finding loop.
DAG-aware planning and integration · 1:25. The featured demo above shows staged dependencies, parallel branches, plan inspection, and convergence into one review flow.
You need Git and at least one supported coding-agent CLI installed and authenticated.
npm install -g @getspur/spur-cli
cd your-project
spur init
spurspur init discovers available agents and creates the project configuration under .spur/. Once the TUI opens, enter a task directly or select one from your project-management integration.
Validate the generated configuration at any time:
spur config checkPrefer not to install globally? Run SpurCode through npm:
npx @getspur/spur-cli tuiBuilding from source? Clone the repository and run cargo xtask install — see Development.
flowchart LR
task["Task or issue"] --> brain["Brain agent"]
brain --> plan["DAG plan"]
plan --> worktrees["Isolated worktrees"]
worktrees --> worker1["Worker A"]
worktrees --> worker2["Worker B"]
worktrees --> worker3["Worker C"]
worker1 --> review["Review lane"]
worker2 --> review
worker3 --> review
review --> staging["DAG-ordered staging branch"]
- The brain reasons about the task, chooses workers, and submits a plan.
- Workers execute bounded subtasks concurrently in isolated worktrees.
- SpurCode records lineage, events, outcomes, and cost while work is running.
- The review lane keeps integration human-controlled; rejected work can retry with your feedback.
- Approved commits land on a staging branch in dependency order.
SpurCode speaks Agent Client Protocol to agents and exposes delegation tools over MCP. It coordinates agents; it does not replace their in-session experience.
- Cross-vendor brain switching. Move orchestration between vendors when a model rate-limits or a different agent is a better fit.
- Parallel and DAG-aware delegation. Dispatch independent work concurrently while preserving dependency order.
- Structured review and retry. Every completion becomes a reviewable result with bounded Reflexion-style retries.
- Local-first durability. Plans, events, and outcomes remain inspectable on disk and recover after interruptions.
- Unified analytics. Read supported vendors' local session data into one DuckDB-backed cost and usage view.
- Plan mutation. Split, replace, or amend work while a plan is in flight.
- Multi-brain safety. Ownership and session checks prevent two orchestrators from mutating the same plan accidentally.
- Code-graph context. Stable symbol IDs, call edges, documentation sections, and incremental indexing support code-aware retrieval.
SpurCode is an orchestration and review layer for a fleet of coding agents.
It is not an IDE, chat client, CI/CD system, or fully autonomous “set and forget” engineer. The review gate is intentional. SpurCode works alongside your editor, project-management tool, and agent subscriptions rather than replacing them.
Native project-management support currently covers beads and GitHub Issues through gh.
Configuration lives in .spur/config.toml. Agent entries describe the executable, transport, role, permissions, cost tier, and delegation hints used by the brain when routing work.
- Start with
spur init. - Browse the example configuration.
- Read the configuration guide.
| Guide | What it covers |
|---|---|
| Getting started | Installation, initialization, and the first task |
| Configuration | Per-repository agent and runtime settings |
| Privacy | Telemetry tiers, retention, and opt-out controls |
| OSS boundary | What belongs in the public product repository |
| Changelog | Unreleased and shipped changes |
| Security policy | How to report vulnerabilities privately |
| Code of conduct | Community standards for participation |
SpurCode targets Rust 1.88 or later. The workspace defines a cargo xtask alias (.cargo/config.toml) that runs the repository helper for common tasks.
Compile a source checkout and install the spur binary with its bundled skill catalog:
git clone https://github.com/getspur/SpurCode.git spur
cd spur
cargo xtask install # release build; on macOS use --local (see below)
cargo xtask install --local # build on this machine with plain cargo
cargo xtask install --debug # debug build for local iterationOn Linux, cargo xtask install builds locally by default. On macOS the default compiles on the project's remote build VM; contributors without that infrastructure should pass --local.
The install step places:
- the
spurbinary in$CARGO_HOME/bin(onPATHwith a standard rustup setup) - the bundled skill catalog in
$CARGO_HOME/share/spur/skills
Arguments after the flags are forwarded to cargo, e.g. cargo xtask install -- --features disable-notebook-mcp. Run cargo xtask help for the full surface, including --remote Linux builds and the dist cross-platform release packaging.
The optional notebook frontend is developed separately in getspur/spur-notebook; a source build of SpurCode does not bundle it.
Use the workspace wrapper for Rust commands:
scripts/spur-cargo build --workspace
scripts/spur-cargo test --workspace
scripts/spur-cargo clippy --workspace -- -D warnings
scripts/spur-cargo fmt --allSee CONTRIBUTING.md for test tiers and contribution conventions.
Workspace map
| Crate | Responsibility |
|---|---|
spur-cli |
Binary entry point and CLI commands |
spur-core |
Orchestration, review, lineage, and the event pipeline |
spur-acp |
ACP clients, transports, capabilities, and event types |
spur-tui |
The ratatui terminal interface |
spur-mcp |
Delegation tools exposed to brain agents |
spur-context |
DuckDB analytics and agent-log extractors |
spur-cost |
Pricing registry and session ledger |
spur-graph |
Tree-sitter code graph and stable symbol identities |
spur-analyst |
DuckDB-backed graph and documentation analysis |
spur-worktree |
Worktree isolation, liveness, and cleanup |
spur-pm |
Project-management adapters |
spur-interactive |
Frontend bridge for non-TUI clients |
spur-bot |
Telegram frontend |
spur-blob-store |
Content-addressed delegation outcomes |
spur-license / spur-license-admin |
License and feature-key registry |
Tier 1 crash diagnostics and performance telemetry are on by default; Tier 2 usage telemetry is opt-in.
Disable telemetry for one run:
SPUR_TELEMETRY=0 spurOr disable it persistently:
spur telemetry disable allSee the privacy documentation for collected fields, retention, and deletion steps.
Issues, feature requests, and pull requests are welcome. Start with CONTRIBUTING.md, open a GitHub issue, or send product feedback through getspur.dev/feedback. Security reports go through the private reporting channel.
SpurCode is licensed under the GNU General Public License v3.0 only (GPL-3.0-only). The Community tier requires no license key; paid feature entitlements are separate from the source license.