docs: Update References to Agent2Agent protocol to use correct terminology (#1162)

Should be `Agent2Agent Protocol` not `Agent-to-Agent` unless talking about general agent to agent communication

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
This commit is contained in:
Holt Skinner
2025-10-03 14:10:05 -05:00
committed by GitHub
Unverified
parent 32e7ff00b5
commit 50c532b4ae
8 changed files with 23 additions and 18 deletions
@@ -1,6 +1,6 @@
# A2A Agent Examples
This folder contains examples demonstrating how to create and use agents with the A2A (Agent-to-Agent) protocol from the `agent_framework` package to communicate with remote A2A agents.
This folder contains examples demonstrating how to create and use agents with the A2A (Agent2Agent) protocol from the `agent_framework` package to communicate with remote A2A agents.
For more information about the A2A protocol specification, visit: https://a2a-protocol.org/latest/
## Examples
@@ -28,4 +28,4 @@ For quick testing and demonstration, you can use the pre-built .NET A2A servers
```powershell
# Simple A2A sample (single agent)
uv run python agent_with_a2a.py
```
```
@@ -8,7 +8,7 @@ from a2a.client import A2ACardResolver
from agent_framework.a2a import A2AAgent
"""
Agent-to-Agent (A2A) Protocol Integration Sample
Agent2Agent (A2A) Protocol Integration Sample
This sample demonstrates how to connect to and communicate with external agents using
the A2A protocol. A2A is a standardized communication protocol that enables interoperability
@@ -53,12 +53,17 @@ async def main():
resolver = A2ACardResolver(httpx_client=http_client, base_url=a2a_agent_host)
# Get agent card
agent_card = await resolver.get_agent_card(relative_card_path="/.well-known/agent.json")
agent_card = await resolver.get_agent_card(
relative_card_path="/.well-known/agent.json"
)
print(f"Found agent: {agent_card.name} - {agent_card.description}")
# Create A2A agent instance
agent = A2AAgent(
name=agent_card.name, description=agent_card.description, agent_card=agent_card, url=a2a_agent_host
name=agent_card.name,
description=agent_card.description,
agent_card=agent_card,
url=a2a_agent_host,
)
# Invoke the agent and output the result