DCP-AI — Digital Citizenship Protocol for AI Agents¶
A portable accountability layer for AI agents on open networks.
Cryptographically verifiable identity, machine-readable intent, tamper-evident audit trails, authenticated agent-to-agent communication, lifecycle governance, procedural accountability, and delegated representation — in a single hybrid post-quantum protocol stack.
Get started Try the playground Read the paper View on GitHub
Install¶
Published packages and main
The current versions on npm, PyPI, Go modules and crates.io are listed in Published versions. The Quick Start distinguishes registry and checkout examples.
The nine specifications¶
-
DCP-01 — Identity & Human Binding
Every agent is cryptographically bound to a responsible human or legal entity that assumes accountability.
-
DCP-02 — Intent Declaration & Policy Gating
Agents declare structured intents before acting; verifiers apply tier-based policy decisions.
-
DCP-03 — Audit Chain & Transparency
Hash-chained audit entries with Merkle proofs and optional transparency log inclusion.
-
DCP-04 — Agent-to-Agent Communication
Authenticated inter-agent messaging, discovery, handshake, delegation, trust chains.
-
DCP-05 — Agent Lifecycle
Commissioning, vitality reports, decommissioning — four termination modes, tamper-evident.
-
DCP-06 — Succession & Inheritance
Digital testaments and succession ceremonies preserve continuity across agent generations.
-
DCP-07 — Conflict Resolution
Three-level escalation, M-of-N arbitration panels, jurisprudence bundles for precedent.
-
DCP-08 — Rights & Obligations
Four foundational agent rights, structured obligation tracking, violation reporting.
-
DCP-09 — Delegation & Representation
Delegation mandates, awareness thresholds, principal mirrors, dual-layer interaction records.
What's in the box¶
-
5 SDKs
TypeScript, Python, Go, Rust, WebAssembly — the same core protocol and shared test vectors; each SDK README lists what it does not cover yet and its release status.
@dcp-ai/sdk,dcp-ai(PyPI),dcp-ai(crates.io),sdks/go/v2,@dcp-ai/wasm -
11 integrations
Bridges to popular AI and web frameworks. They differ in what they check: some verify signed bundles, others record unsigned events or apply no policy, and earlier published versions can lack fixes included in the current releases (supported versions). Read each one's limits before relying on it:
Express, FastAPI, LangChain, OpenAI, CrewAI, Agno, OpenClaw, W3C DID, Google A2A, Anthropic MCP, AutoGen
-
Hybrid post-quantum crypto
Ed25519 + ML-DSA-65 composite signatures, SLH-DSA-192f backup, dual SHA-256 / SHA3-256 audit chains. Four adaptive tiers (Routine → Maximum).
-
Reference CLI & services
dcp-aiCLI, verification server, anchoring service (local records; on-chain submission is not implemented), transparency log, revocation registry. Full Docker Compose stack.
Cite¶
If you use DCP-AI in your research, cite both the concept paper and the specific software release you used.
Paper — Agents Don't Need a Better Brain — They Need a World: Toward a Digital Citizenship Protocol for Autonomous AI Systems
Naranjo Emparanza, D. (2026). Zenodo. 10.5281/zenodo.19040913
Software — cite the release you used. The concept DOI 10.5281/zenodo.19656025 resolves to the latest archived version; v2.0.2 is
DCP-AI v2.0.2 — Digital Citizenship Protocol for AI Agents (Reference Implementation), Naranjo Emparanza, D. (2026). Zenodo. 10.5281/zenodo.19656026
"This protocol was co-created by a human and an AI agent — designed for the collaboration it seeks to govern."