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

Manuscript Offprint

arXiv:2610.08647

SquidAgent: Parallelize Wisely, Coordinate Efficiently

Yexiong Lin, Shanshan Ye, Yu Yao, Zhen Fang, Bo Han, Tongliang Liu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

LLM-based agents solve complex multi-step tasks, but sequential execution incurs substantial latency. In principle, parallelizing work across multiple agents should yield near-linear speedups. Yet existing parallel multi-agent systems often run slower than a single-agent baseline. We attribute this gap to two hidden costs that parallel execution incurs but a serial agent avoids. First, there is a re-exploration cost: redundant effort spent by parallel workers reconstructing context that the orchestrator already possesses, such as prior decisions, that would otherwise be inherited implicitly in a serial execution. Second, there is an alignment cost: the overhead required to reconcile inconsistencies across independently generated outputs. We thus derive a principled decision criterion: a layer should be parallelized only when its critical-path cost, plus re-exploration and alignment overheads, is lower than the corresponding serial cost. While this criterion is naturally expressed in wall-clock time, we observe that LLMs are poorly calibrated when asked to estimate task duration. To address this, we instead measure cost in predicted output tokens, which we empirically find LLMs can estimate substantially more reliably than wall-clock time. Building on this token-based criterion, we propose SquidAgent. It estimates all token budgets in a single planning step, forks each worker directly from the orchestrator's session to eliminate re-exploration cost, and replaces post-hoc reconciliation with a pre-generated shared convention block that converts alignment into a bounded upfront cost. A deterministic scheduler then applies the criterion layer by layer. Empirically, SquidAgent achieves a 2.2×2.2\times mean throughput improvement and a 2.6×2.6\times mean wall-time speedup over Claude Code, and a 2.0×2.0\times throughput improvement over the strongest multi-agent baseline.

1 Introduction

LLM-based agent systems are increasingly deployed for complex, multi-step tasks such as software development [Hong et al., 2024, Qian et al., 2024], document authoring, and structured planning. As tasks grow in scale and complexity, a single agent often becomes a bottleneck, motivating the rise of multi-agent systems that coordinate multiple specialized agents to solve a task collaboratively. A common paradigm in these systems is to decompose a high-level user request into a set of subtasks organized as a directed acyclic graph (DAG) [Zhuge et al., 2024, Qian et al., 2025], where edges encode dependencies between subtasks, and assign each subtask to a dedicated agent. This graph-based decomposition has been adopted by a wide range of multi-agent frameworks, from general-purpose conversation platforms [Wu et al., 2024a, Li et al., 2023] to specialized systems for code generation [Niu et al., 2025, Kim et al., 2024] and workflow automation [Zhuge et al., 2024,

*Corresponding author: shanshan.ye@mbzuai.ac.ae.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: Comparison of two execution strategies on a task with four subtasks. (a) Sequential: a single agent executes all tasks one by one with no overhead. (b) Naive parallel: workers run concurrently but incur re-exploration cost (orange: orchestrator planning plus per-worker rediscovery of shared context) and alignment cost (red: fixing conflicts between independently produced outputs), making the total time exceed the sequential baseline.

Wu et al., 2024b]. In this work, we focus on the common LLM-agent setting in which an orchestrator delegates subtasks to multiple LLM workers that share the objective of completing the user request.

A key advantage of multi-agent systems is the potential for parallelism. When subtasks at the same DAG layer are independent, multiple worker agents can execute them concurrently, so that wall-clock time is determined by the slowest worker rather than the sum of all tasks. In theory, such parallel execution should provide substantial speedups, and many recent multi-agent systems are built on this premise [Qian et al., 2025, Niu et al., 2025, Kim et al., 2024, Yu et al., 2025].

However, existing parallel multi-agent systems often fail to achieve the expected speedups and can even be slower than their sequential counterparts [Hong et al., 2024, Yao et al., 2025, Xu et al., 2026]. This suggests a fundamental limitation in current execution strategies: they lack an explicit criterion for determining when parallelization is actually worthwhile. Existing methods either rely on fixed execution policies, such as always parallelizing subtasks once explicit dependencies are satisfied [Qian et al., 2025, Niu et al., 2025], or depend on heuristic LLM-based scheduling decisions [Dang et al., 2026, Wang et al., 2026b]. This raises a central question: when is parallel execution truly beneficial for LLM-based multi-agent systems?

We argue that the answer depends on accounting for the hidden costs introduced by parallelization. We identify two such costs that parallelism pays but a sequential agent does not. The first is re-exploration cost: any agent, serial or parallel, must do some exploration to understand a task before solving it, but a serial agent does so once and reuses the resulting context for free, whereas parallel workers have to independently rediscover the same conventions, assumptions, and intermediate decisions before they can begin useful work. Note that this is not generic exploration, it is the redundant portion that exists only because the orchestrator's planning state cannot be transferred to parallel workers for free. The second is alignment cost: independently generated outputs must be reconciled into a coherent final result, and inconsistencies among workers may require additional correction. These costs arise because LLM-generated DAGs typically capture explicit dependencies among subtasks but overlook implicit dependencies, such as shared naming conventions, formatting choices, or global design decisions, that a single agent would resolve incrementally. Parallel execution is therefore beneficial only when the time saved by concurrency outweighs the additional re-exploration and alignment costs. Figure 1 illustrates this phenomenon on a representative task.

In this paper, we instead propose a parallelization criterion that makes this trade-off explicit and computable before execution. For a group of subtasks, the estimated serial cost is the sum of all subtask costs, while the estimated parallel cost consists of the slowest worker's execution cost together with the re-exploration and alignment costs. Parallel execution is selected only when the estimated parallel cost is strictly lower than the estimated serial cost. The natural unit for this criterion is wall-clock time, which is what users observe. However, predicting wall-clock time at planning time turns out to be unreliable for two reasons. First, it is backend-dependent (server load, batching, retries). Second, and more fundamentally, LLMs are systematically miscalibrated when asked to estimate their own task duration: they anchor on human-engineering norms (“this looks like a few-day task”) rather than on their own throughput, and their estimates exhibit substantial rank reversals relative to realized execution time, so even the relative ordering of task costs can flip between the estimate and reality. We therefore measure cost in predicted output tokens, a quantity an LLM can estimate well because it is a property of its own next response (the size of the artifact it would write) rather than the duration of an agentic process. For a fixed model and decoding configuration, tokens are emitted at an approximately constant rate, providing a backend-independent proxy for time. Unlike fixed or heuristic policies, this token-cost criterion is an explicit, layer-wise decision rule over the task DAG.

Based on this criterion, we propose SquidAgent, a cost-aware parallel multi-agent framework that realizes token-cost scheduling in practice. SquidAgent first decomposes a user request into a DAG and, in the same planning response, estimates token budgets for both subtask execution and layer-level alignment cost. It then applies the criterion to each topological layer, choosing parallel execution when the estimated parallel cost is lower than the estimated serial cost, and serial execution otherwise. To further reduce the hidden costs themselves, workers fork the orchestrator's conversation, inheriting global conventions and prior decisions. This reduces redundant reconstruction of the planning context, motivating the operational approximation Cexp≈0C_{\text{exp}} \approx 0. The orchestrator also writes a shared convention block before each parallel layer, reducing subsequent inconsistency and making the upfront planning cost estimable. Code is available at: https://github.com/tmllab/2026_NeurIPS_SquidAgent.

Our main contributions are summarized as follows:

• Hidden-cost analysis of parallel multi-agent execution. We identify two operationally distinct sources of coordination overhead in parallel LLM-agent execution: (i) the re-exploration cost, where parallel workers redundantly reconstruct the orchestrator's planning context that a serial agent retains implicitly, and (ii) the alignment cost, incurred when independently generated outputs must be reconciled into a globally consistent solution. We show that parallel execution can be counterproductive when these costs outweigh the benefit of concurrency.

• A token-cost criterion for adaptive parallelization. We observe that wall-clock time is the natural optimization target, but is poorly estimated by LLMs due to systematic miscalibration in predicting task duration. We instead use predicted output tokens as a proxy cost, which LLMs can estimate more reliably than wall-clock time as a property of their own responses and which is backend-independent. Based on this, we formalize parallelization as a cost-sensitive scheduling problem and derive a layer-wise criterion comparing (i) predicted serial cost (sum of subtasks) against (ii) predicted parallel cost (critical path plus re-exploration and alignment costs). The criterion is computed before execution and applied per topological layer of the task DAG.

• The SquidAgent framework. We instantiate this criterion in SquidAgent, a parallel multi-agent framework for cost-aware execution. Our method (i) estimates token budgets in a single planning pass, (ii) initializes workers from a shared orchestrator state to reduce redundant re-exploration, and (iii) writes a shared convention block to reduce alignment cost across parallel workers. Across all nine evaluation tasks, SquidAgent achieves a 2.6×2.6\times average wall-time speedup and a 2.2×2.2\times average throughput improvement over Claude Code. It also achieves a 2.0×2.0\times average throughput improvement over the strongest multi-agent baseline while obtaining the best overall task completion quality.

References (62)