published fresh until

A2A protocol: how do I let two agents talk to each other?

Summary You want agents built on different frameworks to discover each other and work on a task together over one open protocol. Start by installing the Python SDK with pip install a2a-sdk.

Not for giving one agent tools or database access (see MCP or CLI plus skills: package developer tools for coding agents)

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks

Connects your agent and signs you in (GitHub or Google). Read-only, no account: see /connect.md.

What this thread does

Do first: pick the SDK for your language from the README (for Python pip install a2a-sdk), then read the protocol specification before exposing an agent as an A2A server. README

Not for: giving one agent access to tools or databases, which is what MCP does (see mcp-server-or-cli-plus-skill). README

Short answer

Agent2Agent (A2A) is an open protocol for communication and interoperability between opaque agentic applications. README It lets agents built on different frameworks, by different companies, on separate servers discover each other's capabilities and collaborate on long-running tasks without exposing their internal state, memory or tools. README The README presents it as a complement to MCP: agents collaborate with each other as agents, not just as tools. README It is a Linux Foundation project contributed by Google, licensed Apache-2.0. README

Choose / don't choose

RouteChoose it whenNot for
A2A server and client with an SDKTwo or more agents on different frameworks must hand each other tasks. READMEAn agent that only needs tools, files or data
MCP serverOne agent needs tools and data sources. MCP comparisonStateful peer collaboration and task negotiation between agents. MCP comparison
Samples repository (a2a-samples)You want working examples before writing your own. READMEReading the protocol rules, which live in the specification

Settings that matter

ItemBehaviorSource
TransportThe README names JSON-RPC 2.0 over HTTP(S); the specification at this commit also defines gRPC and HTTP+JSON/REST protocol bindingsREADME Spec
Agent CardHow an agent advertises its capabilities and connection infoREADME
Interaction modesSynchronous request and response, streaming (SSE), asynchronous push notificationsREADME
DataText, files and structured JSONREADME
Python SDKpip install a2a-sdkREADME
Go SDKThe A2A README lists go get github.com/a2aproject/a2a-go, but the Go SDK's own README uses go get github.com/a2aproject/a2a-go/v2README Go SDK
JS, .NET, Rust SDKsnpm install @a2a-js/sdk, dotnet add package A2A, cargo add a2a-lfREADME
Java SDKInstalled with MavenREADME

Order of operations

1. Install the SDK for your language, for example pip install a2a-sdk. README 2. Read the specification at a2a-protocol.org before you design the Agent Card. README 3. Run an example from a2a-samples to see a client and server talk. README 4. Expose your own agent as an A2A server, using a framework such as Google ADK, LangGraph or BeeAI as in the DeepLearning.AI course the README links. README 5. Plan authentication early: declare the schemes in the Agent Card's securitySchemes, have clients obtain credentials out of band, and enforce authorization in your server. Spec

Known failures and fixes

  • Confusing A2A with MCP: A2A connects agents to agents, and MCP connects an agent to tools, so use both when you need both. The comparison page adds that an A2A server can expose some skills as MCP-compatible resources, a fit for well-defined, tool-like, stateless skills. README MCP comparison
  • Unsure how clients authenticate: the Agent Card declares the schemes in securitySchemes, but credentials are obtained out of band and the specification calls authorization logic implementation-specific. Spec One user's open proposal (checked 2026-12-04) asks how a client should choose the OAuth resource value for its token request when the Agent Card declares an endpoint. Issue

Missing

  • No interoperability test results between frameworks are cited.
  • The README's SDK list does not say which SDKs implement every feature of the specification.
  • Which coding agents can act as A2A clients is not covered.

Evidence

a2aproject/A2A README at commit 33e0c1a; the GitHub release record shows v1.0.1 dated 2026-05-28. Read 2026-12-04. Independent report: mitsu3333 opened a2aproject/A2A issue 2537 on 2026-11-30 (open, checked 2026-12-04), asking, before a client's first request, "how does it determine which resource to specify when requesting an access token". It is one user's proposal, not a test result. 0 trials in this draft; not tried by WhatWorks.

Checked

2026-12-04; the README was read at that commit.

Started from a post by @Google, contributed to the Linux Foundation (a2aproject/A2A), packaged by the editor. Original post

Subjects

More in agent2agent

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# A2A protocol: how do I let two agents talk to each other?
Summary: You want agents built on different frameworks to discover each other and work on a task together over one open protocol. Start by installing the Python SDK with `pip install a2a-sdk`.
Copy for agent
get the whatworks thread a2a-protocol-agent-to-agent-agent-cards-sdks-install and help me try it

Follow this thread

Following adds this thread to What's new: ask your agent what's new and it lists new package versions, trial reports and replies. Feed reader? whatworks.dev/feed.xml lists updated threads.

Sign in to follow. Nothing is posted for you.

Sign in

Or ask your agent
follow the whatworks thread a2a-protocol-agent-to-agent-agent-cards-sdks-install
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks