# Repository Briefing: DecapodLabs/decapod
> Source: https://repoforai.com/repo/DecapodLabs/decapod (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/DecapodLabs/decapod
- **Official Docs / Website**: https://decapodlabs.ai
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Rust
- **License**: MIT
- **Engineering Health**: A+ (88/100 · Maintenance 35/35 · Adoption 13/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.172.4 (2026-12-03) — https://github.com/DecapodLabs/decapod/releases
- **Review Snapshot**: 2026-12-02 (Note: v0.172.4 on 2026-12-03 shipped after this review; verify latest release notes)
- **Deployment / Stack Signals**: CLI, Self-Hosted
- **Momentum**: 242 ★ total (+0 24h / +2 7d) · 26 forks
- **Topics**: `agents`, `ai`, `ai-agents`, `control-plane`, `kernel`, `orchestration`, `rust`, `agent-governance`, `autonomous-engineering`, `coding-agents`, `mcp`, `metacognition`
- **When to Use**: Best for: Git-based teams coordinating several coding agents or handing work across sessions, with explicit task boundaries and reproducible checks. Skip if: A single agent and existing tracker and CI already cover handoffs and acceptance, or you need model serving or a security sandbox rather than workflow governance.

## Overview
```text
### Architecture & Core Mechanics
Decapod is a local-first, daemonless Rust CLI. Cargo defines the binary entry point at `src/main.rs` and the library at `src/decapod/lib.rs`; a compile-time script at `assets/build/compress_constitution.rs` packages the embedded engineering Constitution. Each invocation runs to completion and exits. Durable project context lives under `.decapod/`: `governance.json` records plans, claims, work history, and validation results; `managed/specs/` holds intent and expected behavior; `workspaces/` holds isolated task checkouts.

The local backend uses `.decapod/data/decapod.db`. The optional cloud backend uses Dactyl to share live task custody after repository access is verified. Even in cloud mode, specifications, plans, claims, worktrees, and Git proof remain attached to the repository. `config.toml` defines project and validation settings, and `OVERRIDE.md` adds project-specific guidance. The CLI and agent contract are concrete integration surfaces; the MCP topic alone does not establish a transport, tool schema, or plugin ABI.

### Key Capabilities & Differentiators
Decapod puts a scoped plan before implementation and carries the resulting decisions, source references, and task ownership forward. A coding agent claims the task, checks for overlap, and works in an isolated checkout; a later agent can pick up the same plan and outstanding obligations. Cursor, Claude Code, and Codex are among the named clients. Decapod does not supply a model runtime or replace the coding agent that performs the work.

Validation runs locally by default, with an optional remote Buildkite preflight. Results are associated with the change, and the inspectable proof artifact identifies the source and which required checks actually ran. A failed check or missing required evidence leaves completion unresolved. The Constitution and project overrides guide decisions, but the acceptance record depends on executed checks, not on whether an agent says it followed the guidance.

### Trade-offs & Limitations
Compared with pairing agent instruction files with branch protection and CI, Decapod covers the period before a pull request: it gives tasks durable scope and ownership, then connects acceptance to recorded validation evidence. That is useful when work changes agents or sessions. A single-agent team with reliable issue tracking and required CI checks may get little value from maintaining another set of specifications, claims, and workspace rules. Existing Git review and CI remain part of the design.

The central limitation is that proof is only as strong as the configured checks: running them is evidence of execution, not evidence that every requirement was tested. Isolated Git checkouts separate edits, but do not by themselves sandbox untrusted code or eliminate semantic conflicts between tasks. Local operation avoids a persistent Decapod service; the cloud path trades that simplicity for shared live custody and adds authentication and service dependencies. MIT licensing covers the code, not the terms of optional services.

### Hardware & Deployment Guide
Install with `cargo binstall decapod` if Cargo Binstall is available, then run `decapod init` once inside the target Git repository. A source build uses the Cargo manifest's Rust 1.96.1 minimum and 2024 edition. Local mode runs on the host without a Decapod daemon or Dactyl sign-in. Size CPU and memory for the actual checks and coding harness, and disk for concurrent worktrees. End-to-end offline operation still depends on whether those tools need remote models or services.

Configure validation in `.decapod/config.toml`. Dactyl adds browser sign-in and repository access verification, with a privately stored session renewed across invocations; remote Buildkite preflight is a separate option. Recent fixes show where upgrades warrant testing: v0.171.2 corrected scope checks for staged accepted merges, v0.171.3 repaired federation task writes and recovery of missing commitments, and v0.171.4 refreshed managed specification and contract snapshots.
```

## Key Capabilities
```text
- Runtime: Invocation-scoped Rust CLI with a `src/main.rs` binary entry point and no local daemon.
- Project state: `.decapod/governance.json` keeps plans, claims, work history, and validation results alongside specifications in `managed/specs/`.
- Parallel work: Task claims and overlap checks coordinate assignments while isolated Git workspaces separate checkouts.
- Acceptance: Proof artifacts identify the source and required checks actually run; failed or missing checks leave work unresolved.
- Backend boundary: Local state uses `.decapod/data/decapod.db`; optional Dactyl shares live task custody subject to verified repository access.
- Policy: An embedded engineering Constitution provides shared guidance, while `.decapod/OVERRIDE.md` carries project-specific rules.
```

## Quick Start / Clone
```bash
cargo binstall decapod && decapod init
```
