a2aproject/A2A

Agent2Agent (A2A) is an open protocol enabling communication and interoperability between opaque agentic applications.

What it solves

Agent2Agent (A2A) 是一个开放协议,旨在让基于不同框架(例如 Google ADK、LangGraph 或 BeeAI)且运行于不同服务器上的 AI 代理之间实现沟通与互操作性。它防止代理被孤立,让它们能够在不共享内部记忆、专有逻辑或特定工具实现的前提下,协同完成复杂任务。

How it works

A2A 提供一套通用语言,让代理通过 JSON-RPC 2.0 在 HTTP(S) 上交互。它使用“Agent Cards”进行发现,使代理能够找到并了解彼此的能力。该协议支持多种交互模式,包括同步请求/响应、流式(SSE)以及异步推送通知,并可交换文本、文件和结构化 JSON 数据。

Who it’s for

开发 AI 代理的开发者以及希望其代理能够在不同生态系统和框架之间发现并协作的企业。

Highlights

  • Standardized Communication: Uses JSON-RPC 2.0 over HTTP(S) for consistent interaction.
  • Agent Discovery: Employs Agent Cards to detail capabilities and connection information.
  • Opacity Preservation: Enables collaboration without exposing internal state, memory, or tools.
  • Multi-Framework Support: Compatible with SDKs for Python, Go, JS, DeepLearning.AI course integration, and others.
  • Enterprise-Ready: Built with a focus on security, authentication, and observability.