Go 1.27 · MIT · reference implementation

An agent acted. Prove who authorized it.

Tokens answer who. agentid answers which agent, on whose behalf, under which exact constraints — and produces evidence a third party can re-derive offline. No vendor service in the verification path.

142 tests0 hosted services7 predicate typesES256 + ML-DSA-65
01

The system that actually ships

Five working layers, all in a Go 1.27 standard-library core. Everything below has a test, a CLI path and a document in the repository.

01 · ENVELOPE

Canonical action

A digest of action, system, resource, attributes is the unit of approval, validation and receipt. Seven typed predicates cover amounts, enumeration, windows, rolling sums, co-sign, equality and bounds.

constraints →
02 · PEP

MCP wrapper holds the key

The agent sees JSON-RPC tools, never credentials. Authority fields come from operator mapping, not tool arguments. Denials return -32000 with a receipt id and an approval request when applicable.

wrapper →
03 · DECISION

Deterministic & dual-signed

Deny-overrides across profiles, implicit deny, canonical obligation union. Delegations and receipts carry ES256 primary plus ML-DSA-65 post-quantum signatures; approvals must be signed by the approver.

combining →
04 · EVIDENCE

Bundle, anchors, telemetry

Signed receipts, status lists, customer-chosen anchors, five OTel spans and signer keys travel in one offline-verifiable bundle. A mismatch metric corroborates telemetry against receipts.

bundle →
05 · OPERATIONS

Lifecycle, not just issuance

SCIM deprovisioning revokes in bounded time; erasure executors emit deletion receipts; retention archives before pruning; control-plane policy bundles fail closed when stale.

control plane →
02

Three ways in

03

Proof, not adjectives

These blocks are generated from the actual Go CLI on every deploy. If the repo drifts, the page drifts with it — visible to anyone who reads the sync script.

EVIDENCE BUNDLE

evidence bundle VERIFIED (2 receipts, 1 delegations, 0 anchors, 1 status tokens)

Receipts, chains, profiles, anchors, status tokens and keys — verified offline.

DUAL-SIGNATURE VERIFIER

FULLY VERIFIED: [ES256 ES256 ML-DSA-65 ML-DSA-65]

ES256 primary and ML-DSA-65 additive signatures checked in one Go verifier.

OTEL RECONCILIATION

five spans: delegation.issue, validation, obligation, downstream.call, receipt.persisted
reconciliation: agentid.mismatch = 0
propagation: W3C traceparent + agentid authority tracestate
PII: subject refs pseudonymous by default

Five spans per action, mutually bound to receipts; divergences raise agentid.mismatch.

RIGHT TO ERASURE

erasure plan — subject cust_4471
receipts: 2 · delegations: 1
deadline: 2026-12-21T20:53:22Z (30 days)
systems: internal_crm (62 records), zendesk (4 records)

Opaque subject references enumerated from receipts; execution uses real connectors.

04

Follow one action, end to end

Press begin. The journey moves slowly on purpose: a principal issues a credential, an agent carries it, a wrapper holds the downstream secret, and an auditor re-derives the result. Every visible field is captured from a real Go run on deploy.

01 / 08
05

Run it from a cold clone

Go 1.27. Standard-library core. The same commands run in CI on every push.

git clone https://github.com/rajat397/agentid.git
cd agentid
go test ./...
go run ./cmd/agentid demo
go run ./cmd/agentid evidence export --demo --out bundle.json
go run ./cmd/agentid evidence verify --file bundle.json
go run ./cmd/agentid verify-signed --artifact /path/to/cross-artifact.json
agentid demo — real output, regenerated every deploy

agentid — the full lifecycle, running against real Go code

1. Human grants authority: dlg_15e27acdd8ceadf9 (kid demo_signer)
2. Over-cap action: invalid — /attributes/amount max predicate violated (observed 4500.00) (receipt rcp_bd1ab326217eeadc)
3. Within authority: valid (receipt rcp_ba074126fcefe7a8)
4. Four questions: agent=spiffe://example.trust/agent/marketing-agent, subject=oidc|acme-retail|usr_8842, credential=demo_signer, approval=apr_01DEMO
5. Tampered receipt: signatures + hash chain verify: false (receipt[0] signature invalid or kid unknown)
06

Don't re-trust — re-derive

The decision, the evidence and the verification travel together. That is the entire point; the interface is incidental.

WHY NOW

NIST's NCCoE concept paper (February 2026) frames agent identity, authorization and audit for federal and critical-infrastructure use. SP 800-63-4 explicitly excludes agents; NISTIR 8587 names the risk. agentid is one runnable public answer — check the standards matrix and the threat model.