Skerry/ Reference/ Agent2Agent

Agent2Agent4

Skerry speaks the Agent2Agent protocol (A2A 1.0, release v1.0.1 of 28 May 2026), JSON-RPC and HTTP+JSON bindings at the same base: JSON-RPC is POST to the base, HTTP+JSON is the specification's paths under it (POST {base}/message:send, POST {base}/message:stream, GET {base}/tasks, GET {base}/tasks/{id}, POST {base}/tasks/{id}:cancel, GET|POST {base}/tasks/{id}:subscribe, {base}/tasks/{id}/pushNotificationConfigs[/{config_id}]), answering application/a2a+json and errors as google.rpc.Status. Two signed agent cards: Skerry's own, with the skills pay and quote, and one for each business that sells through agentic checkout, with the skill checkout. A skill is asked for with SendMessage and one data part { skill, input }, where input is the body of the REST operation it stands for; the operation runs with the caller's own credential, so its scopes, controls and approvals apply, and the idempotency key of a write is derived from the message's messageId. Tasks are the records they follow: pay_<agent payment id>, approval_<approval id> for a held payment, checkout_<checkout session id>; GetTask reads the record, CancelTask cancels a checkout, ListTasks lists them newest first with a page token. SendStreamingMessage and SubscribeToTask answer server-sent events: the task, then each change of its record or state, until it ends (a sent message's stream also ends when the task waits on the client); a stream lasts five minutes at most. Push notifications, where the deployment offers them (capabilities.pushNotifications on the card), POST a status event to an HTTPS address the client gives, with its authentication and token, when the task's state changes; they are set up with an API key, or a business's platform credential. Every request sends A2A-Version: 1.0. A card is signed (JWS, EdDSA, detached, over its RFC 8785 canonical JSON without signatures) with the key named by kid at /.well-known/jwks.json, and served with an ETag. Not offered: the extended card and the gRPC binding.