AgentRoom:基于CRDT的共享工作区中的并发多智能体编码

·

观点分析 · 2026/08/27

AgentRoom 是一个基于 CRDT 的实时协作编辑协议,旨在解决多智能体编码中的并发协调问题。它通过文件级声明、状态和广播的 MCP 工具,在共享文件系统上实现多智能体的并行协作。实验表明,在计算资源匹配的情况下,AgentRoom 相比单智能体和并行合并方法,能减少任务放弃率,提高稳定性,并展现出更好的协调效果。

该论文提出了一种新颖的多智能体协作协议,通过 CRDT 实现实时协调,实验设计严谨,结果具有启发性,对多智能体系统设计有重要参考价值。

Concurrent multi-agent coding promises division of labor across modules, robustness through redundancy, and parallel exploration at the natural granularity of multi-file projects. Realtime collaborative editing protocols solve this coordination problem for human teams via Conflict-free Replicated Data Types (CRDTs), but the LLMs underneath generate one token at a time and existing multi-agent coding systems inherit this serial limit: they either sequence agents through phase handoffs or pool independent samples without coordination, and a single agent abandons up to half of hard tasks with a one-file stub-and-exit. AgentRoom is a realtime collaborative editing protocol for concurrent coding agents. Its runtime layer exposes file-level claim, status, and broadcast as MCP tools on a CRDT-merged shared filesystem. Five frontier coding-CLI models ran four backend coding tasks, with cross-language checks in Python DevBench and Rust+axum. For CLI-stable models, AgentRoom with 2 agents abandons fewer tasks than Solo and has less run-to-run variation. At matched-compute, one positive mean LLM-judge contrast puts AgentRoom over parallel-merge. The other contrast, a bundle probe, puts full AgentRoom above each partial case: an ordering rather than a percentage split. Coordination, not parallelism or CRDT-merge, bears the load.

阅读原文

参与讨论