Manuscript Offprint

arXiv:2608.23740

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

Seonglae Cho, Donghyun Lee

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

1 Introduction

Multi-agent coding systems [Qian et al., 2024, Hong et al., 2024, Nguyen et al., 2024, Huang et al., 2024, Ishibashi and Nishimura, 2024, Pan et al., 2026, Islam et al., 2025, Peng et al., 2026, Zhu et al., 2025, Wu et al., 2023, Wang et al., 2025, Park et al., 2023, Chen et al., 2023, Shinn et al., 2023, Ashrafi et al., 2025, Grötschla et al., 2025, Shafin et al., 2025] predominantly use sequential turn-taking: design → implement → review, each agent waiting for the previous. Implicit concurrent coordination via CRDTs has been explored [Pugachev, 2025] but with mixed results (21% speedup / 39% slowdown across tasks). Whether explicit coordination on a CRDT-merged shared workspace can outperform both the sequential and the implicit-CRDT alternatives at matched compute is the question we address.

System. AgentRoom is a state-management room for concurrent coding agents: a structured runtime object with file-level claim semantics, an append-only broadcast log, and each agent's status, exposed to agents as a small set of Model Context Protocol (MCP) tools (room_claim, room_release, room_state, room_broadcast, room_read) on top of a CRDT-merged shared filesystem [Shapiro et al., 2011, Jahns, 2024, Automerge Project, 2023]. Comparison. AgentRoom uses a different coordination paradigm from CodeCRDT [Pugachev, 2025], which infers coordination implicitly and pre-assigns outliner and implementer roles: it replaces both with an explicit room and an advisory protocol (Section 2.3), without role pre-assignment or orchestrated handoffs. We make this comparison at matched compute in Section 4: the agents stay the same, but we combine them in different ways.

*Correspondence: sungle3737@gmail.com

Preprint.

Finding. We find that two agents in an AgentRoom suppress the lone-agent “stub-and-exit” failure mode (the agent emits a one-file source skeleton and exits early, judging the task too hard): across all 12 model×task strata, the pooled Cochran-Mantel-Haenszel (CMH) estimate puts Solo’s odds of abandonment at 13.7 times AgentRoom’s (95% CI [3.9, 48], p < 10 −5^{-5}, Tarone homogeneity p=0.92). Solo’s abandonment odds exceed AgentRoom’s in every stratum with events (odds ratio above 1). Contrasts. Figure 6 in Section 4.1 breaks the results down by model and task. At matched compute, AgentRoom has a +0.213 mean-quality advantage over parallel-merge on the continuous LLM-judge composite (Welch p=0.003, both Sonnet, structurally bias-immune; Figure 1). A

Figure

Figure 1: T4 six-condition coordination ablation: AgentRoom is the top condition, while concurrency without coordination (parallel-merge) and sequential hand-off (ChatDev-style) fall below the single-agent baseline.

substrate-only bundle probe (Appendix B.13) supports the mean ordering shared-only < prompt-only < AgentRoom, with the larger observed step at the MCP coordination layer; at n=7 the interval on that step spans zero, so we read the split qualitatively.

References (68)