Agent-to-Agent Protocols › Interoperability: vocabulary, versioning, and the opaque-agent boundary

Michael BrenndoerferDecember 1, 20264 min read
Language AI HandbookAll chapters
Part 49 of 67Long-Horizon Agents and Interoperability
Chapter 378Agent-to-Agent Protocols › Interoperability: vocabulary, versioning, and the opaque-agent boundary
Reading section 9 of 14 · Interoperability: vocabulary, versioning, and the opaque-agent boundary · 4 minSection 9 of 14 · 4 min

Section 9 of 14 · 4 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Two agents from different vendors interoperating is not just a matter of matching byte formats. Three softer problems determine whether the protocol actually works in practice.

The first is semantic interoperability of skills. Two agents might both advertise a skill called "summarize," but one summarizes to 3 sentences and the other to a full abstract, one preserves a target reading level and the other does not, one counts tokens and the other counts characters. The protocol does not fix this; it gives you a description field and examples, and the rest is up to skill authors to write richly and callers to match carefully. This is why the specification's skill object includes free-text description and examples rather than only structured parameters: the semantics of a skill are inherently linguistic, and the matching is, at root, the same problem as Semantic Parsing and Meaning Representations at the boundary of systems. In practice, organizations that need high assurance write richer descriptions with explicit constraints (input length, output format, latency budget, example inputs and outputs) and rely on those constraints rather than on the skill name alone.

Use the v1 version negotiation rules. A matching interface advertises the major and minor protocol version. Patch numbers identify documentation and schema snapshots and stay out of version negotiation. Send the selected version as the A2A-Version service parameter on requests. For HTTP, use a header such as A2A-Version: 1.0. The pinned rules treat an empty value as 0.3 and require VersionNotSupportedError when the interface cannot serve the requested version. Inspect the capabilities of the selected interface.

The third is the opaque-agent boundary. A2A can exchange messages and task data without requiring the remote agent to expose its reasoning, tool calls or memory. A particular service can choose to supply additional diagnostics. This is a feature, since it lets agents from different vendors cooperate without leaking internals, but it means the caller cannot diagnose a failure by looking inside. When a remote agent reaches failed, it may include an error message, but that message is the agent's own account, and it may be terse, wrong, or missing. Composing reliable multi-agent systems therefore requires treating the remote agent's failure reports as untrusted, and building local observability (deadlines, heartbeat checks, artifact schema validation) on top of the protocol. This observability is local in two senses: it lives on the caller's side, and it observes only what the protocol exposes (lifecycle and artifacts) rather than the interior of the remote agent. We revisit robust evaluation of long-horizon work in Long-Horizon Agent Evaluation, the next-but-one chapter.

Verify the card against the peer identity. Check the source and task ID of lifecycle events. Before using an artifact, check its media type and contents against the application’s requirements.

VisualizationOut [7]
CollapseExpand
Diagram of caller, remote agent, and trust boundaries around card, lifecycle, and artifacts.
The caller verifies the Agent Card against the peer’s identity, checks the source and task ID of lifecycle events, and checks artifact media and content against its application requirements.

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!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy