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.