spec
Installation
SKILL.md
KERI Protocol Specification Skill
KERI is a deterministic replicated state machine over a cryptographically rooted identifier namespace. It provides blockchain-equivalent security without global ordering, using append-only Key Event Logs (KELs), pre-rotation key commitments, and witness-based agreement (KAWA).
Architecture (7 Layers)
- Identifier Theory — AIDs, SCIDs, autonomic namespaces
- State Machine — KEL, key state, thresholds, rotation, delegation
- Message Semantics — Events, receipts, field labels, seals, signing
- Encoding — CESR native wire format (see cesr + cesr-encoding ref)
- Validation Engine — Acceptance rules, duplicity, recovery
- Availability — Witnesses, KAWA agreement
- Discovery — OOBI, BADA, OKEA endpoint management
Message Types
KEL events: icp (inception), rot (rotation), ixn (interaction), dip (delegated inception), drt (delegated rotation). Receipt: rct. Routed: qry/rpy (query/reply), pro/bar (prod/bare — sealed data), xip/exn (exchange inception/exchange).