[论文解读] A survey of agent interoperability protocols: Model Context Protocol (MCP), Agent Communication Protocol (ACP), Agent-to-Agent Protocol (A2A), and Agent Network Protocol (ANP)
本综述分析四种代理互操作协议——MCP、ACP、A2A、ANP,并提出分阶段采用路线图,以实现安全、可扩展且去中心化的由大型语言模型驱动的代理生态系统。
Large language model powered autonomous agents demand robust, standardized protocols to integrate tools, share contextual data, and coordinate tasks across heterogeneous systems. Ad-hoc integrations are difficult to scale, secure, and generalize across domains. This survey examines four emerging agent communication protocols: Model Context Protocol (MCP), Agent Communication Protocol (ACP), Agent-to-Agent Protocol (A2A), and Agent Network Protocol (ANP), each addressing interoperability in deployment contexts. MCP provides a JSON-RPC client-server interface for secure tool invocation and typed data exchange. ACP defines a general-purpose communication protocol over RESTful HTTP, supporting MIME-typed multipart messages and synchronous and asynchronous interactions. Its lightweight and runtime-independent design enables scalable agent invocation, while features like session management, message routing, and integration with role-based and decentralized identifiers (DIDs). A2A enables peer-to-peer task delegation using capability-based Agent Cards, supporting secure and scalable collaboration across enterprise agent workflows. ANP supports open network agent discovery and secure collaboration using W3C decentralized identifiers DIDs and JSON-LD graphs. The protocols are compared across multiple dimensions, including interaction modes, discovery mechanisms, communication patterns, and security models. Based on the comparative analysis, a phased adoption roadmap is proposed: beginning with MCP for tool access, followed by ACP for structured, multimodal messaging session-aware interaction and both online and offline agent discovery across scalable, HTTP-based deployments A2A for collaborative task execution, and extending to ANP for decentralized agent marketplaces. This work provides a comprehensive foundation for designing secure, interoperable, and scalable ecosystems of LLM-powered agents.
研究动机与目标
- 评估云、边缘和桌面环境中LLM驱动自治代理的互操作性挑战。
- 回顾四种新兴协议(MCP、ACP、A2A、ANP)及其架构、能力和安全性考量。
- 在交互模式、发现机制、通信模式与安全模型方面进行对比分析。
- 提出分阶段采用路线图以引导可互操作代理生态系统的真实世界部署。
提出的方法
- 描述每种协议(MCP、ACP、A2A、ANP)的架构、原语和安全性考量。
- 在交互模式、发现机制、通信模式和安全框架方面比较协议。
- 综合提出分阶段采用路线图(MCP → ACP → A2A → ANP)以实现可扩展、安 全的部署。
实验结果
研究问题
- RQ1MCP、ACP、A2A、ANP的核心架构差异与能力是什么?
- RQ2这些协议如何在异构代理系统中解决发现、通信、安全性和互操作性?
- RQ3在真实世界LLM驱动生态系统中分阶段采用这些协议的实际路线图是什么?
主要发现
- MCP提供用于安全上下文摄取和工具调用的JSON-RPC客户端-服务器接口。
- ACP定义了一种通用RESTful HTTP协议,使用MIME类型的多部分消息,并支持会话管理和RBAC/DID集成。
- A2A使点对点、基于能力的协作成为可能,使用Agent Cards并支持异步、事件驱动通信。
- ANP通过W3C DIDs和JSON-LD图实现开放网络发现和安全协作。
- 对四种协议在交互模式、发现、通信和安全方面的权衡进行了比较分析。
- 提出分阶段采用路线图:先从MCP实现工具访问,然后通过ACP实现多模态消息传递和会话感知交互,接着实现A2A的协作任务执行,最后通过ANP实现去中心化的代理市场。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。