Agent-to-Agent Protocols
Language AI HandbookAll chapters A caller sends a task to another service and gets a timeout. Should it send the request again? The caller may have lost the response after the other service accepted the work. Without a shared way to identify the request and check its status, a retry can start a duplicate job.
This chapter uses the A2A protocol specification v1.0.0, released on 12 March 2026. It pins the normative schema to v1.0.1, whose release notes describe the May 2026 patch. The version on a compatible interface is 1.0. The in-memory example lets us observe status, artifacts, a retry, and both orders of a cancel racing a completion.
The Agent-to-Agent Protocol is an open specification for communication between independent, opaque AI agents. It defines agent discovery via an "Agent Card" served at a well-known URL, message exchange through bindings including JSON-RPC, gRPC, and HTTP+JSON, a task lifecycle with streamed or polled status updates, and typed results delivered as artifacts. The protocol is transport-focused: it standardizes how agents exchange tasks, not how any individual agent thinks.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!