Skip to main content

Documentation Index

Fetch the complete documentation index at: https://agno-v2-fix-deploy-docs-restructure.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

A2A (Agent-to-Agent Protocol) is Google’s open standard for agent interoperability. Expose your Agno agents so other A2A-compatible systems can discover and communicate with them.
a2a_agent.py
from agno.agent import Agent
from agno.models.openai import OpenAIResponses
from agno.os import AgentOS

agent = Agent(
    name="Research Assistant",
    model=OpenAIResponses(id="gpt-5.4"),
    instructions="You help with research tasks.",
)

agent_os = AgentOS(
    agents=[agent],
    a2a_interface=True,
)
agent_os.serve(port=9001)
Install the dependency: uv pip install 'agno[a2a]'

The Protocol Stack

A2A is one layer of a three-protocol stack:
ProtocolPurpose
MCPAgents ↔ Tools & Data
A2AAgents ↔ Agents
AG-UIAgents ↔ Users

Quick Start

1

Run your agent

python a2a_agent.py
Your agent exposes A2A endpoints at http://localhost:9001/a2a/agents/{agent_id}/.
2

Discover the agent

Other A2A clients can fetch your agent’s card:
curl http://localhost:9001/a2a/agents/research-assistant/.well-known/agent-card.json
3

Send a message

curl -X POST http://localhost:9001/a2a/agents/research-assistant/v1/message:send \
  -H "Content-Type: application/json" \
  -d '{"message": {"role": "user", "parts": [{"text": "Hello!"}]}}'

Endpoints

Each agent, team, and workflow exposes three A2A endpoints:
EndpointPurpose
/.well-known/agent-card.jsonAgent discovery card
/v1/message:streamStreaming responses
/v1/message:sendNon-streaming responses

Developer Resources