decapod 0.47.32

Decapod is the daemonless, local-first control plane that agents call on demand to align intent, enforce boundaries, and produce proof-backed completion across concurrent multi-agent work. πŸ¦€
Documentation

Get running

cargo install decapod
decapod init

decapod init creates .decapod/, a local folder your agent uses to remember intent, rules, context, specs, and proof.

Your conversational workflow does not change. You keep talking to your agent normally; behind the scenes, the agent calls Decapod to ensure work happens in isolated environments and adheres to your project's constitution.


How it works

AI coding agents often lose the plot: they forget intent, pull too much context, skip dependencies, and touch protected files. Decapod provides a repo-native checkpoint system to absorb these deficiencies.

The Loop

     User
       β”‚
       β–Ό
    Agent ───────┐
       β”‚         β”‚
       β”‚    β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”
       β”‚    β”‚ Decapod β”‚
       β”‚    β”‚ (check) β”‚
       β”‚    β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”˜
       β”‚         β”‚
       β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
       β”‚         β”‚
     Model     Agent
       β”‚         β”‚
       β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”˜
            β–Ό
          User

Decapod is not the agent. It is the governance kernel called before:

  • Acting β€” clarify intent and generate specs
  • Inference β€” resolve surgical context capsules
  • Touching Code β€” enforce boundaries and protected paths
  • Completing β€” produce verification and proof

Capabilities

  1. Clarifies intent β€” Converts vague requests into explicit, versioned specifications.
  2. Bounds context β€” Resolves only the minimal relevant code/docs for the task.
  3. Enforces boundaries β€” Safeguards protected branches and sensitive modules.
  4. Governs adaptation β€” Manages feedback-driven instruction changes through explicit review.
  5. Requires proof β€” Gates completion on deterministic verification artifacts.

The substrate

Decapod preserves what agent workbenches lose: reusable, repo-native knowledge that survives the session.

.decapod/
  generated/
    specs/         # Human-visible intent and architecture specs
    context/       # Deterministic context capsules
    artifacts/     # Verification output and proof provenance
  data/            # Durable repo-native state (DBs, events, todos)
  config.toml      # Project shape and agent-facing configuration
  OVERRIDE.md      # Local rules that override embedded defaults

Every run leaves operational evidence. The generated files are the human-visible proof surfaceβ€”inspect them locally, review them in PRs, and use them to re-establish state across different agents (Claude, Codex, Gemini, Cursor).


The constitution

Decapod ships with an embedded engineering constitution: over 100 declarative documents covering architecture, security, performance, and testing.

Everything an engineering org usually keeps in tribal memory or review culture becomes executable guidance. Your agent does not guess; it reads the constitution, cites claim IDs, follows gates, and produces proof.


Guarantees

  • Daemonless β€” Runs on demand like git or grep.
  • Repo-native β€” All state lives in your repository.
  • Provider-agnostic β€” Works across all agent workbenches.
  • Proof-gated β€” Completion requires passed verification gates.
  • Boundary-aware β€” Enforces protected paths and branch isolation.

Contributing

git clone https://github.com/DecapodLabs/decapod
cd decapod
cargo build && cargo test