# Agent2Agent

**Agent2Agent**（A2A）是一项开放协议，由谷歌（Google）创建，于2025年4月9日发布，定义了一种标准方式，使独立的AI智能体能够相互发现、安全地交换信息，并跨系统协作，而不论它们构建于何种框架、厂商或平台之上。<sup>[1](https://developers.googleblog.com/en/a2a-a-new-era-of-agent-interoperability/)</sup><sup> • </sup><sup>[2](https://www.linuxfoundation.org/press/linux-foundation-launches-the-agent2agent-protocol-project-to-enable-secure-intelligent-communication-between-ai-agents?trk=article-ssr-frontend-pulse_little-text-block)</sup> 它针对的情形是：企业部署了来自多个技术供应商的智能体系统，需要这些智能体协同工作，而不必为每一对智能体之间定制连接。<sup>[3](https://www.axios.com/2026/08/17/a2a-agentic-ai-foundation-open-ai-standards)</sup>

| 关键事实 | 详情 |
|---|---|
| 发布时间 | 2025年4月9日，由谷歌发布，发布时已有50多家技术合作伙伴<sup>[1](https://developers.googleblog.com/en/a2a-a-new-era-of-agent-interoperability/)</sup><sup> • </sup><sup>[4](https://agentndx.ai/blog/a2a-protocol-adoption-mid-2026/)</sup> |
| 治理 | 2025年6月23日捐赠给Linux基金会；2026年8月作为成长阶段项目转入智能体AI基金会（AAIF）<sup>[5](https://opensource.googleblog.com/2026/04/a-year-of-open-collaboration-celebrating-the-anniversary-of-a2a.html)</sup><sup> • </sup><sup>[3](https://www.axios.com/2026/08/17/a2a-agentic-ai-foundation-open-ai-standards)</sup> |
| 技术基础 | 构建于HTTP、SSE和JSON-RPC等现有标准之上<sup>[1](https://developers.googleblog.com/en/a2a-a-new-era-of-agent-interoperability/)</sup> |
| 首个稳定版本 | v1.0，首个可用于生产环境的规范，由来自八家大型科技公司的代表组成的技术指导委员会指导制定<sup>[6](https://github.com/a2aproject/A2A/blob/main/docs/announcing-1.0.md)</sup> |
| 采用情况 | 截至2026年4月，支持组织超过150家，高于发布时的50多家；核心代码库在GitHub上获得超过22,000颗星<sup>[7](https://www.linuxfoundation.org/press/a2a-protocol-surpasses-150-organizations-lands-in-major-cloud-platforms-and-sees-enterprise-production-use-in-first-year)</sup> |
| 与MCP的关系 | 互补：A2A处理独立智能体之间的通信，而模型上下文协议（MCP）连接AI应用与工具和数据<sup>[3](https://www.axios.com/2026/08/17/a2a-agentic-ai-foundation-open-ai-standards)</sup> |
| SDK | 从单一的Python实现发展为五种可用于生产环境的语言：Python、JavaScript、Java、Go和.NET<sup>[7](https://www.linuxfoundation.org/press/a2a-protocol-surpasses-150-organizations-lands-in-major-cloud-platforms-and-sees-enterprise-production-use-in-first-year)</sup> |

## 目的与设计原则

A2A将智能体视为智能体，而非工具。谷歌的公告指出，该协议使智能体能够以其自然的、非结构化的方式协作，即使它们不共享记忆、工具或上下文，从而支持多智能体场景，而不将智能体局限于工具的角色。<sup>[1](https://developers.googleblog.com/en/a2a-a-new-era-of-agent-interoperability/)</sup> 发布时公布的设计原则包括：拥抱这些智能体能力；构建于HTTP、SSE和JSON-RPC等现有标准之上，使协议能够融入现有IT技术栈；默认安全，支持企业级身份认证与授权，发布时与OpenAPI的认证方案对等；支持长时间运行的任务，从快速请求到可能耗时数小时或数天的深度研究，全程提供实时反馈、通知和状态更新。<sup>[1](https://developers.googleblog.com/en/a2a-a-new-era-of-agent-interoperability/)</sup>

该协议与框架无关。谷歌将其描述为使不同生态系统中的智能体能够通信，而不论它们构建于何种框架（ADK、[LangGraph](https://www.edgepedia.org/zh/langgraph)、Crew.ai或其他）或厂商。<sup>[8](https://cloud.google.com/blog/products/ai-machine-learning/build-and-manage-multi-system-agents-with-vertex-ai?e=48754805&linkId=13904564)</sup> 在谷歌云（Google Cloud）的多智能体系统参考架构中，智能体通过A2A通信，而不论其编程语言和运行时，并可部署为无服务器的Cloud Run服务、谷歌Kubernetes引擎上的容器化应用，或Gemini企业智能体平台上的Agent Runtime。<sup>[9](https://docs.cloud.google.com/architecture/multiagent-ai-system)</sup>

## 协议如何运作

**发现。** 每个A2A服务器都必须提供一份Agent卡，即一份描述服务器身份、能力、技能和交互要求的文档。客户端通过预定义的URI（`https://{server_domain}/.well-known/agent-card.json`）、经过整理的注册表或目录，或直接配置来找到Agent卡。卡中按偏好顺序声明智能体支持的协议接口，客户端选择第一个受支持的传输方式。<sup>[10](https://a2a-protocol.org/v1.0.1/specification/)</sup> Agent卡可以使用JSON Web签名（JWS，RFC 7515）进行数字签名，以便客户端验证卡未被篡改且来自所声称的提供方。<sup>[10](https://a2a-protocol.org/v1.0.1/specification/)</sup>

**通信。** 客户端向智能体发送消息以发起或继续任务。核心操作包括`SendMessage`、`SendStreamingMessage`（通过服务器发送事件让客户端订阅实时更新）、`GetTask`、`ListTasks`、`CancelTask`、`SubscribeToTask`以及推送通知配置方法。已到达终态（已完成、已取消、已拒绝或已失败）的任务不能重新启动。<sup>[10](https://a2a-protocol.org/v1.0.1/specification/)</sup><sup> • </sup><sup>[11](https://a2a-protocol.org/pr-849/specification/)</sup> v1.0规范支持三种传输绑定：JSON-RPC、gRPC和REST，均通过HTTP [POST](https://www.edgepedia.org/zh/post-http)请求实现。<sup>[10](https://a2a-protocol.org/v1.0.1/specification/)</sup>

**安全模型。** A2A依赖标准Web安全实践而非专有机制：传输使用HTTPS；认证委托给[OAuth 2.0](https://www.edgepedia.org/zh/oauth-2-0)、[OpenID Connect](https://www.edgepedia.org/zh/openid-connect)、API密钥、mTLS和HTTP Auth等标准HTTP机制，安全要求在Agent卡中使用与OpenAPI兼容的安全方案定义来声明。<sup>[12](https://deepwiki.com/a2aproject/A2A/2.8-security-and-authentication)</sup> 协议期望在HTTP层进行认证，而非在消息负载中。<sup>[13](https://github.com/a2aproject/a2a-dotnet/blob/main/docs/security.md)</sup> 授权边界由每个智能体自身的[授权](https://www.edgepedia.org/zh/authorization)模型定义，而非由协议规定。<sup>[14](https://agentic-web.one/a2a/reference/specification/)</sup>

## 治理历史

谷歌于2025年4月9日发布A2A，并以开源方式发布规范，提供贡献途径，同时表示打算在当年晚些时候推出可用于生产环境的版本。<sup>[1](https://developers.googleblog.com/en/a2a-a-new-era-of-agent-interoperability/)</sup> 2025年6月23日，在丹佛举行的北美开源峰会上，谷歌将该协议捐赠给Linux基金会，后者启动了A2A项目，将其作为厂商中立、社区治理的标准；彼时该协议已获得100多家科技公司的支持。<sup>[5](https://opensource.googleblog.com/2026/04/a-year-of-open-collaboration-celebrating-the-anniversary-of-a2a.html)</sup><sup> • </sup><sup>[2](https://www.linuxfoundation.org/press/linux-foundation-launches-the-agent2agent-protocol-project-to-enable-secure-intelligent-communication-between-ai-agents?trk=article-ssr-frontend-pulse_little-text-block)</sup> 社区发布了A2A协议v1.0，即首个稳定、可用于生产环境的版本，技术指导委员会由八家大型科技公司的代表组成。<sup>[6](https://github.com/a2aproject/A2A/blob/main/docs/announcing-1.0.md)</sup> 2026年8月，A2A从Linux基金会更广泛的项目组合中转入智能体AI基金会——该基金会专门聚焦智能体AI——成为与MCP并列的托管成长阶段项目。<sup>[3](https://www.axios.com/2026/08/17/a2a-agentic-ai-foundation-open-ai-standards)</sup><sup> • </sup><sup>[15](https://a2a-protocol.org/latest/blog/2026/08/27/a-new-chapter-for-a2a-joining-the-agentic-ai-foundation/)</sup>

## 采用与生态

在2026年4月的一周年之际，Linux基金会报告称，支持组织已从发布时的50多家增长到150多家，包括AWS、思科（Cisco）、谷歌、IBM、微软（Microsoft）、Salesforce、SAP和[ServiceNow](https://www.edgepedia.org/zh/servicenow)，并在供应链、金融服务、保险和IT运维领域有活跃的生产部署。<sup>[7](https://www.linuxfoundation.org/press/a2a-protocol-surpasses-150-organizations-lands-in-major-cloud-platforms-and-sees-enterprise-production-use-in-first-year)</sup> 主要云平台直接嵌入了该协议：微软将A2A集成到[Azure AI Foundry](https://www.edgepedia.org/zh/azure-ai-foundry)和[Copilot Studio](https://www.edgepedia.org/zh/copilot-studio)中，AWS通过Amazon Bedrock AgentCore Runtime添加了支持。<sup>[7](https://www.linuxfoundation.org/press/a2a-protocol-surpasses-150-organizations-lands-in-major-cloud-platforms-and-sees-enterprise-production-use-in-first-year)</sup> Adobe等合作伙伴使用A2A使其分布式智能体与谷歌云生态系统中的智能体实现互操作，标普全球市场财智（S&P Global Market Intelligence）则将其采纳为智能体间通信协议。<sup>[16](https://cloud.google.com/blog/products/ai-machine-learning/agent2agent-protocol-is-getting-an-upgrade)</sup>

该协议还扩展到了经济协调领域。智能体支付协议（AP2）支持安全的、由智能体驱动的交易，支付和金融服务领域有60多家组织支持该倡议。<sup>[7](https://www.linuxfoundation.org/press/a2a-protocol-surpasses-150-organizations-lands-in-major-cloud-platforms-and-sees-enterprise-production-use-in-first-year)</sup> 谷歌云扩展了其Vertex GenAI评估服务以支持A2A[智能体评估](https://www.edgepedia.org/zh/agent-evaluation)，并开设了AI智能体市场，合作伙伴可以在其中向客户销售A2A智能体。<sup>[16](https://cloud.google.com/blog/products/ai-machine-learning/agent2agent-protocol-is-getting-an-upgrade)</sup>

## 与MCP及其他协议的关系

A2A与[模型上下文协议](https://www.edgepedia.org/zh/model-context-protocol)占据智能体技术栈中互补的层次。MCP由[Anthropic](https://www.edgepedia.org/zh/anthropic)创建，同样在Linux基金会治理下托管，标准化AI应用如何连接工具和数据源；A2A标准化独立智能体之间如何通信。官方文档建议应用使用MCP连接工具、使用A2A连接智能体。<sup>[17](https://codelabs.developers.google.com/intro-a2a-purchasing-concierge)</sup><sup> • </sup><sup>[3](https://www.axios.com/2026/08/17/a2a-agentic-ai-foundation-open-ai-standards)</sup> 它们与AGNTCY（用于智能体发现和管理）和agentgateway（用于安全路由）等相关项目一起，构成了一个旨在防止厂商间碎片化的互操作技术栈。<sup>[18](https://www.linuxfoundation.org/hubfs/Publications/2025%20Linux%20Foundation%20Annual%20Report_121825a_lr.pdf)</sup>

学术比较指出了权衡取舍。一项基于实现的MCP与A2A智能体间协调研究发现在受限的基于LLM的系统中，MCP可以以相对轻量的实现模型和较低的协调复杂度支持智能体间协调，但对话状态管理和任务生命周期处理必须在应用层显式实现，而这些能力A2A原生提供。<sup>[19](https://arxiv.org/abs/2607.23884)</sup> 一项延迟基准测试发现，对于轻量级协调，基线A2A SDK实现在两种硬件环境上比NLIP协议慢8.4至9.6倍，在第三种硬件上慢约4倍，差距几乎完全来自连接建立；启用连接缓存后，缓存优化的A2A SDK在更快的硬件上接近持平，而对于由LLM推理主导的端到端流水线，各协议接近持平。<sup>[20](https://arxiv.org/abs/2610.04053)</sup>

## 安全分析

安全研究人员已经审视了A2A的威胁面。一项对MCP、A2A、Agora和智能体网络协议（Agent Network Protocol）的比较性威胁建模研究识别出十二项协议级风险，并指出智能体通信协议的标准化威胁建模仍然有限，尚未建立以协议为中心的风险评估框架。<sup>[21](https://arxiv.org/abs/2602.11327)</sup> 红帽（Red Hat）的开发者指南指出，A2A不包含任何针对跨智能体提示注入的特定安全控制，因此仅依赖协议原生提供的能力的实现可能留下可被利用的漏洞。<sup>[22](https://developers.redhat.com/articles/2025/08/19/how-enhance-agent2agent-security)</sup> 截至v0.3，A2A支持但不强制Agent卡签名。<sup>[23](https://semgrep.dev/blog/2025/a-security-engineers-guide-to-the-a2a-protocol/)</sup> 2026年，一项名为A2ABreak的系统性安全研究记录了三类攻击：利用缺乏保护的上下文标识符跨客户端注入上下文；在委托链中身份经过多跳后丢失时收集凭据；以及通过发布未经证明的能力声明的恶意智能体窃取数据。<sup>[24](https://arxiv.org/abs/2609.10871)</sup> 一项聚焦治理的五种互操作协议（MCP、A2A、ACP、ANP和ERC-8004）研究发现，所有五种协议都缺少投票和异议保留机制，审议机制缺失或至多部分存在，且没有任何一种编码了受治理智能体社区所需的完整原语集合。<sup>[25](https://arxiv.org/abs/2606.31498)</sup>

独立从业者也对采用的深度提出了质疑。

## References

1. [Announcing the Agent2Agent Protocol (A2A), Google Developers Blog, April 9, 2025](https://developers.googleblog.com/en/a2a-a-new-era-of-agent-interoperability/)
2. [Linux Foundation Launches the Agent2Agent Protocol Project, June 23, 2025](https://www.linuxfoundation.org/press/linux-foundation-launches-the-agent2agent-protocol-project-to-enable-secure-intelligent-communication-between-ai-agents?trk=article-ssr-frontend-pulse_little-text-block)
3. [Google-backed agentic A2A protocol gets a new home, Axios, August 17, 2026](https://www.axios.com/2026/08/17/a2a-agentic-ai-foundation-open-ai-standards)
4. [A2A Protocol Adoption: Where Things Stand in Mid-2026, AgentNDX](https://agentndx.ai/blog/a2a-protocol-adoption-mid-2026/)
5. [A year of open collaboration: Celebrating the anniversary of A2A, Google Open Source Blog](https://opensource.googleblog.com/2026/04/a-year-of-open-collaboration-celebrating-the-anniversary-of-a2a.html)
6. [A2A Protocol Ships v1.0, a2aproject/A2A on GitHub](https://github.com/a2aproject/A2A/blob/main/docs/announcing-1.0.md)
7. [A2A Protocol Surpasses 150 Organizations, Linux Foundation, April 9, 2026](https://www.linuxfoundation.org/press/a2a-protocol-surpasses-150-organizations-lands-in-major-cloud-platforms-and-sees-enterprise-production-use-in-first-year)
8. [Build and manage multi-system agents with Vertex AI, Google Cloud Blog](https://cloud.google.com/blog/products/ai-machine-learning/build-and-manage-multi-system-agents-with-vertex-ai?e=48754805&linkId=13904564)
9. [Multi-agent AI system in Google Cloud, Cloud Architecture Center](https://docs.cloud.google.com/architecture/multiagent-ai-system)
10. [A2A Protocol Specification, v1.0.1](https://a2a-protocol.org/v1.0.1/specification/)
11. [A2A Protocol Specification (draft)](https://a2a-protocol.org/pr-849/specification/)
12. [Security & Authentication, a2aproject/A2A, DeepWiki](https://deepwiki.com/a2aproject/A2A/2.8-security-and-authentication)
13. [a2a-dotnet security documentation, a2aproject on GitHub](https://github.com/a2aproject/a2a-dotnet/blob/main/docs/security.md)
14. [Agent2Agent (A2A) Protocol Specification, Release Candidate v1.0, Open Protocols Portal](https://agentic-web.one/a2a/reference/specification/)
15. [A New Chapter for A2A: Joining the Agentic AI Foundation, a2a-protocol.org, August 27, 2026](https://a2a-protocol.org/latest/blog/2026/08/27/a-new-chapter-for-a2a-joining-the-agentic-ai-foundation/)
16. [Agent2Agent protocol (A2A) is getting an upgrade, Google Cloud Blog](https://cloud.google.com/blog/products/ai-machine-learning/agent2agent-protocol-is-getting-an-upgrade)
17. [Getting Started with Agent2Agent (A2A) Protocol, Google Codelabs](https://codelabs.developers.google.com/intro-a2a-purchasing-concierge)
18. [2025 Linux Foundation Annual Report](https://www.linuxfoundation.org/hubfs/Publications/2025%20Linux%20Foundation%20Annual%20Report_121825a_lr.pdf)
19. [A Comparative Study of MCP and A2A for Inter-Agent Coordination in LLM-Based Systems, arXiv:2607.23884](https://arxiv.org/abs/2607.23884)
20. [The Cost of a Hop: Benchmarking NLIP and A2A, arXiv:2610.04053](https://arxiv.org/abs/2610.04053)
21. [Security Threat Modeling for Emerging AI-Agent Protocols, arXiv:2602.11327](https://arxiv.org/abs/2602.11327)
22. [How to enhance Agent2Agent (A2A) security, Red Hat Developer, August 19, 2025](https://developers.redhat.com/articles/2025/08/19/how-enhance-agent2agent-security)
23. [A Security Engineer's Guide to the A2A Protocol, Semgrep](https://semgrep.dev/blog/2025/a-security-engineers-guide-to-the-a2a-protocol/)
24. [A2ABreak: Systematic Security Analysis of the A2A Protocol, arXiv:2609.10871](https://arxiv.org/abs/2609.10871)
25. [Governance Gaps in Agent Interoperability Protocols, arXiv:2606.31498](https://arxiv.org/abs/2606.31498)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 11, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › AI companies, people, and products › AI products and assistants › AI agents and developer tools

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/agent2agent

English original: https://www.edgepedia.org/agent2agent
