decapod 0.0.4

πŸ¦€ Decapod is a Rust-built, repo-native control-plane kernel for AI swarmsβ€”safe shared state, enforced truth, and loop-agnostic orchestration.
Documentation

The Problem

Coding agents forget context, corrupt state, and drift from intent. Decapod fixes that.


Get Started

cargo install decapod
cd your-repo && decapod init

Point your agent at CLAUDE.md, GEMINI.md, or AGENTS.md in the project root. The agent reads the constitution, learns the interface, and operates within the discipline.


What You Get

.decapod/
β”œβ”€β”€ data/                 # Persistent state (SQLite + event logs)
└── constitution/         # Behavioral law the agent internalizes
    └── specs/
        β”œβ”€β”€ INTENT.md     # What we're building
        └── ARCHITECTURE.md
  • One interface β€” CLI + schema + store-aware state
  • One authority ladder β€” Intent β†’ Spec β†’ Code β†’ Proof β†’ Promotion
  • One proof gate β€” validate prevents "sounds right" from becoming "is right"

The constitution is embedded in the binary. Your project can override any doc β€” drop files in .decapod/constitution/ and your rules take precedence.


What's Real Today

Subsystem Status Purpose
todo REAL Coordinated task queue with event log
validate REAL Proof gate β€” enforces store purity
cron REAL Scheduled jobs
reflex REAL Event β†’ action triggers
docs REAL Embedded constitution, project overrides

Designed, not yet enforced: Brokered writes, serialized concurrency, always-on audit. These graduate to REAL when the repo can fail fast on violations.


Why "Decapod"?

Ten-legged crustaceans. Small shell, built for pressure. The kernel stays minimal. Everything else lives in plugins.


Get Involved

Build the periphery. Adapters, connectors, proof harnesses. Plugins are first-class.

Improve the constitution. Find a pattern that stops agent drift? PR it.