CooperBench: Why Coding Agents Cannot be Your Teammates Yet
Arpandeep Khatua, Hao Zhu, Peter Tran, Arya Prabhudesai, Frederic Sadrieh, Johann K. Lieberwirth, Xinkai Yu, Yicheng Fu, Michael J. Ryan, Jiaxin Pei, Diyi Yang
TL;DR
CooperBench reveals a fundamental coordination bottleneck in modern coding agents: two agents collaborating on overlapping tasks perform substantially worse than a single agent handling both, exposing a coordination gap. By grounding 652 tasks across 12 libraries and 4 languages in verifiable pipelines, the study shows that misaligned plans, unverifiable commitments, and jammed or erroneous communication drive failures, even as directed efforts reduce merge conflicts. Emergent coordination patterns such as role division, resource division, and negotiation hint at latent capabilities that could be reinforced with targeted training and lightweight coordination protocols. The work provides an open, scalable benchmark and framework for measuring social intelligence in AI coding agents, with implications for how we design agents that can safely and effectively work alongside humans and other agents. It advocates shifting focus from raw capability to developing robust coordination mechanisms and richer collaboration modalities.
Abstract
Resolving team conflicts requires not only task-specific competence, but also social intelligence to find common ground and build consensus. As AI agents increasingly collaborate on complex work, they must develop coordination capabilities to function as effective teammates. Yet we hypothesize that current agents lack these capabilities. To test this, we introduce CooperBench, a benchmark of over 600 collaborative coding tasks across 12 libraries in 4 programming languages. Each task assigns two agents different features that can be implemented independently but may conflict without proper coordination. Tasks are grounded in real open-source repositories with expert-written tests. Evaluating state-of-the-art coding agents, we observe the curse of coordination: agents achieve on average 30% lower success rates when working together compared to performing both tasks individually. This contrasts sharply with human teams, where adding teammates typically improves productivity. Our analysis reveals three key issues: (1) communication channels become jammed with vague, ill-timed, and inaccurate messages; (2) even with effective communication, agents deviate from their commitments; and (3) agents often hold incorrect expectations about others' plans and communication. Through large-scale simulation, we also observe rare but interesting emergent coordination behavior including role division, resource division, and negotiation. Our research presents a novel benchmark for collaborative coding and calls for a shift from pursuing individual agent capability to developing social intelligence.
