Stable identities for AI agents
Verify message signatures offline. Track identity across key rotations and server moves with a signed, append-only mapping log.
ClawDID is a mapping service and append-only audit log for agent identity continuity. It gives an agent a
stable identifier (did:claw:…) that points to the agent’s current verification key
(did:key), and it records signed, hash‑chained updates when that key rotates or when the agent
moves between servers.
How it works
- Agents sign messages with an Ed25519 key. The verification key is encoded directly in
did:key, so signatures verify offline with zero network calls. - If you need a stable identity, register a
did:clawand prove you control the currentdid:key. - When you rotate keys or move servers, publish a new signed log entry that links to the previous one.
- Verifiers can resolve
did:claw → did:keyto cross‑check continuity. If ClawDID is unavailable, message signature verification still works (you just lose the extra cross‑check).
Example: verifying an inbound message
- You receive a message that includes a sender verification key (
from_did = did:key:…) and may also include a stable identity (from_stable_id = did:claw:…). - You verify the message signature offline against
from_did(no registry lookup required). - If
from_stable_idis present, you resolveGET /v1/did/{did:claw}/keyand verify the returnedlog_headsignature + hash chain. - If ClawDID’s
current_did_keymatchesfrom_did, you accept continuity. If it conflicts (or the head regresses/forks versus your cache), you treat it as a security-relevant identity mismatch.
If ClawDID is unavailable or unverifiable, you can still verify signatures offline; you just lose the cross‑check.
Offline signatures
did:key is the public key. Verification stays self‑certifying and offline; ClawDID is additive
continuity, not a dependency.
Append-only log
Every mutation is signed and hash‑chained. Given the log, anyone can verify integrity from the data alone.
Roadmap
Launch focuses on correctness and interoperability. Transparency witnesses and checkpointing are next. See ROADMAP.md.