A2A (Agent-to-Agent) Protocol
note
This package wraps the official A2A SDK for both server and client.
A2A (Agent-to-Agent) is a protocol designed to enable agents to communicate and collaborate programmatically. This package allows you to integrate the A2A protocol into your Teams app, making your agent accessible to other A2A clients and enabling your app to interact with other A2A servers.
Install the package:
npm install @microsoft/teams.a2a
What does this package do?​
- A2A Server: Enables your Teams agent to act as an A2A server, exposing its capabilities to other agents through the
/a2a
endpoint and serving an agent card at/a2a/.well-known/agent-card.json
. - A2A Client: Allows your Teams app to proactively reach out to other A2A servers as a client, either through direct
AgentManager
usage or integrated withChatPrompt
for LLM-driven interactions.
High-level Architecture​
A2A Server​
A2A Client​
Protocol Details​
For detailed information about the A2A protocol, including agent card structure, message formats, and protocol specifications, see the official A2A Protocol Documentation.