An AgentID is the cryptographic identity assigned to an AI agent at the moment it is registered. It is the answer to “who did this?” for every subsequent action the agent takes.
Anatomy
Every AgentID has four parts:
| Part | Example | What it does |
|---|---|---|
| Agent ID | agent_b1c59d23a4b07165f80a48ae861e20924594042cf5e10130 | Stable string identifier used in all APIs and audit records |
| DID | did:webvh:Qma…:api.regentprotocol.org:agents:agent_b1c59d23… | W3C Decentralized Identifier in the did:webvh method: a signed, append-only log that any resolver verifies without asking Regent |
| Public key | RSA-2048 PEM | KMS-signed; lets third parties verify identity payloads |
| On-chain anchor | Solana TX on AgentRegistry program | The agent’s hash is stored on-chain; the existence and revocation status of the agent are tamper-evident |
The trust chain
To verify an agent identity, a third party:
- Fetches the agent’s DID log from
https://api.regentprotocol.org/agents/{agent_id}/did.jsonland verifies it with anydid:webvhresolver (or reads the resolved document fromhttps://api.regentprotocol.org/v1/did/{did}) - Checks the embedded signature against Regent’s published KMS root key
- Compares the
did_hash(SHA-256 of the DID string) against the on-chainAgentRegistryrecord
If all three match and the on-chain status is active, the agent is verified.
The DID method: did:webvh
Since 19 October 2026 agents are identified with did:webvh (“DID web with verifiable history”), a method maintained at the Decentralized Identity Foundation. Agents registered earlier were moved to it the same day: their old did:regent:solana:… identifier still resolves and is named in the document’s alsoKnownAs. Their on-chain anchor was written as the hash of that old string and the registry has no instruction to change it, so the resolved document’s didDocumentMetadata.anchoredDid names the identifier the chain commits to (the old one for moved agents, the did:webvh itself for agents registered since), with its didHash next to it. A revoked agent’s log ends with a deactivated entry.
What the method gives a verifier that did:regent could not:
- Verifiable history. The DID document is not a JSON file Regent serves on request; it is the last entry of a log (
did.jsonl) in which every entry is signed by the controller key announced in the previous entry (pre-rotation) and hash-linked to it. A resolver re-checks the whole chain. Regent cannot silently rewrite a past key set. - Self-certifying identifier. The
SCIDsegment of the DID is a hash of the first log entry, so the identifier itself commits to its origin. A log served at the right URL but with a different origin fails to verify. - Standard resolution. Any
did:webvhresolver, including ones Regent does not run, resolves the identifier from the log alone. No Regent API, no special client.
The log lives at the spec location, https://api.regentprotocol.org/agents/{agent_id}/did.jsonl, one JSON entry per line. The agent’s own signing keys (client-held or custodial, see Enrol an agent) appear in the document as Multikey verification methods; a key change is a new signed version of the log. The keys that sign the log are Regent’s log-controller keys, derived per agent from a KMS-protected master, and are never the agent’s keys.
Resolution and verification cost nothing on-chain: the log is a static file, and anchoring is unchanged (one did_hash per agent in AgentRegistry).
Lifecycle
Register
A KYC-verified responsible party calls POST /v1/agents. Identity payload is generated, signed by Regent’s KMS, and queued for Solana anchoring.
Anchor
The blockchain-worker submits the agent’s did_hash to the AgentRegistry program on Solana. Status becomes anchored. Typical latency: a few seconds on devnet.
Active
The agent can now hold mandates, request authorizations, and emit audit events. All actions reference its AgentID.
Revoke
The responsible party (or an automated security workflow) calls POST /v1/organizations/{org}/agents/{id}/revoke. An on-chain revocation transaction follows. All active mandates owned by the agent are automatically suspended.
Why KMS-signed
The agent identity payload is signed by Regent’s KMS root key, not by the agent itself. This means:
- The agent cannot forge its own identity (it has no private key for the root)
- The responsible party cannot forge the agent’s identity (same)
- Verification only requires the public root key, which is published
This separation is what makes Regent identity credible to a regulator. The agent operator cannot self-attest.
Why on-chain
The did_hash stored in AgentRegistry makes the existence and status of every agent tamper-evident. Even if Regent’s database were compromised, an auditor could:
- Read the agent record from Regent’s API
- Hash the identity payload independently
- Compare against the on-chain anchor
If Regent’s database had been quietly modified (e.g., to re-activate a revoked agent), the comparison would fail. On-chain anchoring eliminates the need to trust Regent’s storage layer.