arXiv:2604.09744cs.MAcs.AI2026-04被引 1

解决多个独立主人的AI代理协同难题,实现高效无冲突协作。

MPAC: A Multi-Principal Agent Coordination Protocol for Interoperable Multi-Agent Collaboration

  • 设计多主导者协同协议,通过五层语义明确协作流程
  • 代码评审测试中协同开销降95%,速度提升4.8倍
  • 适合跨组织、家庭等多主体协作场景,支持人类介入仲裁

AI代理生态目前依赖两种协议:模型上下文协议(MCP)用于工具调用,代理间协议(A2A)用于单主导者任务委派。两者均假设单一控制方,即一人或一机构拥有所有代理。当独立主导者的代理需在共享状态上协作时——如工程师的编码代理共同编辑同一仓库、家人规划旅行、不同组织的代理协商决策——现有协议失效,协作退化为临时聊天、手动合并或静默覆盖。本文提出MPAC(多主导者代理协同协议),一种应用层协议,填补此空白,通过会话、意图、操作、冲突和治理五层显式协同语义实现跨主协调。MPAC将意图声明设为行动前提,将冲突表示为结构化对象,并通过可插拔治理层支持人类介入仲裁。规范定义了21种消息类型、三个具有规范转移表的状态机、兰波特时钟因果水印、两种执行模型、三种安全配置,以及对共享状态的乐观并发控制。我们发布了基于Python和TypeScript的两个互操作参考实现,含223个测试、一套JSON Schema和七个实时多代理演示。三代理代码评审基准测试显示,相比串行人工中介基线,协调开销降低95%,实际运行时间提升4.8倍,且每代理决策时间保持不变。加速源于消除协调等待,而非压缩模型调用。规范、实现与演示均开源。

原文摘要 · Abstract (English)

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.

多智能体协同协议分布式系统开源工具

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。