# A2A

> Open Agent2Agent protocol for cross-framework agent discovery and collaboration

- Category: Agents & Automation / Multi-Agent Systems
- Language: TypeScript
- Licence: Apache-2.0
- Repository: https://github.com/a2aproject/A2A
- Website: https://a2a-protocol.org/
- Canonical page: https://ai-tldr.dev/tools/a2a/

## In short

A2A — Agent2Agent — is an open protocol that lets AI agents built on different frameworks and platforms discover each other and work together on tasks without exposing their internal memory, prompts or tools. It sits in the Multi-Agent Systems category of the Agents & Automation tools and is open-source, written in TypeScript and licensed Apache-2.0.

## Overview

A2A — Agent2Agent — is an open protocol that lets AI agents built on different frameworks and platforms discover each other and work together on tasks without exposing their internal memory, prompts or tools. It is one piece of the emerging agent-interop stack alongside MCP for tool/data access; A2A is the layer where agents talk to other agents.

Communication runs as JSON-RPC 2.0 over HTTP(S). Each agent publishes an Agent Card describing what it can do and how to reach it, and peers can issue synchronous requests, receive streaming updates over Server-Sent Events, or get asynchronous push notifications. Messages can carry plain text, files and structured JSON so agents can exchange real artefacts rather than just chat.

The protocol was contributed by Google to the Linux Foundation as a vendor-neutral open standard. The main repository hosts the specification and samples; official SDKs are available in Python, JavaScript, Java, .NET, Go and Rust so teams can implement A2A in their existing stack without rebuilding the messaging layer themselves.

## What it does

- JSON-RPC 2.0 over HTTP(S) — a small, well-understood wire format
- Agent Cards advertise capabilities, endpoints, auth and supported modalities
- Sync requests, streaming via SSE, and async push notifications
- Carries text, files and structured JSON between agents
- Opacity-preserving: agents collaborate without exposing internal prompts or tools
- Official SDKs for Python, JavaScript, Java, .NET, Go and Rust

## Getting started

A2A is a protocol, so getting started means picking an SDK and installing it. The Python and JavaScript SDKs are the most common starting points; the spec lives at a2a-protocol.org.

1. Install an A2A SDK

   Pick the SDK for your stack. Python and JavaScript are shown here; Java, .NET, Go and Rust SDKs are also available.

```bash
pip install a2a-sdk
# or
npm install @a2a-js/sdk
```

2. Publish an Agent Card

   Each A2A agent exposes an Agent Card describing what it can do, how to call it, and which auth and modalities it supports. The spec defines the exact fields.

3. Read the specification

   For the wire format, message types and capability negotiation, see the canonical spec at a2a-protocol.org/latest/specification.

## When to use it

- Connect agents from different frameworks (LangChain, AutoGen, Semantic Kernel, …) so they can hand off tasks
- Build hierarchical or sequential multi-agent workflows where each agent is its own service
- Let internal agents discover and call partner agents across organisations without sharing prompts or tools
- Add agent-to-agent interop to an existing application without inventing a custom RPC layer
