# Decapod documentation > Documentation for Decapod, the local-first governance kernel for AI coding agents: setup, workflows, boundaries, and proof-backed completion. ## Documentation - [HARNESS AI METACOGNITION.](https://decapodlabs.ai/decapod/): Decapod is the local-first metacognitive governance kernel for AI coding agents: orient intent, reflect at decisions, isolate worktrees, and prove commits. - [Agent-First Architecture](https://decapodlabs.ai/decapod/concepts/agent-first.html): Decapod's agent-first architecture gives coding agents CLI, structured RPC, and bounded MCP/A2A adapters for metacognitive orientation and commit proof. - [Constitution provenance and evidence](https://decapodlabs.ai/decapod/concepts/constitution-history.html): Design provenance, implemented mechanisms and measured effectiveness are separate claims. This page records what can be checked and what remains testimony. It… - [Constitution](https://decapodlabs.ai/decapod/concepts/constitution.html): Decapod's embedded Constitution gives coding agents on-demand engineering doctrine, tradeoffs, and research context inside the metacognitive control loop. - [Closed-Loop Metacognitive Governance](https://decapodlabs.ai/decapod/concepts/convergence.html): Closed-loop metacognitive governance turns AI coding agent intent, reflection, trajectory feedback, and exact-commit validation into durable repo state. - [Common Questions](https://decapodlabs.ai/decapod/concepts/faq.html): Answers to common questions about operationalized AI metacognition, living specs, validation gates, enforcement boundaries, and Decapod Local vs Cloud. - [Intent](https://decapodlabs.ai/decapod/concepts/intent.html): Preserve human intent before AI coding agents write code: Decapod tracks raw requests, living specs, ambiguity pressure, and reconciliation receipts. - [BYOA & Interoperability](https://decapodlabs.ai/decapod/concepts/interoperability.html): Decapod is built for Bring Your Own Agent (BYOA) workflows. An engineering team does not have to standardize on a single AI IDE, proprietary chat UI, or… - [Model Context Protocol (MCP)](https://decapodlabs.ai/decapod/concepts/mcp.html): Decapod provides a CLI, a Decapod-specific structured RPC interface (decapod rpc --op , plus an optional authenticated loopback HTTP server via decapod… - [Overrides](https://decapodlabs.ai/decapod/concepts/overrides.html): Overrides are the primary mechanism for customizing Decapod's behavior for a specific project. They allow you to apply your team's unique engineering culture… - [Proof](https://decapodlabs.ai/decapod/concepts/proof.html): Decapod separates AI coding agent claims from proof-backed completion using exact-commit validation gates, epistemic custody, and deterministic checks. - [Workspaces](https://decapodlabs.ai/decapod/concepts/workspaces.html): Decapod workspaces are isolated execution environments that ensure agentic work is performed safely and reproducibly. - [Configuration](https://decapodlabs.ai/decapod/configuration.html): Decapod is configured via .decapod/config.toml (see the Config Specification Reference). This file is human-editable and should be committed to your repository. - [Contributing to Decapod](https://decapodlabs.ai/decapod/contributing.html): Decapod is a governed agent control plane. Contributions are accepted when they increase enforcement value with minimal surface area. - [Introduction](https://decapodlabs.ai/decapod/introduction.html): Decapod is a local-first metacognitive governance kernel for AI coding agents—binding intent, reflection, worktree custody, and exact-commit proof. - [Mental Model](https://decapodlabs.ai/decapod/mental-model.html): Learn Decapod's metacognitive mental model: coding agents invoke an ephemeral Rust kernel for orientation, bounded reflection, isolation, and commit proof. - [Quickstart](https://decapodlabs.ai/decapod/quickstart.html): Initialize Decapod's metacognitive governance kernel in your repo once, then let Codex, Claude Code, Cursor, or Antigravity ship proof-gated commits. - [Artifacts](https://decapodlabs.ai/decapod/reference/artifacts.html): Decapod governs authored state and produces generated evidence and projections. Those classes are not interchangeable. - [CLI Reference](https://decapodlabs.ai/decapod/reference/cli.html): Decapod provides a unified CLI that supports both human-friendly text output and machine-readable JSON. - [Choose a managed cloud project](https://decapodlabs.ai/decapod/reference/cloud-projects.html): A Git checkout and a managed cloud project have different identifiers. Signing in establishes the managed session; the service still decides which project the… - [Resuming cloud todo creation](https://decapodlabs.ai/decapod/reference/cloud-todo-recovery.html): Cloud todo add assigns a distinct operation token before authentication. A fresh invocation means new work, even when its title and other inputs are identical… - [Configuration Reference](https://decapodlabs.ai/decapod/reference/config-toml.html): Decapod project policy is defined in .decapod/config.toml. This file should be committed to source control and is the primary mechanism for humans to… - [Error Handling](https://decapodlabs.ai/decapod/reference/errors.html): Decapod uses Rust's Result contract internally. Commands return errors to the process boundary, where Decapod prints a human-readable message… - [Gatekeeper source context](https://decapodlabs.ai/decapod/reference/gatekeeper-context.html): Gatekeeper checks path policy, protected paths, diff size, credential patterns, and dangerous source patterns. Context may discharge one exact matched source… - [Governance Artifact Inventory](https://decapodlabs.ai/decapod/reference/governance-artifacts.html): .decapod/governance.json is the sole tracked governance authority. It holds a compact baseline, current-PR identity and claims, cumulative checkpoints… - [Decapod Cloud sign-in and task access](https://decapodlabs.ai/decapod/reference/propodus.html): Select repo.backend = "local" for Decapod Local (the default: free, offline local SQLite and Git governance with no account required) or repo.backend =… - [Supabase consumer validation](https://decapodlabs.ai/decapod/reference/supabase-validation.html): Ordinary project users select only repo.backend = "local" | "cloud" (Decapod Local or Decapod Cloud). The managed cloud flow goes through Dactyl public… - [External Trackers](https://decapodlabs.ai/decapod/workflows/external-trackers.html): Decapod does not replace project-management systems such as GitHub Issues, Linear, Jira, or Beads. Those systems may remain the organizational system of… - [Multi-Agent Workflow](https://decapodlabs.ai/decapod/workflows/multi-agent.html): Coordinate parallel AI coding agents with shared metacognitive custody: scoped task leases, fleet overlap checks, isolated worktrees, and clean handoffs. - [Single-Agent & Handoff Workflow](https://decapodlabs.ai/decapod/workflows/single-agent.html): Even when a single engineer drives the work, Decapod prevents context loss, silent scope drift, and unverified completion claims—and makes it effortless to… - [Workspace Isolation](https://decapodlabs.ai/decapod/workflows/workspace-isolation.html): Workspace isolation is Decapod's primary defense against the "dirty tree" problem and multi-agent environment corruption (see Workspace Sandboxing).