Delegation Receipt Standard

Research Project

DRS is a JWT-based delegation receipt standard for MCP and OAuth-oriented agent ecosystems.

Every time an AI agent acts on your behalf, DRS produces a cryptographically signed receipt that proves — to anyone, without contacting a central authority — exactly who authorised what, under which constraints, at what time.

The problem DRS solves

Modern AI agents act through delegation chains. A human authorises an agent, which authorises a sub-agent, which calls a tool. Existing OAuth and token-exchange standards help frame that ecosystem, but the implemented DRS code here adds its own signed receipt chain so a tool server can independently verify provenance instead of trusting logs or bearer-token context alone.

This is the chain splicing vulnerability (CVE-2025-55241, demonstrated in Azure AD). DRS is designed as a receipt-layer response for that class of problem, implemented here as signed JWT receipts plus hash-chain verification.

What DRS is not

DRS isDRS is not
A receipt standard for delegation chainsA replacement for OAuth 2.1
Built on JWTs, JCS, Ed25519, MCP middleware, and DIDsA UCAN implementation or OAuth server
Independently verifiable audit evidenceAn observability tool (Langfuse/Arize do that)
An open standard, not a platformA blockchain product
The authorisation provenance layerA replacement for OpenTelemetry

Who this is for

  • Builders — building on top of DRS: a React Native app, MCP server, A2A agent, Node backend, or any product that should carry signed delegation receipts. Start here if you're not sure. You never need to fork the repo.
  • Developers — using the SDK or Go middleware programmatically (lower-level patterns than the consumer guides).
  • Operators — deploying the verification server and configuring enterprise policies.
  • Auditors — reconstructing delegation chains for compliance evidence.
  • Contributors — understanding the architecture and proposing changes.

The three layers (published separately)

Each layer is an independently-installable artifact. Consumers pull from registries — no fork required.

ComponentLanguageInstallRole
drs-coreRustcargo add drs-core (or bundled inside @okeyamy/drs-sdk)Crypto primitives, JCS canonicalisation, chain verification, WASM build
drs-verifyGodocker pull ghcr.io/okeyamy/drs-verifyVerification HTTP server, Go middleware, DID resolver, status list cache
drs-sdkTypeScriptpnpm add @okeyamy/drs-sdkIssuance path, CLI, React Native / Node / browser

This is a research project. The architecture, data model, and algorithms are documented throughout this site. The implementation is the reference implementation of the DRS 4.0 specification.

Start with What is DRS? for a conceptual overview, or jump straight to the Quick Start.