An open protocol for communication and interaction between AI agents
Agent2Agent (A2A) is an open protocol developed by Google that allows AI agents to interact with each other, securely exchange information, and coordinate actions across different platforms and applications.
AI agents offer a unique opportunity to help people be more productive by autonomously performing a variety of everyday or complex tasks. Today, businesses are increasingly creating and deploying autonomous agents to scale, automate, and improve processes in the workplace.
To maximize the benefits of agent AI, it's critical that these agents can collaborate in a dynamic, multi-agent ecosystem spanning disparate data systems and applications.
Support agent capabilities: Agents can collaborate in their natural, unstructured modalities.
Use existing standards: Built on HTTP, SSE, JSON-RPC.
Security by default: Support for enterprise authentication and authorization.
Support for long-running tasks: From quick tasks to deep research.
Modality agnostic: Support for various modalities, including audio and video.
A2A facilitates communication between a "client" agent and a "remote" agent, providing a standardized way of interaction.
Agents can advertise their capabilities using an "Agent Card" in JSON format, allowing the client agent to identify the best agent for a task.
Communication between client and remote agent is task-oriented. The "Task" object is defined by the protocol and has a lifecycle.
Agents can send messages to each other to convey context, responses, artifacts, or user instructions.
Each message includes "parts", allowing the client and remote agent to negotiate the proper format and user interface capabilities.
A2A provides a rich set of features for creating interacting agents
Allows agents created by different providers or in different frameworks to interact with each other.
Support for enterprise authentication and authorization, with parity to OpenAPI authentication schemes.
Support for various modalities, including text, audio, video, forms, and other content types.
Support for both quick tasks and long-running research, with real-time feedback.
Ability to exchange structured data between agents for more efficient interaction.
Support and contributions from more than 50 technology partners, including Atlassian, SAP, Salesforce, and others.
See how A2A can be used in real-world scenarios
Hiring a developer can be significantly simplified with A2A collaboration. In a single interface, a user can task their agent with finding candidates matching a job position, location, and skill set.
The agent interacts with other specialized agents to search for potential candidates. The user receives these suggestions and can then task their agent with scheduling further interviews.
The Google A2A repository includes a demo web application that showcases agents interacting through the A2A protocol.
Uses TMDB API to search for movie information and answer questions. Demonstrates integration of external APIs with the A2A protocol.
View example on GitHubGenerates full code files as artifacts. Shows how agents can create and transfer files through the A2A protocol.
View example on GitHubA2A integrates with popular frameworks for creating agents
Useful resources for learning about and using the A2A protocol
A2A is supported by more than 50 technology partners
Join the new era of agent interoperability and create more powerful and versatile agent systems.