arXiv

When Parallelism Pays Off: Cohesion-Aware Task Partitioning for Multi-Agent Coding

Title: Maximizing Returns on Parallelism: Cohesion-Driven Task Partitioning for Multi-Agent Coding

Abstract: Multi-agent Large Language Model (LLM) frameworks enable the breakdown of intricate processes, such as software development, by leveraging parallel execution and isolating context. Yet, the practical deployment of additional agents brings communication overhead that can erode efficiency gains and increase expenses. This study reframes multi-agent orchestration as a graph partitioning challenge, balancing the ratio of communication to computation. While decomposing tasks can reduce the length of the critical computational path, dependencies between agents necessitate expensive context transfers. We apply this framework to repository-level software engineering through the introduction of Cohesion-aware Coder (Co-Coder). This system constructs dependency graphs using static analysis, isolates structural hub files, partitions the graph via community detection, and manages execution through a scheduler sensitive to dependencies. Evaluated across 28 real-world tasks on DevEval and CodeProjectEval, Co-Coder improves upon the Pareto frontier established by sequential methods, file-based parallel baselines, and Claude Code with Agent Teams. It achieves a pass rate increase of up to 14.0%, a wall-clock speedup of up to 2.10x, and a cost reduction of up to 35% via API usage. The most significant improvements are observed in projects with high dependency density. Co-Coder illustrates that cohesion-aware orchestration can render parallel coding agents both theoretically sound and practically efficient, offering a generalizable design principle for multi-agent systems.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Law’s Billable Hour Is Being Shredded by AI
Bloomberg

Law’s Billable Hour Is Being Shredded by AI

AI is dismantling the billable hour by automating routine legal tasks. This technological shift threatens the traditiona...

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026
Bloomberg

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026

SoftBank in Early Talks to Back $800 Million Agile Robots Round
Bloomberg

SoftBank in Early Talks to Back $800 Million Agile Robots Round

SoftBank is in early talks to back Agile Robots’ $800 million funding round. The Japanese tech giant is currently in pre...

Amundi Is Diversifying Risk Via Commodity Currencies, Gold
Bloomberg

Amundi Is Diversifying Risk Via Commodity Currencies, Gold

Amundi diversifies risk by investing in commodity-linked currencies and gold. This strategy hedges against market volati...

Reuters

Marvell Technology surges after Nvidia's Huang calls it 'next trillion-dollar company'

Marvell Technology shares surged after Nvidia CEO Jensen Huang labeled the firm the “next trillion-dollar company.”

Russia Says It Found Foreign Spyware on Top Officials’ Phones
Bloomberg

Russia Says It Found Foreign Spyware on Top Officials’ Phones

Russia’s FSB claims to have discovered foreign spyware on senior officials’ phones. Moscow attributes the intrusion to h...