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

Seonglae Cho, Donghyun Lee

arXiv:2608.23740 · 2026-08-26 공개 · arXiv · PDF

llm-judge crdt multi-agent-coding realtime-collaboration cli-stable-models devbench rust-axum concurrent-editing

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.

한국어 요약

한 줄 요약

AgentRoom은 CRDT 기반 공유 워크스페이스에서 동시 다중 에이전트가 협업하는 실시간 프로토콜로, 파일 수준 클레임과 브로드캐스트를 통해 협업 실패를 억제한다.

핵심 기여도

핵심 아이디어

기존 다중 에이전트 코딩 시스템은 순차적 턴-테이킹 또는 비협업적 병렬 처리를 따르며, 단일 에이전트는 최대 50%의 작업을 포기하는 'stub-and-exit' 패턴을 보인다. AgentRoom은 CRDT-merged 공유 파일 시스템 위에 MCP 도구를 구축하여 명시적 협업을 가능하게 한다. 파일 수준 클레임(`room_claim`)과 상태(`room_state`)를 통해 에이전트가 작업 영역을 협의하고, 브로드캐스트(`room_broadcast`)를 통해 의도를 공유함으로써 협업 실패를 억제한다. 이는 CodeCRDT와 달리 역할 미할당 및 명시적 협의를 기반으로 하며, CRDT의 병합 능력이 아닌 명시적 채널이 핵심이다.

기술적 접근법

주요 결과

의의 및 한계

AgentRoom은 명시적 협업 채널을 통해 단일 에이전트의 'stub-and-exit' 실패를 억제하며, CRDT-merge가 아닌 협업 프로토콜이 핵심임을 입증한다. 기존 CodeCRDT와 비교하면, 명시적 클레임과 브로드캐스트가 충돌을 줄이고 협업 품질을 향상시킨다. 그러나 일부 실험 셀은 통계적으로 약한 (underpowered) 상태이며, 모델 종속성과 재현성 문제도 존재한다. 또한, 일부 실험은 제조사 CLI의 제약으로 인해 bit-for-bit 재현 불가능하다.

실용적 활용

AgentRoom은 복잡한 다중 파일 백엔드 개발, 크로스-언어 프로젝트, 실시간 협업 환경에서 적용 가능하다. 특히, 병렬 처리와 CRDT-merge를 넘어서는 명시적 협업 프로토콜이 필요한 산업 개발 환경에서 유용하다.