Trust¶
Identity¶
Each agent is a KERI identity. Keys can be rotated, and stolen keys are useless after a rotation. Witnesses and watchers make key changes accountable.
Credentials¶
An authority issues credentials with a role: agent, settlement or guest. Agents trust the authority in AUTHORITY_AID. A revoked credential is refused.
Policy¶
Each agent decides about every request. By default, callers with the role agent may call all routes. POLICY_RULES replaces the rules:
[{"id": "agents", "effect": "allow", "routes": ["/echo", "/compute/*"], "roles": ["agent"]}]
A rule has id, effect (allow or deny), routes, and optional roles, schemas and conditions. deny overrides allow.
Requests¶
Requests and replies are signed by the identities, independent of the transport. A reply is accepted only if it answers the request. A repeated request returns the first result instead of running twice.