← Table of Contents · Page 473 of 868
COMMUNICATION AND PROTOCOLS BETWEEN AGENTS
Part 3 of 9
AGENT-TO-AGENT COMMUNICATION STANDARDS
So far, we have imagined agents built by one team in one framework.
But in the real world, different teams and different companies build agents using different models and different tools, and they would like those agents to cooperate.
An agent-to-agent communication standard is an agreed-upon format and set of rules so that agents built independently can find each other, exchange task requests and results, and understand one another.
Think of the way any web browser can talk to any web server, because both follow the same public rules.
Standards let a stranger's agent and your agent cooperate without custom wiring for every pair.
You already know one major standard from Part Four.
As Chapter 16 explained, MCP is the open standard that connects an agent to tools and data sources.
MCP is mainly about an agent reaching outward to tools, as you learned in Chapter 16.
A different kind of standard is aimed at agents talking to other agents as peers.
One prominent example is the Agent2Agent (A2A) protocol, which Google introduced in 2025 and later placed under the stewardship of the Linux Foundation, a neutral non-profit organization that hosts open-source projects.
A2A aims to let agents built on different frameworks advertise what they can do, send each other tasks, and report progress and results.
A helpful, commonly used way to distinguish them is that MCP connects an agent to its tools, while A2A connects an agent to other agents.
In practice the two are designed to be complementary, and one system may use both.
This area is moving quickly.
Names, governance arrangements, and the exact features of these protocols have been changing, and other competing or overlapping proposals exist.
So treat the details here as a snapshot, and check the current official documentation before you build.
What does not change is what any agent communication standard must provide.
It needs a way to discover an agent and learn what it can do.
It needs a standard shape for a task request and a task result.
It needs a way to report status for long-running work, since some tasks take minutes or hours.
It needs authentication, meaning proof of who is calling, and authorization, meaning rules about what that caller may do, which ties directly to Chapter 37.
And it needs safety thinking, because a message from a foreign agent is untrusted input, just like a web page.
An agent from another company might be mistaken, compromised, or malicious, so you should validate what it sends, limit what it can ask your agent to do, and never let it bypass your permission checks.
Standards make cooperation possible, but they do not make strangers trustworthy.
Advertisement
Read Aloud:
0:00 / 0:00