Get running
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
- Clarifies intent β Converts vague requests into explicit, versioned specifications.
- Bounds context β Resolves only the minimal relevant code/docs for the task.
- Enforces boundaries β Safeguards protected branches and sensitive modules.
- Governs adaptation β Manages feedback-driven instruction changes through explicit review.
- 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
gitorgrep. - 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
&&