智能体互操作协议综述:模型上下文协议(MCP)、智能体通信协议(ACP)、智能体间协议(A2A)与智能体网络协议(ANP)
A survey of agent interoperability protocols: Model Context Protocol (MCP), Agent Communication Protocol (ACP), Agent-to-Agent Protocol (A2A), and Agent Network Protocol (ANP)
AI总结:
本综述比较MCP、ACP、A2A和ANP四种智能体互操作协议,分析其交互、发现、通信与安全特性,并提出从工具访问到去中心化市场的分阶段采用路线图,为构建可扩展的LLM智能体生态提供基础。
摘要:
由大型语言模型驱动的自主智能体需要健壮、标准化的协议来集成工具、共享上下文数据,并在异构系统间协调任务。临时集成难以跨领域扩展、保障安全并实现泛化。本综述考察了四种新兴的智能体通信协议:模型上下文协议(MCP)、智能体通信协议(ACP)、智能体间协议(A2A)和智能体网络协议(ANP),每种协议分别应对不同部署场景下的互操作性问题。MCP 提供基于 JSON-RPC 的客户端-服务器接口,用于安全的工具调用和类型化数据交换。ACP 定义了一种基于 RESTful HTTP 的通用通信协议,支持 MIME 类型的多部分消息以及同步和异步交互。其轻量级且与运行时无关的设计支持可扩展的智能体调用,同时具备会话管理、消息路由以及与基于角色的标识符和去中心化标识符(DIDs)集成等功能。A2A 利用基于能力的智能体卡片(Agent Cards)实现点对点任务委派,支持企业智能体工作流中的安全与可扩展协作。ANP 支持开放网络中的智能体发现,并使用 W3C 去中心化标识符(DIDs)和 JSON-LD 图实现安全协作。这些协议在多个维度上进行了比较,包括交互模式、发现机制、通信模式和安全模型。基于比较分析,提出了一条分阶段采用路线图:首先采用 MCP 实现工具访问,其次采用 ACP 实现结构化的、多模态的、感知会话的交互,以及跨可扩展的基于 HTTP 的部署进行在线和离线智能体发现,然后采用 A2A 实现协作任务执行,最后扩展到 ANP 以实现去中心化的智能体市场。这项工作为设计安全、可互操作且可扩展的 LLM 驱动智能体生态系统提供了全面的基础。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。