arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2611.00314

Decentralized Multi-Agent Coordination and Communication in Shared Codebases

Rishabh Mediratta, Lingyun Xiao, Peter Stone, Joydeep Biswas, Elias Stengel-Eskin

ABSTRACT

Coding agents working in shared repositories may receive separate, independently-motivated requests from human developers, creating a setting that is multi-agent by necessity. When this scenario happens, their individual implementations may work separately but conflict when combined. To study this setting, we introduce ParallACT, a benchmark of orchestrator-free multi-agent coding tasks. ParallACT contains both complementary and contradictory tasks. In complementary tasks, each agent's task is separately useful and implementations must share an interface to be productively combined. In contradictory pairs, both agents' tasks require editing the same code in incompatible ways, and naively combining independent solutions fails to produce a useful implementation. We compare a single-agent oracle given the combined set of tasks against multi-agent settings that vary execution order, visibility, awareness of other agents, and access to a communication channel. We find that the oracle solves most tasks while parallel agents perform substantially worse. Their performance drop is notable for complementary tasks, and particularly sharp for contradictory tasks (e.g., from 62% to 16% for Claude Code with Claude Opus 4.8) where merged code typically satisfies only one specification, and the same gap appears in all six further configurations pairing two agent harnesses with three open-weight models. Simply telling an agent that a peer exists does not help significantly, and giving agents access to a communication channel recovers only a small part of the performance, at an additional token cost. ParallACT thus identifies and isolates a core challenge that will become more common as multi-agent coding by independent principals becomes standard, and provides a controlled test of which coordination strategies help, and at what cost.

1 INTRODUCTION

The digital world is driven by large codebases which hundreds or thousands of contributors work on simultaneously on independently-motivated and potentially conflicting tasks, often without knowledge of each other. Recently, coding workflows have begun to include a new kind of contributor: agents powered by large language models (LLMs), which can transform complex natural language specifications from a principal (in this case, a developer) into code (Yang et al., 2024). In principle, LLM agents seem to be a good fit for large-scale development: indeed, they are increasingly being used in multi-agent settings, with large swarms of agents working in parallel towards a shared goal (Qian et al., 2025; Lin, 2026). This setting is illustrated in Fig. 1 (left), where a single principal gives a task to a central planner that decomposes it into compatible subtasks and distributes them across agents. However, real-world multi-principal coding environments often differ from this centralized picture. In large-scale development, principals may not share goals, have conflicting specifications, and may not be aware of the other principals or their goals, as illustrated in Fig. 1 (right). Naively implementing specifications in this setting can lead to code that fails to meet either specification.

These independently-motivated settings differ in that they are multi-agent by necessity, rather than convenience: in the centralized picture, it may happen to be that decomposing the task and assigning it to different agents improves performance or latency, but the tasks the agents receive ultimately

*Equal contribution.

Figure

Figure 1: Centralized and decentralized assignment of coding tasks, illustrated with two sorting requirements: A requests case-insensitive sorting, while B requests support for descending order. Left: a central planner sees both requirements and coordinates edits to a single sorting call that combines case normalization with an optional reversal. Right: separate principals assign the requirements independently, and each agent initially sees only its own request. The agents may replace the same sorting call with individually valid implementations that conflict when combined.

stem from a single, shared intent. In contrast, the multi-principal setting shown on the right is irreducibly multi-agent; requests arise independently, and cannot be assigned to a single agent without aggregating them. In large-scale development, this is impractical, as the number of tasks the centralized orchestrator must handle scales with the number of principals. While it may be able to orchestrate a handful of tasks, many large-scale codebases would require aggregating requests from thousands or tens of thousands of principals in a central orchestrator, introducing a bottleneck, increasing latency, and creating a single point of failure (Stone & Veloso, 2000). Thus, agents must be able to implement their principals' requests in a decentralized fashion.

In this decentralized picture, one way to avoid conflicts is through communication and coordination, both explicit (e.g., sending messages to other developers, opening issues or pull requests) and implicit (e.g., inferring the likely goals of others from the environment or history, and shaping code to be compatible with those goals). For example, a human developer in a shared repository might infer another developer's goals from their commit history and avoid interfering, or might send that developer a message to coordinate on a shared interface. Past work has studied communication between coding agents (Khatua et al., 2026; Zhan et al., 2026) but has focused on a team setting, in which agents are aware that they are working on shared tasks with teammates. This kind of mutually-aware agent deployment has recently been validated at scale on problems such as proof search (Xin et al., 2025; OpenAI, 2026b). We instead study what happens when principals who may not initially be aware of each other delegate tasks to agents in environments which lack a central orchestrator and may feature conflicting or contingent specifications. Understanding coordination in this setting is critical: assuming that agents will increasingly be taking over writing code from human developers, they will have to work in large, shared codebases where many other independently motivated agents are concurrently implementing changes, without any explicit pre-coordination between agents. Moreover, in addition to understanding the performance of agents under different multi-agent and coordination settings, we would like to measure the cost of different coordination approaches.

To study these questions, we introduce ParallACT (Parallel Agent Coordination Testbed), a diagnostic dataset of 155 challenging, self-contained multi-agent coding instances. The goal of ParallACT is to provide a targeted testbed for understanding collaboration in orchestrator-free, multi-principal settings. While motivated by larger teams, to isolate coordination failures in a controlled fashion, we consider the minimal unit of a pair of agents. ParallACT consists of a manually-constructed gold split (i.e., seed instances, each containing a repository at a given commit, two independently-motivated requirements, reference implementations, and an evaluation test suite) with manually-constructed competing specifications, and a silver split (i.e., model-generated instances), which is automatically constructed by GPT 5.6 Sol using gold standard examples as seeds. In both sets, requirement A comes from SWE-Bench Pro (Deng et al., 2025), while requirement B is written

(manually or by a model) to be a separately-motivated counterpart. In total, ParallACT contains 85 contradictory and 70 complementary instances (Appendices A and C); simplified examples of each family are shown in Fig. 2. Contradictory instances provide competing specifications, and are filtered for examples that feature a true behavioral conflict: we ensure that reference solutions that meet each specification independently cannot be merged into a valid joint solution. Complementary instances, on the other hand, require agents to agree upon a shared interface, and are tested via integration tests; here, we filter examples to ensure that no independent solution to either agent's problem passes the tests alone. These filters ensure that success requires deep coordination between agents, and each instance is manually verified (Appendix A).

Using our data, we test seven configurations of agent harness and model: Claude Code with the closed-weight Claude Opus 4.8, and both Claude Code and Codex with each of three open-weight models (Qwen3.8 Flash Next, DeepSeek V4 Flash, and GLM 5.3 Flash). We first establish that the instances provided are achievable by a single developer: when both specifications are provided to a single agent, success rates are fairly high, with Claude Opus 4.8 achieving a 62% success rate on contradictory and 86% on complementary instances, which increases to 98% and 100% when the agent is permitted to debug using provided tests. The open-weight configurations reach 60% and 72% on average, and 96% and 97% with tests. We then test different multi-agent topologies and communication strategies. To set a topline of what can be done with a manually-specified topology, we test our problems under sequential and re-entrant settings, where agents take turns editing the codebase (e.g., Agent A, then Agent B, potentially iterating in the re-entrant case). Under this fixed setting, we find that agents perform worse than the single-agent oracle but still succeed on around half of the cases in both conditions. However, this setting is unrealistic; while it may be possible to specify fixed topologies for n=2n = 2 agents, it quickly becomes infeasible as nn increases (e.g., imagine scaling to 100 agents, where each agent must block on 99 other agents before making its edits).

We then test agents across multiple parallel settings, where agents work on their specifications simultaneously. Here, we study several ad-hoc communication strategies, optionally providing agents with access to either a single shared file to write updates to, or a Redis cache (Appendix N) in which they can send messages. While each agent generally succeeds in implementing solutions that pass their own respective tests, they largely fail to coordinate on a joint solution, with two mutually-unaware Claude Opus 4.8 agents achieving an average joint pass rate of only 16% on contradictory and 57% on complementary tasks (19% and 53% averaged over the open-weight configurations). While these drops can sometimes be mitigated by adding communication and making agents aware of each other, performance remains substantially lower than in the single-agent condition. Moreover, we find that communication increases costs.

Building on these results, we analyze the failure modes of different topologies, finding that single-agent failures can be traced to capability shortcomings while multi-agent settings are bottlenecked by coordination failures. Moreover, we study the communication channel in the parallel setting, finding that agents often succeed in terms of what to communicate – communicating about the right topics (e.g., the shared artifact) – but often fail in terms of how to communicate and act on communication, e.g., failing to read messages on time or at all, or agreeing to a design but not following through.