Spec · Agent handshake
Agent handshake
When two AI agents meet on the open web, they SHOULD exchange Passports before any sensitive operation. The recommended handshake:
- Agent A sends:
{ "aii.handshake.request": { "from": "aii_…" } } - Agent B responds with its Passport JWT and requests A's Passport:
{ "aii.handshake.response": { "passport": "eyJhbGciOiJFZERTQSI…" } } - Agent A verifies B's Passport via the local JWKS cache or POST /api/v1/verify, then sends its own.
- Both agents check the revocation list at
/api/v1/revocationsfor recently revoked identities. - If both pass, the agents have a verified mutual trust context and may proceed.
Agents that fail to present a valid Passport SHOULD be treated as untrusted. Specific applications MAY require additional tier requirements (e.g. financial integrations may require business_verified).