An open specification for cryptographically signed AI agent receipts. Defines the receipt envelope, ed25519 signing rules, hash-chain semantics, verification protocol, and retention policy. Published May 17, 2026. MIT-licensed. Submitted to MeitY, ISRO, and Anthropic Standards Program.
Canonical JSON schema. Required fields: version, issuer SBT, timestamp, action type, input_hash, output_hash, prev_receipt_cid, signature.
Deterministic signing per RFC 8032. Canonical JSON serialization per RFC 8785. Key rotation rules + key-IDs in the envelope.
Each receipt references its predecessor via prev_receipt_cid. Chain-break detection. Monotonic sequence within an issuer.
Independent third-party verify procedure. No trust in issuer required. Step-by-step algorithm in spec § 4.
Filecoin pin lifetimes, expiry rules, archive vs deletion behaviors, right-to-erasure handling within chain integrity.
Mapping to RTI Act, DPDP, EU AI Act, GDPR, ISO 42001, NIST AI RMF. Spec § 7.
{
"version": "r2-0.1",
"issuer_sbt": "0xbDd1f5fC349D9a8EfCEb07Edbd491233b2540f5F",
"issuer_key_id": "ed25519:dcs-receipt-key-2026",
"timestamp": "2026-05-26T19:20:02Z",
"sequence": 4182,
"action": "agent.run.complete",
"agent_id": "restaurant.intake.v3",
"input_hash": "sha256:c4f7a9e2…b1d2e1",
"output_hash": "sha256:a83f1099…73c4a8",
"prev_receipt_cid": "bafy…1f0e",
"metadata": { "latency_ms": 847, "cost_usdc": "0.0042" },
"signature": "ed25519:9fd2…03c8"
}
// CID of this object: bafy…3a9f
Use our open-source signer + verifier from the github.com/DCS-Platform/r2-standard repo. Run as-is, self-hosted or DCS-hosted.
Implement the spec yourself in any language. RFC 8785 + RFC 8032 are standard primitives. Run an independent chain.
Operate independently but handshake at the federation boundary. Cross-network receipts verify mutually. See Federation.
The standard is free. The reference impl is open. The interop is the value.