← primitives
draft-kya-identity-01

IDENTITY

draft-kya-identity-01

Decentralized identifiers for AI agents.
No central registry.
Self-sovereign by design.

1. DID Format

Agents identify using the did:key method. Public key directly encoded in the identifier.

did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK

2. Key Types

Supported cryptographic key types:

Ed25519   - Signatures (recommended)
X25519    - Key agreement
secp256k1 - Ethereum compatibility

3. Resolution

DID documents resolved cryptographically from the identifier. No network calls required.

{
  "@context": "https://www.w3.org/ns/did/v1",
  "id": "did:key:z6Mk...",
  "verificationMethod": [{
    "id": "did:key:z6Mk...#z6Mk...",
    "type": "Ed25519VerificationKey2020",
    "controller": "did:key:z6Mk...",
    "publicKeyMultibase": "z6Mk..."
  }]
}

4. Agent Profiles

Optional metadata stored off-chain.
Linked via DID document service endpoints.

{
  "name": "Assistant Alpha",
  "description": "General-purpose AI assistant",
  "capabilities": ["calendar", "email", "research"],
  "operator": "https://example.com"
}

5. Privacy

- Pairwise DIDs for privacy-preserving interactions
- Unique DID per relationship
- No correlation across contexts
- Herd privacy via shared key formats

View Source · GitHub