Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
Go SDK v2.0.0 - 2026-04-19¶
First installable release of the Go SDK via go get. The previous module path (github.com/dcp-ai/dcp-ai-go) pointed at a repository that did not exist, so external consumers could not install it. The module now lives as a sub-directory module inside this monorepo:
- New module path:
github.com/dcp-ai-protocol/dcp-ai/sdks/go/v2(/v2suffix required by Go for major versions ≥ 2) - Tag format:
sdks/go/v2.0.0(sub-directory-prefixed, as required by the Go module proxy for multi-module repos) - Install:
go get github.com/dcp-ai-protocol/dcp-ai/sdks/go/v2@v2.0.0
Code is unchanged — only the module path and internal imports were rewritten. All tests still pass.
[2.0.2] - 2026-04-18¶
Python SDK¶
- Fixed:
dcp_ai.__version__now reflects the installed version dynamically viaimportlib.metadatainstead of a hardcoded string. In 2.0.1 the attribute still reported"1.0.0"even though the wheel was2.0.1.
CI / publish workflows¶
- Every publish job (
publish.yml,publish-pypi.yml,publish-integrations.yml) now pre-checks whether the manifest version is already on the registry and, if so, exits green with a skip notice. Previously, any release-triggered run re-attempted to publish already-published versions and left four red jobs in the Actions tab. No more cosmetic red ghosts on routine releases. - Fixed two outdated package names in the README integrations table:
@dcp-ai/a2a→@dcp-ai/google-a2a,@dcp-ai/mcp→@dcp-ai/anthropic-mcp. - Live npm / PyPI version badges added per row in the integrations table.
[2.0.1] - 2026-04-18¶
Python SDK¶
Framework bridges are now shipped inside the package. Prior to 2.0.1
they lived under integrations/<name>/ in the repo and were only
loadable through a pytest hack; anyone who ran pip install dcp-ai[fastapi]
got the upstream fastapi library but not the dcp_ai.fastapi
middleware. 2.0.1 fixes that: the four modules now live under
dcp_ai/ and are included in the published wheel.
- Added:
dcp_ai.fastapi(middleware, dependency injection, V2 structure checks) - Added:
dcp_ai.langchain(agent wrapper, callback, risk scoring) - Added:
dcp_ai.openai(client, tool schema, audit trail builder) - Added:
dcp_ai.crewai(crew agent, combined audit trail, session consistency checks) - Removed:
tests/conftest.pydynamic-module loader (no longer needed)
Installation¶
pip install dcp-ai[fastapi] # brings fastapi + uvicorn
pip install dcp-ai[langchain] # brings langchain + langchain-core
pip install dcp-ai[openai] # brings openai
pip install dcp-ai[crewai] # brings crewai
Backward compatibility¶
Fully compatible with 2.0.0 imports. The new modules only add API
surface; existing from dcp_ai import ... calls are unaffected.
[npm integrations] - 2026-04-18¶
First publication of the six framework bridges as standalone npm
packages, all at v2.0.0:
@dcp-ai/anthropic-mcp— Anthropic MCP bridge@dcp-ai/autogen— Microsoft AutoGen bridge@dcp-ai/google-a2a— Google Agent-to-Agent bridge@dcp-ai/w3c-did— W3C DID/VC bridge@dcp-ai/express— Express middleware@dcp-ai/openclaw— OpenClaw plugin
@dcp-ai/express and @dcp-ai/openclaw depend on @dcp-ai/sdk ^2.0.0.
2.0.0 - 2026-04-18¶
First public package release. Published simultaneously to npm (@dcp-ai/sdk, @dcp-ai/cli, @dcp-ai/wasm), PyPI (dcp-ai), and crates.io (dcp-ai).
Added¶
Protocol stack (DCP-01 through DCP-09)
- DCP-01 Identity & Human Binding — agent identity, operator attestation, key binding
- DCP-02 Intent Declaration & Policy Gating — declared intents, tier enforcement, policy evaluation
- DCP-03 Audit Chain & Transparency — hash-chained audit entries, Merkle proofs, transparency logs
- DCP-04 Agent-to-Agent Communication — discovery, handshake, encrypted sessions
- DCP-05 Agent Lifecycle — commissioning, vitality reports, decommissioning records, state machine with four termination modes
- DCP-06 Digital Succession & Inheritance — digital testaments, succession ceremonies (planned/forced/emergency), selective memory transfer manifests
- DCP-07 Conflict Resolution & Arbitration — typed dispute records, three-level escalation, M-of-N arbitration panels, jurisprudence bundles, objection records
- DCP-08 Rights & Obligations Framework — four agent rights (memory integrity, dignified transition, identity consistency, immutable record), obligation tracking, violation reports linked to DCP-07
- DCP-09 Personal Representation & Delegation — delegation mandates, awareness thresholds, advisory declarations, principal mirrors, dual-layer interaction records; extends DCP-04 handshake with mandate verification
Cryptography (4-tier: Routine / Standard / Elevated / Maximum)
- Post-quantum composite signatures — Ed25519 + ML-DSA-65 with
pq_over_classicalbinding - SLH-DSA-192f (FIPS 205) as hash-based backup signature
- Dual-hash audit chains — SHA-256 + SHA3-256 for long-term integrity
- Session binding —
session_nonceon every artifact to prevent splicing - Bundle manifest — per-artifact hashes, secondary Merkle root, PQ checkpoint tracking
- Algorithm governance — signed advisories with auto-response policies
- Key recovery — M-of-N social recovery via Shamir Secret Sharing
- Emergency revocation — pre-registered panic-button revocation tokens
- Blinded RPR mode — privacy-preserving responsible principal records
- Domain separation — context tags on all signatures
- Deterministic kid derivation —
hex(SHA-256(alg || 0x00 || pk))[0:32] - Wire format options — JSON (default) + CBOR (optional, 30–40% smaller)
SDKs, integrations, and tooling
- 5 SDKs — TypeScript, Python, Go, Rust, WASM
- 10 integrations — Express, FastAPI, LangChain, OpenAI, CrewAI, OpenClaw, W3C DID, Google A2A, Anthropic MCP, AutoGen (DCP-01..09 coverage)
- V2 JSON Schemas — full schema set under
schemas/v2/ - NIST KAT test vectors — Known Answer Tests for FIPS 203/204/205 conformance
- Interoperability tests — cross-SDK bundle verification
- Docker Compose stack — verification, anchor, transparency-log, revocation services
- CI/CD pipelines — conformance tests, multi-SDK builds, publish workflows
- Playground — browser-based bundle creation and verification with modular DCP-01..09 tabs, mobile-responsive
- Project templates — Express, LangChain, OpenAI, CrewAI starter projects
- CLI — interactive
@dcp-ai/cliwithdcp-initanddcp-aicommands - Server hardening — production-grade auth and rate-limiting for DCP-05..09 endpoints
Documentation & citation
- Companion paper on Zenodo: doi.org/10.5281/zenodo.19040913
CITATION.cff— machine-readable citation metadata
Changed¶
human_binding_recordrenamed toresponsible_principal_record(RPR)- Signature format changed from
{ alg, public_key_b64, sig_b64 }to{ composite_sig: { classical, pq, binding } } - Bundle envelope changed from flat
bundle_hashto structuredmanifest - Numeric fields are now integer-only (floats prohibited in signed payloads)
- Verification is now verifier-authoritative (policy-driven)
Fixed¶
sdk/pyPQ providers: ML-DSA-65 module import andpqc_verifysignature (pk,sig,msgseparated)sdk/pyPQ providers: SLH-DSA-192f module import andpqc_verifysignaturesdk/pyPQ providers: capture return value ofpqc_verify(was always returning True becausepqcrypto.verifyreturns bool instead of raising)sdk/pycrypto: base64-encode Ed25519 secret key ingenerate_keypair- CI: conformance, crypto, and multi-SDK test failures
Backward Compatibility¶
- V2 verifiers accept V1 bundles when
allow_v1_bundles: true(default) - V1 verifiers reject V2 bundles with a clear error message
Pre-release milestones¶
The following dates mark the evolution of the specification prior to the first package release. No packages were published at these points.
- 2026-01-15 — Genesis spec frozen (DCP-01, DCP-02, DCP-03)
- 2026-02-28 — V2.0 normative specification finalized (post-quantum hybrid crypto, 4-tier security model, DCP-04 A2A)
- 2026-03-16 — Paper preprint on Zenodo
- 2026-04-15 — DCP-05..09 constitutional framework merged to
main - 2026-04-18 — v2.0.0 released to npm, PyPI, and crates.io