MPAC:一种多主代理协调协议用于互操作性多代理协作
MPAC: A Multi-Principal Agent Coordination Protocol for Interoperable Multi-Agent Collaboration
AI总结:
本文提出MPAC协议,解决多主代理共享状态协调问题,通过五层结构实现显式协调语义,减少协调开销并提升执行效率。
摘要:
人工智能代理生态系统已确定两种协议:模型上下文协议(MCP)用于工具调用,以及代理到代理(A2A)用于单主任务委托。两者均假设单一控制主,即一个个人或组织拥有所有代理。当独立主的代理必须在共享状态上协调时,例如工程师的编码代理编辑相同仓库,家庭成员计划共享旅行,或不同组织的代理协商联合决定,这两种协议均不适用,协调退化为随意聊天、手动合并或静默覆盖。本文提出MPAC(多主代理协调协议),一种应用层协议,通过五层结构(会话、意图、操作、冲突和治理)填补这一空白。MPAC使意图声明成为行动的前提,将冲突表示为结构化对象,并通过可插拔的治理层支持人工在循环仲裁。规范定义了21种消息类型,三个带有规范转换表的状态机,Lamport时钟因果水印,两种执行模型,三个安全配置文件,以及共享状态上的乐观并发控制。我们发布了两个互操作性参考实现,使用Python和TypeScript,包含223个测试,JSON Schema套件和七个实时多代理演示。一个受控的三代理代码审查基准测试显示,协调开销减少了95%,与串行人工调解基线相比,实时时钟速度提升了4.8倍,同时保持每个代理的决策时间。速度提升来自消除协调等待,而非压缩模型调用。规范、实现和演示都是开源的。
英文摘要:
The AI agent ecosystem has converged on two protocols: the Model Context Protocol (MCP) for tool invocation and Agent-to-Agent (A2A) for single-principal task delegation. Both assume a single controlling principal, meaning one person or organization that owns every agent. When independent principals' agents must coordinate over shared state, such as engineers' coding agents editing the same repository, family members planning a shared trip, or agents from different organizations negotiating a joint decision, neither protocol applies, and coordination collapses to ad-hoc chat, manual merging, or silent overwrites. We present MPAC (Multi-Principal Agent Coordination Protocol), an application-layer protocol that fills this gap with explicit coordination semantics across five layers: Session, Intent, Operation, Conflict, and Governance. MPAC makes intent declaration a precondition for action, represents conflicts as first-class structured objects, and supports human-in-the-loop arbitration through a pluggable governance layer. The specification defines 21 message types, three state machines with normative transition tables, Lamport-clock causal watermarking, two execution models, three security profiles, and optimistic concurrency control on shared state. We release two interoperable reference implementations in Python and TypeScript with 223 tests, a JSON Schema suite, and seven live multi-agent demos. A controlled three-agent code review benchmark shows a 95 percent reduction in coordination overhead and a 4.8 times wall-clock speedup versus a serialized human-mediated baseline, with per-agent decision time preserved. The speedup comes from eliminating coordination waits, not compressing model calls. Specification, implementations, and demos are open source.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。