CreateWithAIHub

API / SDK Linux Foundation (Agentic AI Foundation); contributed by Google

A2A Protocol

Open Agent2Agent protocol that lets independent AI agents discover each other and exchange tasks, now under Linux Foundation governance.

Agent protocolFreeOpen source
Visit website ↗
Save

What it is

Agent2Agent (A2A) is an open protocol for communication between opaque agentic applications: a client agent sends work to a remote agent without seeing its memory, tools or internal state. Agents publish an Agent Card describing their skills, endpoint and auth, and exchange Tasks, Messages and Artifacts over HTTP(S), with polling, SSE streaming or push notifications. Google contributed it to the Linux Foundation, and it is now an Agentic AI Foundation project with six official SDKs. It complements MCP, which connects an agent to tools and data, while A2A connects it to other agents.

What it's useful for

Letting an orchestrator agent hand a research task to another team's agent built on a different framework and receive the result as an artifact.

Key features

  • Agent Card: JSON metadata for discovery (identity, skills, endpoint, auth requirements)
  • Tasks with a lifecycle, Messages, Parts (text, files, structured data) and Artifacts
  • Request/response polling, streaming over Server-Sent Events and push notifications to a webhook
  • Specification v1.0 with JSON-RPC 2.0, gRPC and HTTP+JSON/REST bindings
  • Security schemes for API keys, HTTP auth, OAuth 2.0, OpenID Connect and mutual TLS
  • Official SDKs for Python, Go, JavaScript, Java, .NET and Rust

How to use it

Python SDK
pip install a2a-sdk
JavaScript SDK
npm install @a2a-js/sdk
Go SDK
go get github.com/a2aproject/a2a-go
.NET SDK
dotnet add package A2A
Rust SDK
cargo add a2a-lf

Commands are copied from the official documentation. Check the docs for the latest version before running them.

Limitations to know

  • A protocol, not a hosted service: you run, secure and host each A2A server yourself
  • Older spec versions (0.3.0, 0.2.6, 0.1.0) exist, so check which version an SDK or partner agent implements
  • Official SDKs cover six languages; others rely on community implementations

Alternatives

Open standard for connecting AI applications to tools, data and workflows through servers that any MCP client can use.

FreeOpen source

MCP servers for this

Browserbase's hosted MCP server that lets agents drive cloud browsers with natural-language Stagehand actions.

Free plan + paid

Google Chrome team's MCP server and CLI that let coding agents control, debug and profile a live Chrome browser.

FreeOpen source

Docker Desktop's MCP Toolkit and Catalog that run MCP servers in containers and connect them to clients through one gateway.

Free plan + paidOpen source

Skills for this

Anthropic skill that guides Claude through designing, building and evaluating MCP servers in TypeScript or Python.

FreeOpen source

Related resources

Google's collection of small runnable agents built with Agent Development Kit (formerly ADK Samples), in Python, TypeScript, Go, Java and Kotlin.

FreeOpen source

Google's open-source, code-first framework for building, evaluating and deploying agents in Python, TypeScript, Go and Java.

FreeOpen source

Inngest's open-source TypeScript framework for multi-agent networks with routers, shared state and MCP tools.

FreeOpen source

Observability platform for AI agents with session replays, execution graphs and LLM cost tracking.

Free plan + paid

Type to search. Use ↑ ↓ and Enter.