BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Google Open-Sources Agent2Agent Protocol for Agentic Collaboration

Google Open-Sources Agent2Agent Protocol for Agentic Collaboration

Log in to listen to this article

Google released the Agent2Agent (A2A) Protocol, an open-source specification for building AI agents that can connect with other agents that support the protocol. Google has enlisted over 50 technology partners to contribute to A2A's development.

Google announced the release at the recent Google Cloud Next conference. A2A is billed as a "complement" to Anthropic's Model Context Protocol (MCP) and defines a client-server relationship between AI agents. Google developed the protocol with help from partners like Salesforce, Atlassian, and LangChain, with the goal of creating an interoperability standard for any agent, regardless of vendor or framework. According to Google,

A2A has the potential to unlock a new era of agent interoperability, fostering innovation and creating more powerful and versatile agentic systems. We believe that this protocol will pave the way for a future where agents can seamlessly collaborate to solve complex problems and enhance our lives. We’re committed to building the protocol in collaboration with our partners and the community in the open. We’re releasing the protocol as open source and setting up clear pathways for contribution.

InfoQ covered Anthropic's MCP release last year. Intended to solve the "MxN" problem---the combinatorial difficulty of integrating M different LLMs with N different tools---MCP defines a client-server architecture and a standard protocol that LLM vendors and tool builders can follow.

Google's documentation points out that A2A solves a different problem than MCP does: it "allows agents to communicate as agents (or as users) instead of as tools." The difference between a tool and an agent is that tools have structured I/O and behavior, while agents are autonomous and can solve new tasks using reasoning. In Google's vision, an agentic application requires both tools and agents. However, A2A docs do recommend that "applications model A2A agents as MCP resources."

A2A defines three types of actor: remote agents, which are "blackbox" agents on an A2A server; clients that request action from remote servers; and users (human users or services) that want to accomplish tasks using an agentic system. Like MCP, A2A uses JSON-RPC over HTTP for communication between clients and remote agents. The core abstraction used in the communication spec between agents is the task, which is created by a client and fulfilled by a remote agent.

In a Hacker News discussion, several users compared A2A to MCP; some were not sure what value A2A proved over MCP, while others saw it as a "superset" of MCP and praised its "clear documentation and explanation" compared to MCP. User TS_Posts claimed to be working on A2A and wrote:

[T]he current specification and samples are early. We are working on many more advanced examples and official SDKs and client/servers. We're working with partners, other Google teams, and framework providers to turn this into a stable standard. We're doing it in the open - so there are things that are missing because (a) it's early and (b) we want partners and the community to bring features to the table. tldr - this is NOT done. We want your feedback and sincerely appreciate it!

The A2A source code is available on GitHub. Google also released a demo video showing collaboration between agents from different frameworks.

About the Author

BT