← 首页|学术|AgentRoom: Concurrent Multi-Agent Coding in a CRDT-Backed Shared Workspace
cs.AI, cs.SE · 2608.23740 · 2026-08-24

AgentRoom: Concurrent Multi-Agent Coding in a CRDT-Backed Shared Workspace

Seonglae Cho, Donghyun Lee
Multi-Agent CodingCRDTCoordination
💬 把人类团队用来解决实时协同编辑冲突的 CRDT 协议搬给并发编码 agent;发现真正提升效果的是"协调机制"本身,而不是并行度或 CRDT 合并技术本身。

🎯 背景

并发多智能体编码承诺了模块化分工、冗余带来的鲁棒性、以及在多文件项目粒度上的并行探索。实时协同编辑协议(CRDT)为人类团队解决了这个协调问题,但 LLM 底层是逐 token 生成的,现有多智能体编码系统继承了这种串行限制:要么用阶段交接把 agent 排成序列,要么无协调地汇总各自独立的样本;单个 agent 在近一半困难任务上会用"只写一个文件的 stub 就退出"来放弃。

🔬 方法

AgentRoom 是面向并发编码 agent 的实时协同编辑协议。其运行时层在一个由 CRDT 合并的共享文件系统上,把文件级的 claim(认领)、status(状态)、broadcast(广播)作为 MCP 工具暴露给 agent。

📊 结果

5 个前沿 coding-CLI 模型运行了 4 个后端编码任务(含跨语言检查:Python DevBench 和 Rust+axum)。对于 CLI 表现稳定的模型,2-agent 版本的 AgentRoom 比单 agent(Solo)放弃更少任务、运行间波动更小;在匹配算力的条件下,一项正向的 LLM-judge 对比显示 AgentRoom 优于 parallel-merge;另一项对比(bundle probe)显示完整版 AgentRoom 优于任何部分方案——这是一种顺序效应而非简单的比例拆分。论文的核心结论是:真正承担效果的是协调机制本身,而非单纯的并行度或 CRDT 合并技术。

原文摘要

▶ Abstract
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.
来源: arXiv:2608.23740 · 精读由高松灯生成,基于摘要与 arXiv 页面信息