# A2A Protocol

CreateWithAI Hub page: https://createwithaihub.com/apis-sdks/a2a-protocol
Latest version of this file: https://createwithaihub.com/apis-sdks/a2a-protocol.md

- Type: API / SDK · Category: APIs & SDKs
- Publisher: Linux Foundation (Agentic AI Foundation); contributed by Google
- Pricing: Free · License: Apache-2.0

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

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.

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

## Connection

- SDK language: Python, TypeScript / JS, Go, Java, C#

## Install steps from the official documentation

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
```

## Limitations

- 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

## Official links

- Website: https://a2a-protocol.org
- Source repository: https://github.com/a2aproject/A2A
- Documentation: https://a2a-protocol.org/latest/specification/
- Source: https://a2a-protocol.org/latest/ (Open protocol for opaque agentic applications; works with MCP; A2A v1.0 spec; 6 official SDKs; Apache 2.0; Linux Foundation neutral governance)
- Source: https://a2a-protocol.org/latest/topics/key-concepts/ (Actors, Agent Card, Task, Message, Part, Artifact; polling, SSE streaming, push notifications; HTTP(S) with JSON-RPC 2.0)
- Source: https://a2a-protocol.org/latest/specification/ (Latest version 1.0.0 (earlier 0.3.0, 0.2.6, 0.1.0); JSON-RPC, gRPC and HTTP+JSON/REST bindings; security schemes)
- Source: https://github.com/a2aproject/A2A (SDK install commands; 'open source project under the Linux Foundation, contributed by Google'; latest release v1.0.1 (May 28, 2026))
- Source: https://raw.githubusercontent.com/a2aproject/A2A/main/LICENSE (Apache License 2.0)
- Source: https://aaif.io/about (Agentic AI Foundation under the Linux Foundation hosts Agent2Agent (A2A))
