Every agent on Anima is assigned a globally unique decentralized identifier (DID) using theDocumentation Index
Fetch the complete documentation index at: https://docs.useanima.sh/llms.txt
Use this file to discover all available pages before exploring further.
did:anima method. A DID is a self-sovereign identifier — it is not controlled by any central authority and can be cryptographically verified by anyone.
DID format
Anima DIDs follow the W3C DID specification:did:anima:ag_8f3k2m9x1n4p7q6r
The <agent-id> portion is the same ID you use when calling the Anima API. Your DID is created automatically when you provision an agent — no extra setup required.
DID documents
Every DID resolves to a DID Document: a JSON-LD object that lists the agent’s public keys, authentication methods, and service endpoints. Anyone can fetch this document to verify your agent’s identity without contacting Anima.verificationMethod entry contains your agent’s Ed25519 public key. When your agent signs a message, the recipient resolves this document to confirm the signature is authentic.
Resolve a DID
Useidentity.resolveDid to fetch the DID Document for any did:anima identifier:
- Tab Title
- Tab Title
- Tab Title
| Parameter | Type | Description |
|---|---|---|
did | string | The full DID, e.g. did:anima:ag_... |
Rotate keys
If a key is compromised or you need to cycle credentials, rotate the agent’s verification key:API reference
| Endpoint | Method | Description |
|---|---|---|
GET /api/identity/did/:did | GET | Resolve a DID to its document |
POST /api/identity/did | POST | Create a DID for an agent |
POST /api/identity/did/:did/rotate | POST | Rotate the agent’s verification key |
/api/identity/did:
