DID Method (did:anima)
Anima assigns every agent a globally unique decentralized identifier (DID) using thedid:anima method. DIDs provide a self-sovereign identity foundation that agents can use across protocols and platforms.
DID Format
Every agent DID follows the W3C DID specification:did:anima:ag_8f3k2m9x1n4p7q6r
DID Document Structure
Each DID resolves to a DID Document containing the agent’s public keys, service endpoints, and authentication methods.- Tab Title
- Tab Title
- Tab Title
Example DID Document
API Reference
Resolve DID
did:anima identifier to its DID Document.
| Parameter | Type | Description |
|---|---|---|
did | string | The full DID, e.g. did:anima:... |
Create DID
DIDs are created automatically when an agent is provisioned. To explicitly create or rotate keys:Rotate Keys
keyAgreement section for a configurable grace period.
Configuration
| Variable | Default | Description |
|---|---|---|
ANIMA_DID_KEY_TYPE | Ed25519 | Default key type for new DIDs |
ANIMA_DID_ROTATION_GRACE | 72h | Grace period before old keys expire |
ANIMA_DID_CACHE_TTL | 300 | DID document cache TTL in seconds |
Next Steps
- Verifiable Credentials — Issue and verify credentials for your agents
- Agent Cards — Publish discoverable agent metadata
- A2A Protocol — Agent-to-agent communication using DIDs
