AgentRoom: Concurrent Multi-Agent Coding in a CRDT-Backed Shared Workspace
Seonglae Cho, Donghyun Lee
NeurIPS page · Open on the map
Category: LLM Agents, Evals & Benchmarks › LLM Agent Orchestration · Type: new method · Keywords: multi-agent coding, collaborative editing, CRDT, MCP, concurrent coordination
Areas: Code & Coding Agents › Code Verification › Coding agent benchmarks; AI Agents › Agent Systems and Interactions › Multi-Agent Coordination; Evaluation & Benchmarks › Language Model and Agent Benchmarks › Multi-Agent Coordination
Summary
AgentRoom introduces a realtime collaborative editing protocol that provides file-level claim, status, and broadcast tools for concurrent coding agents, halving task abandonment and reducing variance compared to solo coding.
Explained to a 5-year-old
A group of robot programmers work together on a big code project. They each have their own ideas, but they need to share the work so they don't get stuck. A special system lets them claim a file, tell others what they are doing, and share changes safely. This way, they can work at the same time without stepping on each other's toes. Because they help each other, they finish more tasks and make fewer mistakes.
Explained to a 5-year-old, longer
Imagine a team of friendly robot coders who want to write computer programs together. They each have a different idea for how to solve a problem, and they would love to work on different parts of the code at the same time. However, if they all write in the same file without talking, they might overwrite each other's work and get confused. To solve this, the robots use a special shared workspace that works like a magical notebook. In this notebook, a robot can claim a file to work on, letting everyone know it is taken. When a robot finishes a part, it tells everyone what it did and updates the notebook safely. This way, no two robots can edit the same file at the same time, and they can see each other's progress instantly. Because they coordinate, they can finish more projects faster and make fewer errors. The system also checks that the changes are consistent, so the final program works correctly. This teamwork approach helps the robots handle big coding tasks that would be too hard for a single robot. It also reduces the number of times a robot gives up on a hard problem. In the end, the robots enjoy working together, and the code they produce is more reliable and complete.
For a technical reader
The paper adds a runtime layer that turns a shared filesystem into a conflict-free collaborative editor for autonomous coding agents. By exposing claim, status, and broadcast operations as MCP tools, agents can atomically coordinate file edits in real time. Empirical tests on several coding models show the layer cuts task abandonment by half and stabilizes performance across runs. Ablation studies confirm that the coordination layer, not just parallelism or CRDT merging, drives the gains.
Problem
Concurrent multi-agent coding suffers from serial bottlenecks and high task abandonment because agents generate tokens sequentially and lack coordination. Existing collaborative editing protocols for humans do not directly apply to autonomous coding agents that produce code token by token.
Method
The approach provides a runtime layer that exposes file-level claim, status, and broadcast as MCP tools on top of a CRDT-merged shared filesystem, enabling concurrent agents to coordinate edits in real time. This layer allows agents to atomically claim files, update status, and broadcast changes, ensuring conflict-free merges.
Results
The approach halves task abandonment rates on CLI-stable models and reduces run-to-run variance, with ablations confirming the improvement stems from coordination rather than parallelism or substrate convergence.
Contributions
It introduces a realtime collaborative editing protocol that provides file-level claim, status, and broadcast tools for concurrent coding agents, enabling efficient coordination and reducing abandonment. It also provides an empirical analysis isolating coordination as the key factor for performance gains.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction