Manuscript Offprint
arXiv:2610.41378Ask on Demand: Targeted Peer Communication for Parallel Agentic Systems
Abstract
Parallel LLM agents tackle complex tasks by exploring multiple trajectories, yet useful discoveries remain isolated in individual execution histories. Existing sharing methods often select or summarize information before other agents' needs become clear, potentially overlooking details that become important later. We propose Ask on Demand (AOD), a communication framework that enables agents to seek targeted peer assistance when specific information needs arise. Upon an approved request, AOD retrieves relevant evidence from peer execution histories, selects a suitable peer, and generates a response tailored to the request. To determine when such assistance is worthwhile, we train a lightweight gate using paired team continuations, with supervision derived from final team outcomes and inference cost. Experiments on AppWorld and WebShop demonstrate that AOD consistently improves task performance over independent parallel execution while achieving lower inference cost than existing information-sharing baselines. These findings highlight the benefits of aligning peer communication with agents' evolving information needs to achieve more effective and efficient collaboration.
1. Introduction
As large language model (LLM) agents increasingly move beyond information retrieval to acting in interactive digital environments, they face complex, long-horizon tasks spanning website navigation, interactions with online services and APIs, cross-application workflows, and software engineering [26, 31, 33, 38, 40]. Parallel execution offers a promising way to scale such tasks by allowing multiple agents to explore different trajectories toward the same objective [17, 42]. Along these trajectories, agents accumulate complementary evidence, discovered constraints, successful tool-use patterns, and informative failed attempts.
Yet these discoveries remain scattered across private execution histories and are not automatically available to other agents making related decisions [14]. This isolation can lead agents to repeatedly inspect the same resources or rediscover failures already encountered by their peers [10]. Simply increasing communication, however, is not an ideal remedy: frequent or indiscriminate sharing incurs additional context and inference costs and may steer otherwise diverse trajectories toward the same salient, potentially misleading leads [1, 14, 41]. Thus, parallel agentic systems face a fundamental challenge: enabling cross-agent information reuse without sacrificing the benefits of independent exploration.
To mitigate this challenge, recent work has explored selective information-sharing mechanisms that enable parallel agents to reuse intermediate discoveries without continuously exchanging their full execution histories. For example, LTS selects intermediate steps for admission to shared memory [10], while AgentFugue compresses completed trajectory segments into episode notes for later intent-driven retrieval [14]. However, deciding what information to preserve or share at the time of discovery requires anticipating the future needs of other agents. Crucially, the value of an intermediate discovery depends on the evolving information needs of its potential recipients. A finding that appears irrelevant early in another agent's trajectory may become critical many steps later, when that agent encounters a specific uncertainty or constraint. Consequently, selecting or compressing information in advance risks overlooking details whose relevance only becomes apparent later [37]. This observation suggests a different principle: information reuse should be driven by the recipient's current needs, rather than solely by predictions of future utility made when information is produced. This raises a central question: How can parallel agents access relevant peer discoveries when specific information needs arise, while avoiding unnecessary communication?
Motivated by this insight, we propose Ask on Demand (AOD), a demand-driven communication framework for parallel agentic systems. Inspired by how human teams
Equal contribution.
Corresponding authors. Email: bir3@chinatelecom.cn seek relevant expertise when needed [9], AOD enables agents to request assistance based on their emerging information needs, rather than relying solely on discoveries selected for sharing in advance. As illustrated in Figure 1, upon an approved request, AOD retrieves relevant evidence from peer execution histories to identify an appropriate agent to consult. The selected peer then draws on its local history to provide a response customized to the request. This design offers two advantages. First, accessing peer evidence at the point of need can recover details that might be omitted by advance summarization. Second, directing requests to relevant peers limits unnecessary information exchange without broadcasting discoveries to the entire team. In this way, AOD enables effective information reuse through targeted, selective communication.
However, enabling on-demand communication does not by itself tell agents when asking is worthwhile. The value of a request depends on its effect on subsequent task execution, rather than on the presence of an information gap alone. We therefore learn a lightweight help-seeking policy from the estimated downstream payoff of asking. Following rollout-based communication learning [32], we compare paired team continuations from the same execution state, with the same proposed request approved or denied. A fixed rule selects one agent's result as the team output using self-assessed confidence. The paired comparisons yield binary training labels that prioritize the selected result's task score and favor lower remaining inference cost when scores are tied. We use this supervision to fine-tune the policy to identify requests worth approving. At inference, the policy uses only the proposed request and requester-local context to decide whether to approve it, while the frozen task model determines what to ask and how to use the reply.
We evaluate AOD on two long-horizon, interactive benchmarks: AppWorld and WebShop, covering cross-application workflows and interactive product search [31, 39]. Both benchmarks require agents to accumulate observations and use intermediate findings to guide subsequent decisions, providing complementary settings for studying information reuse across parallel trajectories. Experiments demonstrate that AOD improves task performance while achieving a favorable balance between effectiveness and inference cost compared with existing baselines. Further analyses highlight the benefits of learned help-seeking decisions and relevant peer assistance, and examine exploration behavior, gate supervision, and scalability to larger teams.
Our main contributions are summarized as follows:
-
Demand-Driven Peer Communication. We propose Ask on Demand (AOD), a communication framework that enables parallel agents to seek targeted assistance based on their evolving information needs, rather than relying on information shared in advance.
-
Outcome-Guided Help Seeking. We develop a

Figure 1. Comparison of information sharing in parallel agentic systems. (a) Shared memory may lose useful details through advance summarization and propagate misleading information. (b) Ask on Demand (AOD) enables targeted access to peer evidence when needed while preserving independent exploration.
lightweight gate that learns when peer assistance is worthwhile by comparing the effects of approving and denying requests on final team outcomes.
- Experimental Validation. Experiments on AppWorld and WebShop demonstrate the effectiveness of AOD in improving task performance while balancing inference cost. Further analyses validate its key components and examine scalability to larger teams.
Communication in Multiagent Systems. Earlier multi-agent reinforcement learning methods learn when to communicate through gating [27] and whom to address through targeted attention [6]. LLM agent frameworks support collaboration through role assignments, message exchange, and structured workflows [13, 19, 22, 36]. Multiagent debate further enables models to revise their answers through repeated exchanges of responses and reasoning [8]. To improve communication efficiency, existing methods op-timize interactions through pruning and dynamic routing. AgentPrune removes unnecessary communication links [41], while DyTopo dynamically matches agents' needs with available assistance [21]. At the workflow level, GPTSwarm optimizes prompts and graph connectivity [43], while DAAO adapts agentic workflows to predicted query difficulty [29]. Other studies investigate learned clarification at workflow transitions [20] and communication guided by agents' beliefs about their teammates and potential action conflicts [35]. In contrast, AOD focuses on agents exploring the same task in parallel, enabling them to request relevant evidence from peer execution histories when needed. This allows agents to reuse complementary discoveries while limiting communication overhead and preserving independent exploration.
Adaptive Information Retrieval. Adaptive retrieval methods condition information access on the progress of generation or task execution. FLARE retrieves when anticipated content contains low-confidence tokens [15], while Self-RAG learns to retrieve and assess supporting passages [2]. ITER further incorporates interaction history and pre-search reasoning into retrieval [5]. AOD studies information access across parallel agents, using concrete requests to retrieve peer evidence and team outcomes to learn whether an exchange is worthwhile.
3. Method
We propose Ask on Demand (AOD), a framework that enables agents to request peer discoveries relevant to their current decisions (Figure 2). When an agent needs information, it formulates a structured request that specifies what is missing and which decision the answer could inform. Given that a request incurs inference cost and its downstream value is unknown in advance, we introduce a lightweight 0.6B-parameter gate to decide whether to approve it before any peer is consulted. Upon approval, AOD uses this request to retrieve relevant completed records, select a single peer, and generate a targeted answer that cites that peer's observations.
To learn which requests are worth approving, we restore the same team state and compare full-team continuations that approve or deny the same request. These comparisons yield binary labels that prioritize final team performance and favor lower inference cost when performance is tied. The gate thus learns from downstream team outcomes, yet at inference it sees only the request and the requester's local context. All task-solving and peer-answering models remain frozen; only the gate is trained.
3.1. Problem Formulation
Team Setting. We consider a team of K agents solving the same task u in separate environment instances. Each agent k maintains its own interaction history , including any peer replies received so far.
Communication Decision. When agent i proposes a peer request (Section 3.2), the help-seeking gate evaluates it before execution. The gate thus decides whether this specific request is worth executing. Its input contains the proposed request and the requester's local context. The gate is shared across agents and defines a binary policy:
Here, APPROVE executes the proposed request, whereas DENY rejects it and allows local execution to continue. Denying the current request does not preclude later requests.
Team Outcome. At team termination, each agent has produced a trajectory and a self-assessed confidence [30]. A fixed selection rule selects one trajectory based on these confidence scores. We denote the selected trajectory's normalized task score by :
Benchmark-specific selection and failure rules are detailed in the supplementary material. We measure total inference cost as
where indexes all task and auxiliary model calls, and and are the input and output token counts of call .
3.2. Ask-on-Demand Communication
An AOD exchange is organized around the requester's pending decision. The request guides both peer selection and the answer generated from the selected peer's records.
Request Formulation. Targeted questions can resolve information gaps that would otherwise require an agent to guess [20]. AOD makes ask_peer available alongside the agent's environment tools. When the frozen task model selects it as the next action, the same model call generates the request arguments from the requester's interaction history :
Here, need names the missing fact or lead, known summarizes the requester's relevant observations and previously received replies while distinguishing them from assumptions, and decision specifies what the requester plans to do depending on the answer. The gate never writes or edits ; it only decides whether the proposed request is executed. An approved request is executed once, as written.

Figure 2. Overview of Ask on Demand (AOD). (a) Online inference. A learned gate approves requests, after which AOD selects a relevant peer to provide an evidence-grounded response. (b) Gate training. Paired team continuations compare approving and denying the same request, using final team outcomes and inference cost to supervise the gate. Rewards and token costs are illustrative means over paired continuations, with costs measured after branching.
Peer Selection. Once the gate approves , the request is matched against the other agents' completed records. Let denote agent 's completed records at the moment of the request. Actions still running and anything recorded later are not visible. Unlike the full history , these records do not include replies received from other agents. Among peers with retrieved candidates, we select the one with the highest-scoring passage and consult only that peer:
where contains text passages from agent 's completed records, and rel is a BM25-based relevance score [25]. If no positive-scoring candidates are found, AOD returns an insufficient reply without consulting a peer.
Evidence-Grounded Answering. Let denote the evidence excerpts retrieved from within the evidence token budget. As in retrieval-augmented generation [18], the selected peer's frozen answering model generates a concise reply conditioned on these excerpts:
The stated need and decision guide which findings to explain and how they can help the requester proceed. The reply includes citations and exact excerpts, so the requester can inspect the evidence behind the answer [11]. Answering the request does not trigger new environment actions or interrupt the peer's ongoing execution. If the available records are insufficient, the peer can give a partial answer or indicate that it cannot answer. The requester remains responsible for verifying suggestions and acting in its own environment.
An answered request need not be worthwhile: its value depends on the resulting changes in team performance and inference cost [3]. We estimate these effects next.
3.3. Estimating the Value of a Request
Building on rollout-based communication learning [32], we compare future team reward and remaining inference cost across paired full-team continuations from the same state. The proposed request is held fixed: one continuation approves it, and the other denies it. Both continuations handle later requests under the same policy, so the comparison measures the marginal value of executing this request now.
Request Collection and Replay. We first run each task in the training set to completion and record the full team execution. These runs follow a fixed policy : task models proceed with the task and propose requests naturally, while the original Qwen3-0.6B gate [23] approves or denies them. We keep a limited number of requests per task, chosen without using their continuation outcomes. For each kept request , let s denote the full team state immediately before the gate evaluates it: all agents' histories, environment states, completed records, and remaining budgets. We restore s by replaying the recorded team prefix, reusing previous model outputs rather than regenerating them, and verify that both the state and the pending request match the recording before branching.
Paired Team Continuations. From , we create two branches that differ only in the decision on . The APPROVE branch executes through the communication mechanism of Section 3.2; the DENY branch rejects it, and the requester continues locally. For later requests, both branches use the same rollout policy , which approves each subsequent request with probability (default 0.5), until team termination or budget exhaustion. This probability affects later requests, not the paired APPROVE/DENY intervention on the initial request. This allows the current request to be evaluated across different future communication decisions while retaining later opportunities for peer help in both branches. We record the final team reward and the inference cost incurred after .
Value Estimation. Under the continuation policy , we define the value of executing q as its expected effect on team reward and remaining inference cost:
We estimate both quantities using an adaptive number of valid paired continuations. For each request, we start with five pairs and add five whenever the estimates remain unstable, up to twenty pairs (see the supplementary material). The two branches of each pair share a random seed [12]. Let denote the final number of valid pairs. Averaging all paired differences gives
These estimates provide supervision under ; sensitivity to this continuation policy is examined in Section 4.4.
3.4. Learning the Help-Seeking Gate
We derive binary approval labels from the paired estimates of team reward and remaining inference cost. We then train the gate to predict these labels from the proposed request and the requester's local context.
Supervision from Outcomes. Each collected request receives one binary label. Team reward determines the label; remaining cost matters only when the reward is unchanged. For the fixed rollout probability , write and . We assign:
where is a numerical tolerance for floating-point comparisons. A request that raises team reward is labeled APPROVE even if it costs more; when the reward is tied, it is labeled APPROVE only if it lowers the remaining cost.
Training Set. Each training example pairs the gate input with its approval label y and a sample weight w. Here, contains the proposed request and the requester-visible information available when state s was recorded. We weight each example according to the number of valid pairs and the variability of their outcomes. The base weight is
Requests that remain unstable after twenty pairs receive an additional reduction:
The standard-error terms and stability criteria are defined in the supplementary material. Each request retains a binary label determined by its mean reward and cost differences. We retain all APPROVE examples and subsample DENY examples to form the training set .
Learning the Gate. We fully fine-tune Qwen3-0.6B to predict APPROVE or DENY for each proposed request. Let denote the output token sequence encoding label , with length , and let denote the model's next-token distribution over the full vocabulary. We minimize the weighted cross-entropy loss:
Here, denotes the output tokens preceding position . Only the tokens in the decision output contribute to the loss. All task-solving and peer-answering models remain frozen; only the gate is updated.
Inference. At inference, the trained gate evaluates each proposed request using . An APPROVE decision executes the request through the communication mechanism in Section 3.2; a DENY decision rejects it and allows local execution to continue. Gate decisions require neither paired continuations nor environment rewards at inference.
4. Experiments
We evaluate AOD on two interactive benchmarks, focusing on task performance, inference efficiency, and exploration diversity in parallel agentic systems. Our experiments examine the effectiveness of on-demand communication and the contributions of its key components, including the learned help-seeking gate, peer selection, and evidence-grounded answering.
4.1. Experimental Setup
Benchmarks. We evaluate AOD on two interactive benchmarks. AppWorld [31] evaluates agents on cross-application tasks involving API interactions in stateful environments. We use a subset of 120 tasks spanning 40 scenarios. WebShop [39] evaluates agents on product search and purchasing tasks based on natural-language requirements. We evaluate on 200 shopping tasks. Further details on task selection and data splits are provided in the supplementary material.
Baselines. We compare AOD with three categories of baselines. 1) Single-agent methods, including Base and ReAct [40], which use standard agent execution and interleaved reasoning and acting, respectively. 2) Independent parallel execution, represented by Independent, which runs three agents without communication. 3) Communication-based methods, including PeriodicShare, LTS (Adapted) [10], and Agentfugue (Adapted) [14], which enable information exchange through periodic sharing, shared memory, and intent-based peer retrieval, respectively. Both adaptations use a frozen DeepSeek-V4-Pro controller [7] without additional training; The supplementary material describes their implementation.
Evaluation Metrics. We evaluate task performance and inference cost. For task performance, we report Task Goal Completion (TGC) and Scenario Goal Completion (SGC) on AppWorld [31], and Task Score (TS) and Success Rate (SR) on WebShop [39].
Inference cost is measured by the total input and output tokens consumed by the entire team, including auxiliary model calls, and normalized to the Independent baseline. Non-model storage and retrieval costs are excluded for all methods. Figure 3 displays from unrounded token means; negative values indicate fewer tokens. Ratio uncertainty is not estimated from the aggregate summaries.
Implementation Details. Unless otherwise specified, we use three parallel agents solving the same task in separate environments. We evaluate Qwen3.5-35B-A3B and Qwen3.5-4B [24] as task models. All task and answering models remain frozen, while only the Qwen3-0.6B gate [23] is trained using trajectories collected with Qwen3.5-35B-A3B on both benchmarks. The trained gate is shared across task models within each benchmark.
For final evaluation, each agent reports its confidence, and we select the eligible candidate with the highest confidence without accessing benchmark rewards. We also report Oracle@3, which identifies the best outcome among the three candidates using benchmark feedback. The former reflects performance under a practical selection strategy, while the latter measures the potential of the generated candidates and reveals limitations in final selection. All experiments are repeated with three generation seeds. Further details are provided in the supplementary material.
4.2. Main Results
AOD consistently improves task performance. As shown in Table 1, AOD outperforms Independent on both metrics across all model and benchmark settings. The improvement is particularly evident on AppWorld, where TGC increases by 8.89 percentage points with Qwen3.5-35B-A3B. Compared with other communication methods, AOD achieves the best selected performance in three of the four settings, with LTS (Adapted) leading on 4B AppWorld. These results highlight the benefits of accessing peer information when needed, beyond independent parallel execution.
AOD achieves a favorable balance between performance and inference cost. Figure 3 shows that AOD uses fewer tokens than PeriodicShare and LTS (Adapted) across all four settings. It also improves task performance over Independent while reducing token consumption on 35B WebShop and 4B AppWorld. Agentfugue (Adapted) uses fewer tokens than AOD in three settings. It additionally replaces completed execution segments in the agent context with summaries and retains the raw segments in an external hub [14]. This reduces repeated processing of full histories. The other methods do not use this compression, so the token comparison does not hold context management fixed and cannot isolate communication efficiency.
Oracle results reveal the importance of final selection.
Table 1. Task performance and oracle outcomes on two interactive benchmarks. Improvement is AOD minus the strongest baseline in each column for the same task model, in points or percentage points. Entries show means, with standard deviations over three seeds in subscripts.
| Model | Method | AppWorld | WebShop | ||||||
|---|---|---|---|---|---|---|---|---|---|
| TGC↑ | SGC↑ | Oracle@3TGC↑ | SGC↑ | TS↑ | SR↑ | Oracle@3TS↑ | SR↑ | ||
| Single agent | |||||||||
| Qwen3.5-35B-A3B | Base | 43.332.49 | 15.000.00 | - | - | 62.032.75 | 40.172.54 | - | - |
| ReAct | 49.443.31 | 27.500.00 | - | - | 66.753.17 | 41.172.82 | - | - | |
| Parallel agents | |||||||||
| Independent | 53.895.36 | 30.008.49 | 67.223.57 | 44.174.32 | 67.450.96 | 42.501.39 | 72.410.77 | 49.670.96 | |
| PeriodicShare | 54.728.24 | 30.008.17 | 68.333.77 | 48.337.12 | 68.380.09 | 42.670.53 | 72.170.65 | 47.670.53 | |
| LTS (Adapted) | 54.445.19 | 30.834.32 | 69.721.09 | 50.002.83 | 69.162.05 | 43.503.49 | 73.680.89 | 50.001.60 | |
| Agentfugue (Adapted) | 59.722.03 | 32.501.33 | 71.673.00 | 46.678.78 | 67.800.73 | 43.172.18 | 71.780.13 | 49.500.80 | |
| AOD | 62.782.68 | 38.332.89 | 73.610.48 | 53.331.44 | 70.271.06 | 45.501.73 | 74.921.45 | 51.331.26 | |
| Improvement | +3.06 | +5.83 | +1.94 | +3.33 | +1.11 | +2.00 | +1.24 | +1.33 | |
| Single agent | |||||||||
| Qwen3.5-4B | Base | 16.944.28 | 2.502.50 | - | - | 31.321.56 | 15.330.76 | - | - |
| ReAct | 13.892.55 | 1.672.89 | - | - | 42.843.39 | 24.003.97 | - | - | |
| Parallel agents | |||||||||
| Independent | 27.502.50 | 6.672.89 | 30.561.73 | 9.173.82 | 55.511.95 | 27.172.75 | 58.772.72 | 31.832.84 | |
| PeriodicShare | 24.722.68 | 7.506.61 | 28.062.93 | 9.178.04 | 61.631.37 | 29.671.61 | 66.281.61 | 36.332.84 | |
| LTS (Adapted) | 31.391.27 | 12.504.33 | 35.281.73 | 16.671.44 | 56.580.18 | 28.332.57 | 60.310.61 | 32.172.52 | |
| Agentfugue (Adapted) | 29.170.83 | 9.172.89 | 31.941.27 | 13.331.44 | 59.842.11 | 31.831.75 | 64.201.49 | 37.670.76 | |
| AOD | 31.111.73 | 10.833.82 | 38.061.27 | 18.331.44 | 62.900.79 | 32.332.02 | 68.710.58 | 39.002.50 | |
| Improvement | -0.28 | -1.67 | +2.78 | +1.66 | +1.27 | +0.50 | +2.42 | +1.33 | |

Figure 3. Full-team token change relative to Independent (three-seed means; lower is better). †Agentfugue (Adapted) additionally compresses completed context, storing raw histories in an external hub; context management differs across methods.
On 4B AppWorld, AOD achieves the highest Oracle@3 TGC, although LTS (Adapted) obtains better results under confidence selection. The larger gap between Oracle@3 and selected TGC for AOD indicates that promising candidates are not always recognized by the final selector. This highlights the potential for improved selection strategies to further enhance the effectiveness of parallel agentic systems.
4.3. Why Is AOD Effective?
We investigate the effectiveness of AOD by analyzing its communication decisions, peer selection and answering, and exploration behavior, supplemented by ablation studies.
Setup. We conduct our analysis using Qwen3.5-35B-A3B with three parallel agents on AppWorld and WebShop. To characterize parallel exploration, we consider the resources accessed by each agent (API endpoints in AppWorld and product IDs in WebShop). Let denote the set of distinct resources accessed by agent . We introduce two complementary metrics: 1) Exploration Diversity (), which measures the differences between agents' exploration trajectories using the average pairwise Jaccard distance [16]:
where the distance is defined as zero for two empty sets; and 2) Team Coverage (Cov), which measures the total number of distinct resources explored by the team, defined as .
4.3.1. Help-Seeking Gate
We evaluate the learned gate by comparing three policies in Table 2: 1) Autonomous, which executes all proposed requests; 2) AOD-Prompt, which uses the pretrained Qwen3-
Independent mean

(a) AppWorld

(b) AppWorld

(c) WebShop

(d) WebShop
Figure 4. Exploration diversity and coverage with Qwen3.5-35B-A3B and three agents (mean ± standard deviation). Dashed lines mark Independent means. Ind., PS, LTS, and AF denote Independent, PeriodicShare, LTS (Adapted), and Agentfugue (Adapted).
Table 2. Help-seeking gate ablation with Qwen3.5-35B-A3B.
| Policy | AppWorld | ||
|---|---|---|---|
| TGC↑ | SGC↑ | Cost↓ | |
| Autonomous | 56.67 | 31.67 | ×1.13 |
| AOD-Prompt | 57.50 | 33.33 | ×1.11 |
| AOD | 62.78 | 38.33 | ×1.09 |
| Policy | WebShop | ||
|---|---|---|---|
| TS↑ | SR↑ | Cost↓ | |
| Autonomous | 68.60 | 44.00 | ×0.98 |
| AOD-Prompt | 69.59 | 45.00 | ×1.00 |
| AOD | 70.27 | 45.50 | ×0.92 |
Table 3. Peer selection and answering ablation with Qwen3.5-35B-A3B.
| Variant | AppWorld | ||
|---|---|---|---|
| TGC↑ | SGC↑ | Cost↓ | |
| Random Peer | 58.33 | 30.00 | ×1.13 |
| Evidence-Based | 60.00 | 40.50 | ×1.15 |
| AOD | 62.78 | 38.33 | ×1.09 |
| Variant | WebShop | ||
|---|---|---|---|
| TS↑ | SR↑ | Cost↓ | |
| Random Peer | 66.16 | 40.50 | ×0.97 |
| Evidence-Based | 68.58 | 41.50 | ×0.98 |
| AOD | 70.27 | 45.50 | ×0.92 |
0.6B gate; and 3) AOD, which learns approval decisions from downstream team outcomes. All variants share the same request formulation, peer selection, and answering mechanisms.
Selective help seeking improves performance and efficiency. As shown in Table 2, AOD outperforms both alternatives across both benchmarks while consuming fewer tokens. On AppWorld, TGC improves by 5.28 percentage points over AOD-Prompt, alongside higher SGC. On WebShop, performance improvements accompany a reduction in relative token cost from ×1.00 to ×0.92. These results highlight the value of learning which requests warrant communication, rather than simply increasing the frequency of peer assistance.
4.3.2. Peer Selection and Answering
Setup. Table 3 compares three variants: 1) Random Peer, which randomly selects a peer to generate a response; 2) Evidence-Based, which directly returns retrieved BM25 passages [25]; and 3) AOD, which selects a relevant peer using BM25 and generates a tailored response. All variants use the same trained gate.
Relevant peer selection improves performance and efficiency. As shown in Table 3, AOD outperforms Random Peer on both benchmarks, with gains of 8.33 percentage points in AppWorld SGC and 5.00 points in WebShop SR, while using fewer tokens. With the gate and answering model fixed, these results highlight the importance of consulting relevant peers.
Targeted answering enhances information utilization. Compared with direct BM25 retrieval, AOD improves both WebShop metrics and AppWorld TGC, although direct retrieval achieves higher AppWorld SGC (40.50 versus 38.33). Moreover, AOD consumes fewer total tokens on both benchmarks despite the additional answering step. Human evaluation on fixed requests also finds more relevant new evidence and observed evidence use with AOD (see the supplementary material).
4.3.3. Exploration Diversity and Coverage
AOD balances information sharing and independent exploration. Figure 4 reveals two distinct patterns across benchmarks. 1) Complementary exploration on AppWorld. AOD achieves the highest mean diversity while maintaining coverage comparable to Independent. This suggests that targeted assistance allows agents to reuse peer discoveries without converging on identical exploration paths. 2) Broader collective search on WebShop. Although AOD exhibits slightly lower diversity than Independent and LTS (Adapted), it covers more distinct products than Independent, with coverage comparable to LTS (Adapted). This in-
Table 4. Scaling with Qwen3.5-35B-A3B.
| Method | AppWorld | WebShop | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| TGC↑ | SGC↑ | Oracle@KTGC↑ | SGC↑ | Tokens(M/task)↓ | TS↑ | SR↑ | Oracle@KTS↑ | SR↑ | Tokens(M/task)↓ | ||
| 5 | Independent | 49.17 | 30.00 | 69.17 | 57.50 | 1.737 | 69.12 | 43.00 | 74.13 | 49.50 | 0.695 |
| AOD | 57.50 | 32.50 | 79.17 | 65.00 | 1.883 | 69.95 | 44.00 | 77.89 | 56.00 | 0.730 | |
| 7 | Independent | 52.50 | 25.00 | 80.83 | 65.00 | 2.448 | 70.03 | 46.00 | 78.41 | 56.00 | 0.816 |
| AOD | 64.17 | 42.50 | 82.50 | 70.00 | 2.632 | 71.67 | 48.00 | 78.49 | 56.00 | 0.748 | |
| 9 | Independent | 55.83 | 30.00 | 88.33 | 82.50 | 3.085 | 70.51 | 46.00 | 78.90 | 56.50 | 1.084 |
| AOD | 62.50 | 42.50 | 89.17 | 82.50 | 3.247 | 72.30 | 44.50 | 81.49 | 60.00 | 1.005 | |
dicates that greater overlap between agents can coexist with broader collective exploration.
Together, these findings highlight the importance of considering diversity and coverage jointly. Higher diversity does not necessarily imply broader exploration. More importantly, AOD improves task performance under both patterns, suggesting that effective collaboration depends on balancing information reuse and independent exploration rather than maximizing diversity alone.
Observed communication and execution traces are provided in the supplementary material.
4.4. Sensitivity Analysis
We examine the effects of gate supervision and team size using Qwen3.5-35B-A3B.
4.4.1. Rollout Probability and Reward Target
Setup. We examine two factors in gate supervision: 1) Rollout probability (), which controls approval of subsequent requests during paired rollouts, with and the initial decision fixed; and 2) Reward target, comparing team reward with requester reward at . Remaining team inference cost breaks reward ties. Each configuration trains a separate gate, evaluated with three agents and three seeds.
Rollout probability affects gate performance. Figures 5 and 6 show that offers the best overall balance. On AppWorld, it achieves the highest TGC and SGC with competitive inference cost. On WebShop, yields a slightly higher Task Score, while achieves the highest SR (45.50) and lowest token consumption. These results highlight the importance of accounting for future assistance when learning communication decisions.
Team reward better aligns supervision with collective outcomes. Compared with requester reward, team reward improves both performance metrics on both benchmarks, with similar or lower inference cost. Notably, WebShop SR increases from 42.50 to 45.50. This suggests that effective communication should be evaluated by its contribution to team outcomes, rather than individual agent progress alone.

Figure 5. Gate-training sensitivity on AppWorld. Bars show mean performance over three seeds; markers show mean full-team tokens. Bold labels mark default settings.
4.4.2. Scaling to Larger Teams
Setup. We compare AOD with Independent at team sizes , reusing the trained gate without retraining. Each comparison uses the same tasks, seeds, per-agent budgets, and final selection rule.
AOD scales effectively to nine agents. Across all tested team sizes, AOD improves AppWorld TGC and SGC and WebShop Task Score over Independent (Table 4). The App-World SGC gain reaches 17.50 percentage points at . On WebShop, AOD achieves higher Task Score with approximately 7–8% fewer total tokens at . It also matches or exceeds Independent on every Oracle metric across both benchmarks. These gains show that the learned communication policy transfers to larger teams without retraining.
5. Conclusion
We presented Ask on Demand (AOD), a communication framework that enables parallel agents to seek assistance from peers when specific information needs arise. We further train a lightweight gate to identify requests worth executing, using paired team continuations and supervision based on final team outcomes and inference cost. Experiments on AppWorld and WebShop demonstrate consistent performance improvements over independent parallel execution, with lower token consumption than periodic shar-

Figure 6. Gate-training sensitivity on WebShop. Bars show mean performance over three seeds; markers show mean full-team tokens. Bold labels mark default settings.
ing and adapted shared memory methods. Further analyses highlight the importance of selective communication and relevant peer selection, while showing that performance gains do not require a uniform increase in exploration diversity. These findings suggest that aligning communication with agents' evolving information needs offers an effective approach to improving collaboration in parallel agentic systems.
References
[1] Summer Eunhyung Ann, Haokun Liu, and Chenhao Tan. The interaction tax: When communication erases diversity in multi-agent teams, 2026. 1
[2] Akari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil, and Hanneh Hajishirzi. Self-RAG: Learning to retrieve, generate, and critique through self-reflection. In The Twelfth International Conference on Learning Representations, 2024. 3
[3] Raphen Becker, Alan Carlin, Victor Lesser, and Shlomo Zilberstein. Analyzing myopic approaches for multi-agent communication. Computational Intelligence, 25(1):31–50, 2009. 4
[4] Bradley Brown, Jordan Juravsky, Ryan Ehrlich, Ronald Clark, Quoc V. Le, Christopher Ré, and Azalia Mirhoseini. Large language monkeys: Scaling inference compute with repeated sampling. arXiv preprint arXiv:2407.21787, 2024. 2
[5] Haodong Chen, Shuai Wang, Yu Yin, Shengyao Zhuang, Guido Zuccon, and Teerapong Leelanupab. ITER: Interaction-aware retrieval for agentic search. arXiv preprint arXiv:2608.27912, 2026. 3
[6] Abhishek Das, Théophile Gervet, Joshua Romoff, Dhruv Batra, Devi Parikh, Mike Rabbat, and Joelle Pineau. TarMAC: Targeted multi-agent communication. In Proceedings of the 36th International Conference on Machine Learning, pages 1538–1546. PMLR, 2019. 2
[7] DeepSeek-AI. DeepSeek-V4: Towards highly efficient million-token context intelligence, 2026. 6
[8] Yilun Du, Shuang Li, Antonio Torralba, Joshua B. Tenenbaum, and Igor Mordatch. Improving factuality and reasoning in language models through multiagent debate. In Proceedings of the 41st International Conference on Machine Learning, pages 11733–11763. PMLR, 2024. 2
[9] Samer Faraj and Lee Sproull. Coordinating expertise in software development teams. Management Science, 46(12):1554–1568, 2000. 2
[10] Joseph Fioresi, Parth Parag Kulkarni, Ashmal Vayani, Song Wang, and Mubarak Shah. Learning to share: Selective memory for efficient parallel agentic systems. In Proceedings of the 43rd International Conference on Machine Learning, pages 31146–31160. PMLR, 2026. 1, 2, 6
[11] Tianyu Gao, Howard Yen, Jiatong Yu, and Danqi Chen. Enabling large language models to generate text with citations. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 6465–6488, Singapore, 2023. Association for Computational Linguistics. 4
[12] Paul Glasserman and David D. Yao. Some guidelines and guarantees for common random numbers. Management Science, 38(6):884–908, 1992. 5
[13] Sirui Hong, Mingchen Zhuge, Jonathan Chen, Xiawu Zheng, Yuheng Cheng, Jinlin Wang, Ceyao Zhang, Zili Wang, Steven Yau, Zijuan Lin, Liyang Zhou, Chenyu Ran, Lingfeng Xiao, Chenglin Wu, and Jürgen Schmidhuber. MetaGPT: Meta programming for a multi-agent collaborative framework. In International Conference on Learning Representations, pages 23247–23275, 2024. 2
[14] Yuyang Hu, Hongjin Qian, Shuting Wang, Jiongnan Liu, Tong Zhao, Xiaoxi Li, Zheng Liu, and Zhicheng Dou. AgentFugue: Agent scaling for long-horizon tasks through collective reasoning. arXiv preprint arXiv:2605.24486, 2026. 1, 2, 6
[15] Zhengbao Jiang, Frank Xu, Luyu Gao, Zhiqing Sun, Qian Liu, Jane Dwivedi-Yu, Yiming Yang, Jamie Callan, and Graham Neubig. Active retrieval augmented generation. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 7969–7992, Singapore, 2023. Association for Computational Linguistics. 3
[16] Sven Kosub. A note on the triangle inequality for the Jaccard distance. Pattern Recognition Letters, 120:36–38, 2019. 7
[17] Yoonsang Lee, Howard Yen, Xi Ye, and Danqi Chen. Agentic aggregation for parallel scaling of long-horizon agentic tasks. In Conference on Language Modeling (COLM), 2026. 1, 2
[18] Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, Sebastian Riedel, and Douwe Kiela. Retrieval-augmented generation for knowledge-intensive NLP tasks. In Advances in Neural Information Processing Systems, pages 9459–9474. Curran Associates, Inc., 2020. 4
[19] Guohao Li, Hasan Hammoud, Hani Itani, Dmitrii Khizbullin, and Bernard Ghanem. CAMEL: Communicative agents for “mind” exploration of large language model society. In Advances in Neural Information Processing Systems, pages 51991–52008. Curran Associates, Inc., 2023. 2
[20] Bohan Lin, Kuo Yang, Zelin Tan, Yingchuan Lai, Chen Zhang, Guibin Zhang, Xinlei Yu, Miao Yu, Xu Wang, Yudong Zhang, and Yang Wang. AgentAsk: Multi-agent systems need to ask. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1:
Long Papers), pages 28055–28077. Association for Computational Linguistics, 2026. 3
[21] Yuxing Lu, Yucheng Hu, Xukai Zhao, and Jiuxin Cao. Dy-Topo: Dynamic topology routing for multi-agent reasoning via semantic matching. arXiv preprint arXiv:2602.06039, 2026. 3
[22] Chen Qian, Wei Liu, Hongzhang Liu, Nuo Chen, Yufan Dang, Jiahao Li, Cheng Yang, Weize Chen, Yusheng Su, Xin Cong, Juyuan Xu, Dahai Li, Zhiyuan Liu, and Maosong Sun. ChatDev: Communicative agents for software development. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 15174–15186. Association for Computational Linguistics, 2024. 2
[23] Qwen Team. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025. 5, 6
[24] Qwen Team. Qwen3.5: Towards native multimodal agents, 2026. 6
[25] Stephen Robertson and Hugo Zaragoza. The probabilistic relevance framework: BM25 and beyond. Foundations and Trends in Information Retrieval, 3(4):333–389, 2009. 4, 8
[26] Noah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan, and Shunyu Yao. Reflexion: language agents with verbal reinforcement learning. In Advances in Neural Information Processing Systems, pages 8634–8652. Curran Associates, Inc., 2023. 1
[27] Amanpreet Singh, Tushar Jain, and Sainbayar Sukhbaatar. Learning when to communicate at scale in multiagent cooperative and competitive tasks. In International Conference on Learning Representations, 2019. 2
[28] Woomin Song, Beomjun Kim, Daewon Choi, Sai Muralidhar Jayanthi, Saket Dingliwal, Jinwoo Shin, and Aram Galstyan. ExComm: Exploration-stage communication for error-resilient agentic test-time scaling. arXiv preprint arXiv:2605.22102, 2026. 2
[29] Jinwei Su, Qizhen Lan, Yinghui Xia, Lifan Sun, Weiyou Tian, Tianyu Shi, and Lewei He. Difficulty-aware agentic orchestration for query-specific multi-agent workflows. In Proceedings of the ACM Web Conference 2026, pages 2060–2070. ACM, 2026. 3
[30] Katherine Tian, Eric Mitchell, Allan Zhou, Archit Sharma, Rafael Rafailov, Huaxiu Yao, Chelsea Finn, and Christopher Manning. Just ask for calibration: Strategies for eliciting calibrated confidence scores from language models fine-tuned with human feedback. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 5433–5442, Singapore, 2023. Association for Computational Linguistics. 3
[31] Harsh Trivedi, Tushar Khot, Mareike Hartmann, Ruskin Manku, Vinty Dong, Edward Li, Shashank Gupta, Ashish Sabharwal, and Niranjan Balasubramanian. AppWorld: A controllable world of apps and people for benchmarking interactive coding agents. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 16022–16076, Bangkok, Thailand, 2024. Association for Computational Linguistics. 1, 2, 6
[32] Danqing Wang, Da Yin, Ruta Desai, Lei Li, Asli Celikyilmaz, and Ansong Ni. Learning to interrupt in language-based multi-agent communication. In Conference on Language Modeling (COLM), 2026. 2, 4
[33] Guanzhi Wang, Yuqi Xie, Yunfan Jiang, Ajay Mandlekar, Chaowei Xiao, Yuke Zhu, Linxi Fan, and Anima Anandkumar. Voyager: An open-ended embodied agent with large language models. Transactions on Machine Learning Research, 2024. 1
[34] Xuezhi Wang, Jason Wei, Dale Schuurmans, Quoc Le, Ed Chi, Sharan Narang, Aakanksha Chowdhery, and Denny Zhou. Self-consistency improves chain of thought reasoning in language models. In International Conference on Learning Representations, 2023. 2
[35] Zhimin Wang, Duo Wu, Shaokang He, Jinghe Wang, Linjia Kang, Jing Yu, Kai Zhu, Jiawei Li, and Zhi Wang. Collaborative belief reasoning with LLMs for efficient multi-agent collaboration. arXiv preprint arXiv:2509.21981, version 3, 2026. 3
[36] Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Beibin Li, Erkang Zhu, Li Jiang, Xiaoyun Zhang, Shaokun Zhang, Jiale Liu, Ahmed Awadallah, Ryen W. White, Doug Burger, and Chi Wang. AutoGen: Enabling next-gen LLM applications via multi-agent conversations. In First Conference on Language Modeling, 2024. 2
[37] B. Y. Yan, Chaofan Li, Hongjin Qian, Shuqi Lu, and Zheng Liu. General agentic memory via deep research. arXiv preprint arXiv:2511.18423, 2025. 1
[38] John Yang, Carlos Jimenez, Alexander Wettig, Kilian Lieret, Shunyu Yao, Karthik Narasimhan, and Ofir Press. SWE-agent: Agent-computer interfaces enable automated software engineering. In Advances in Neural Information Processing Systems, pages 50528–50652. Curran Associates, Inc., 2024. 1
[39] Shunyu Yao, Howard Chen, John Yang, and Karthik Narasimhan. WebShop: Towards scalable real-world web interaction with grounded language agents. In Advances in Neural Information Processing Systems, pages 20744–20757. Curran Associates, Inc., 2022. 2, 6
[40] Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. ReAct: Synergizing reasoning and acting in language models. In International Conference on Learning Representations, 2023. 1, 6
[41] Guibin Zhang, Yanwei Yue, Zhixun Li, Sukwon Yun, Guancheng Wan, Kun Wang, Dawei Cheng, Jeffrey Yu, and Tianlong Chen. Cut the crap: An economical communication pipeline for LLM-based multi-agent systems. In International Conference on Learning Representations, pages 75389–75428, 2025. 1, 3
[42] King Zhu, Hanhao Li, Siwei Wu, Tianshun Xing, Dehua Ma, Xiangru Tang, Minghao Liu, Jian Yang, Jiaheng Liu, Yuchen Eleanor Jiang, Changwang Zhang, Chenghua Lin, Jun Wang, Ge Zhang, and Wangchunshu Zhou. Scaling test-time compute for LLM agents. arXiv preprint arXiv:2506.12928, 2025. 1, 2
[43] Mingchen Zhuge, Wenyi Wang, Louis Kirsch, Francesco Faccio, Dmitrii Khizbullin, and Jürgen Schmidhuber.
GPTSwarm: Language agents as optimizable graphs. In Proceedings of the 41st International Conference on Machine Learning, pages 62743–62767. PMLR, 2024. 3