How A2A relates to MCP
A2A and Model Context Protocol (MCP) serve different layers of an agentic system:| Protocol | Role |
|---|---|
| MCP | Agent-to-tool communication. Standardizes how an agent connects to APIs, databases, and resources. |
| A2A | Agent-to-agent communication. Standardizes how agents delegate tasks and exchange results with each other. |
What A2A enables in Lyzr
- Call a LangChain or CrewAI agent as a sub-agent inside a Lyzr Manager Agent
- Call a Lyzr agent from an external A2A client or orchestration layer
- Build multi-framework pipelines where each agent is built and maintained independently
How A2A works
- The Lyzr Manager Agent sends a task request to an external agent via its A2A server URL.
- The external agent processes the input using its own tools and logic.
- The external agent returns a structured response.
- Lyzr uses the response directly or passes it to the next step in the orchestration.
Connecting an A2A agent in Studio
In a Manager Agent’s Build tab:- Scroll to the Managerial Agent section.
- Select + A2A (next to + Agent).
- Enter the A2A server URL of the external agent.
- Write a Managerial Context that tells the manager when to invoke this external agent.