Routed Graph Handoff: Adaptive Format Selection for Multi-Agent LLM Delegation
Summary
Routed Graph Handoff proposes a lightweight router to adaptively select between structured graphs and natural language for inter-agent communication in multi-agent LLM systems, improving benchmark performance while reducing token cost.
View Cached Full Text
Cached at: 08/27/26, 09:17 AM
# Adaptive Format Selectionfor Multi-Agent LLM Delegation
Source: [https://arxiv.org/html/2608.25277](https://arxiv.org/html/2608.25277)
## Routed Graph Handoff: Adaptive Format Selection for Multi\-Agent LLM Delegation
Ankit Chadha[https://orcid.org/0000-0002-5029-0136](https://orcid.org/0000-0002-5029-0136)Affiliation:pratyay, ankitrc@amazon\.com
###### Abstract
Multi\-agent LLM systems coordinate through natural\-language messages that consume 40–60% of their token budget\. Replacing these with structured graphs reduces cost but fails on tasks requiring adaptive reasoning\. We proposeRouted Graph Handoff, where a lightweight LLM router \(155 tokens, 0\.15% overhead\) selects between a typed dependency graph and natural language for each delegation\. On four benchmarks \(1,050\+ trajectories\), the routed system matches or exceeds NL\-only on every task:\+12\.7 pponτ\\tau\-retail at 3\.2×\\timescompression \(p<0\.01p\{<\}0\.01\),\+8\.7 ppon BrowseComp at 2\.2×\\timescompression \(p<0\.05p\{<\}0\.05\), and parity on BFCL and AppWorld\. Without the router, graph\-only delegation regresses 14\.6 pp on AppWorld; the router eliminates this at near\-zero cost\. A graph\-aware executor prompt is required: the same schema without interpretation guidance yields no gain\. An oracle analysis reveals 8\.6 pp of additional headroom, motivating execution\-time adaptive routing as future work\.
## 1Introduction
When LLM agents collaborate in multi\-agent systems, theformatof inter\-agent messages is treated as an afterthought: prose by default\. This is surprising: in distributed systems, protocol selection \(binary vs\. text, RPC vs\. REST, synchronous vs\. asynchronous\) is a first\-class design decision with well\-understood tradeoffs\([Tanenbaum and van Steen, 2007](https://arxiv.org/html/2608.25277#bib.bib2)\)\. Yet multi\-agent LLM frameworks such as AutoGen\([Wu et al\., 2024](https://arxiv.org/html/2608.25277#bib.bib1)\), CAMEL\([Li et al\., 2023](https://arxiv.org/html/2608.25277#bib.bib4)\), and AgentVerse\([Chen et al\., 2024](https://arxiv.org/html/2608.25277#bib.bib5)\)definetopology\(who talks to whom\) but leave theformat\(how they communicate\) to unstructured natural language\.
We propose that handoff format deserves the same attention as model selection or prompt engineering\. Error analysis on 345 multi\-agent trajectories reveals that 76% of failures stem frominter\-agent misalignment: the executor misinterprets ordering constraints, drops prerequisites, or loops on ambiguous instructions\.111Single\-agent systems show 0% inter\-agent misalignment failures; their failures are exclusively task\-verification errors\.This suggests that handoff format, not model capability, is the binding constraint on multi\-agent coordination\.
A typed graph schema that makes dependencies explicit \(depends\_onedges, precondition nodes, tool\-call sequences\) directly addresses misalignment by eliminating ambiguity in execution ordering\. We design such a schema \(8 node types, 7 edge relations\) emitted via constrained decoding at∼\{\\sim\}350 tokens per delegation \(2×\\timescompression vs\. NL\)\. On dependency\-chain tasks \(BrowseComp;[Wei et al\., 2025](https://arxiv.org/html/2608.25277#bib.bib7)\), the graph’s structural guarantees yield \+8\.7 pp on task success \(p<0\.05p\{<\}0\.05, Holm\-Bonferroni corrected\)\.
But structure imposes rigidity\. On AppWorld\([Trivedi et al\., 2024](https://arxiv.org/html/2608.25277#bib.bib10)\), where tasks require adaptive iteration and conditional branching, graph\-only delegationregresses14\.6 pp\. The executor cannot deviate from an encoded plan when steps fail unexpectedly, which is precisely the flexibility that prose affords\.
Together these define astructure\-flexibility tradeoff: explicit dependencies prevent misordering but prohibit adaptive backtracking\. Neither format dominates\. The finding parallels observations in intra\-agent reasoning: chain\-of\-thought structure helps arithmetic\([Wei et al\., 2022](https://arxiv.org/html/2608.25277#bib.bib3)\)but over\-constrains creative generation, motivating adaptive prompting\.
We resolve this tradeoff withRouted Graph Handoff\(Figure[1](https://arxiv.org/html/2608.25277#S2.F1)\): a lightweight LLM router \(∼\{\\sim\}155 tokens, 0\.15% overhead\) selects graph or NL per delegation based on task computational pattern\. The router is conservative: it defaults to NL and routes to graph only for dependency\-chain tasks, eliminating all regressions at near\-zero cost\. On BrowseComp, the system achieves a Pareto improvement: simultaneously \+8\.7 pp more accurateand22% cheaper\.
Our contributions:
1. 1\.A typed graph schema for multi\-agent handoffs that compresses delegations 2–3×\\timeswhile improving task success on dependency\-chain benchmarks \(\+12\.7 pp onτ\\tau\-retail,p<0\.01p\{<\}0\.01; \+8\.7 pp on BrowseComp,p<0\.05p\{<\}0\.05\)\.
2. 2\.Empirical identification of the structure\-flexibility tradeoff across four benchmarks, showing that neither graph nor NL dominates, and that a graph\-aware executor prompt is necessary for the schema to be effective\.
3. 3\.A near\-zero\-cost routing mechanism that achieves Pareto improvement on quality and cost, with oracle analysis quantifying 8\.6 pp of remaining headroom achievable through execution\-time signals\.
## 2Method
TaskRouterGraph357 tokNL576 tokExecResultGRAPHNL155 tok0\.15%
Figure 1:System overview\. The router \(one LLM call\) selectsGraph\(typed DAG, 2×\\timescompression\) orNL\(prose fallback\) per task\.### 2\.1Native Graph Handoff Schema
Each delegation is encoded as a typed DAG with 8 node types \(goal,constraint,entity,action,precondition,postcondition,tool\_call,tool\_arg\) and 7 edge relations \(requires,targets,blocks,enables,depends\_on,contradicts,follows\)\.
The schema was designed iteratively on 47τ\\tau\-bench trajectories\. We started with 4 core types \(goal, entity, action, constraint\)\. Error analysis revealed two failure patterns: \(1\) sub\-agents skipped prerequisite checks, addressed by adding precondition/postcondition nodes that make pre\-requirements explicit; \(2\) multi\-step API sequences were called in the wrong order, addressed by adding tool\_call/tool\_arg nodes withdepends\_onedges that enforce execution ordering\.
The orchestrating LLM \(Claude Sonnet 4\.5\) emits the graph via Bedrock constrained decoding: the schema is provided as atool\_useinput schema, so the output is guaranteed to be valid JSON conforming to the DAG structure\. No fine\-tuning or auxiliary encoder is required; this is a zero\-shot, inference\-time\-only approach\.
#### Graph\-aware execution is part of the interface\.
The schema is only half of the handoff: the receiving agent needs a*graph\-aware executor prompt*that names the node types, defines the edge semantics \(e\.g\.,depends\_on= must complete before\), and specifies topological traversal\. This receiver\-side instruction is essential: passing the same JSON to a standard executor prompt yields no gain, and onτ\\tau\-retail restoring it lifts NGH from below NL to \+12\.7 pp \(Appendix[E](https://arxiv.org/html/2608.25277#A5)\)\. We therefore treat the typed graph*and*its interpretation guidance as a single mechanism, not the graph alone\.
### 2\.2LLM Router
Before each delegation, a single classification call \(∼\{\\sim\}155 tokens total, $0\.0005\) decides whether to use graph or NL\. The router prompt encodes one abstract pattern with no benchmark\-specific examples:
Pick GRAPH if the task requires deterministic answers that depend on ordered sub\-tasks \(aggregations, multi\-step lookups, sequential API calls\)\. Pick NL if the task requires iteration, conditionals, free\-text interpretation, or adaptive reasoning\.
Three design choices make the router robust:
- •Conservative default: NL unless dependency\-chain pattern is detected\. This ensures zero NL wins are sacrificed\.
- •Deterministic: temperature = 0, verified identical across 3 independent runs\.
- •Domain\-agnostic: the same prompt generalizes across BrowseComp \(web search\),τ\\tau\-bench \(customer service\), BFCL \(function calling\), and AppWorld \(multi\-app coding\)\.
The router is a*single, domain\-agnostic classifier*: one prompt, no benchmark\-specific examples, applied to each task and blind to benchmark identity, so it decides from task content alone\. The per\-benchmark rates we report are therefore a post\-hoc aggregate of these blind per\-task decisions: 100% graph on BrowseComp/τ\\tau\-retail/BFCL; 11% graph / 89% NL on AppWorld; 2% graph onτ\\tau\-airline\. That the same classifier splits AppWorld itself 11%/89% \(which a fixed per\-benchmark rule cannot do\) confirms the decision is made per task, not per domain; the clustering by benchmark arises because within each of these benchmarks nearly every task shares the same better format\.
## 3Experiments
#### Benchmarks\.
We evaluate on four diverse multi\-agent tasks: BrowseComp\([Wei et al\., 2025](https://arxiv.org/html/2608.25277#bib.bib7)\)\(150 trials, long\-horizon web search requiring multi\-step evidence gathering\), BFCL v3\([Patil et al\., 2025](https://arxiv.org/html/2608.25277#bib.bib8)\)\(600 trials, Berkeley Function Calling Leaderboard with complex API sequences\),τ\\tau\-bench retail\([Yao et al\., 2025](https://arxiv.org/html/2608.25277#bib.bib9)\)\(150 paired trials: 50 tasks×\\times3 seeds, multi\-step customer service with tool calls\), and AppWorld\([Trivedi et al\., 2024](https://arxiv.org/html/2608.25277#bib.bib10)\)\(152 paired trials, multi\-app tool use with conditional logic\)\. Total: 1,052 trajectories\.
#### Handoff harness\.
Every benchmark is cast as a common orchestrator\-to\-executor handoff: the orchestrator emits the delegation \(graph or NL\) and a separate executor carries it out, isolating*format*as the only variable\. Some benchmarks are not natively multi\-agent \(BFCL, for instance, is function calling\), but casting it this way tests whether the graph preserves complex API\-sequence structure without harm; the parity we observe \(75\.4 vs\. 75\.3\) is the expected outcome for a task with no cross\-step dependency structure to make explicit\.
#### Systems\.
\(1\)NL\-only: standard prose delegation \(baseline\), \(2\)NGH\-only: all delegations encoded as typed graphs, \(3\)Routed: router \+ NGH \+ NL fallback \(our system\), \(4\)Oracle: per\-task best format \(upper bound\)\. The orchestrator is Claude Sonnet 4\.5 via AWS Bedrock throughout\.
#### Metrics\.
Pass@1 accuracy \(BrowseComp\), AST match accuracy \(BFCL\), Task Success Rate \(TSR;τ\\tau\-bench, AppWorld\)\. All confidence intervals are paired bootstrap 95% CIs with 10K resamples andα\\alpha=0\.05\.
### 3\.1Main Results
Table 1:Main results \(task success / accuracy %\)\. Routed matches or exceeds NL on all four benchmarks\.τ\\tau\-retail:\+12\.7 pp\(150 paired trials,p<0\.01p\{<\}0\.01\)\. BrowseComp: \+8\.7 pp, CI \[\+2\.7, \+14\.7\],p<0\.05p\{<\}0\.05\. AppWorld NGH\-only regresses−\-14\.6 pp; the router recovers parity\.The router’s primary function isregression prevention\(Table[1](https://arxiv.org/html/2608.25277#S3.T1)\)\. NGH delivers significant gains on dependency\-chain tasks: \+12\.7 pp onτ\\tau\-retail \(150 paired trials;p<0\.01p\{<\}0\.01\) and \+8\.7 pp on BrowseComp \(CI \[\+2\.7, \+14\.7\];p<0\.05p\{<\}0\.05\)\. Both are statistically significant after Holm\-Bonferroni correction\. However, NGH regresses sharply on AppWorld:−\-14\.6 pp \(CI \[−\-22\.8,−\-6\.4\]\)\.
The router resolves this asymmetry\. By defaulting to NL on 89% of AppWorld tasks \(those involving iteration, conditionals, or free\-text interpretation\), it recovers full parity \(51\.7% vs\. 51\.7%\)\. On BrowseComp andτ\\tau\-retail, the router routes 100% to graph since all tasks match the dependency\-chain pattern\. The routed system thus achieves significant gains on two benchmarks with zero regressions on the other two\.
#### Second orchestrator backbone\.
To test that these gains are not specific to Claude Sonnet 4\.5, we re\-run the handoff with GPT\-5 mini as the orchestrator\. Routed improves over the NL handoff on every family we ran \(BrowseComp 65→\\rightarrow68%, BFCL 82→\\rightarrow85%, AppWorld 50→\\rightarrow52%\), matching the direction of our main results \(Appendix[G](https://arxiv.org/html/2608.25277#A7)\)\. This adds accuracy portability to the earlier cross\-vendor check \(Claude×\\timesNova Pro: 0% invalid JSON, 3\.1–3\.6×\\timescompression preserved\), which had established only format portability\.
### 3\.2Efficiency
Weighted across all trials, the routed system achieves2\.1×\\timesaverage handoff compression\(BrowseComp 2\.2×\\times,τ\\tau\-retail 3\.2×\\times, BFCL 2\.0×\\times, AppWorld 1\.04×\\times\)\. Compression and the 0\.15% router overhead are measured over*handoff*tokens; accounting for the full per\-delegation budget \(the 155\-token router call and the∼80\{\\sim\}80\-token graph\-aware executor prefill\), the graph path still totals fewer tokens than NL \(461 vs\. 730 onτ\\tau\-retail, 1\.6×\\times; Appendix[H](https://arxiv.org/html/2608.25277#A8)\)\. On both BrowseComp andτ\\tau\-retail, NGH provides a Pareto improvement: better accuracyandlower cost per correct answer\. The graph’s dependency edges prevent executor spiraling \(15–27 retry steps eliminated on dependency\-chain failures\)\. On AppWorld, the router preserves NL behavior, avoiding the 18% overhead that NGH\-only incurs from failed graph executions\.
### 3\.3Ablation: Router Necessity
Removing the router from the system has asymmetric effects across task types:
- •BrowseComp/τ\\tau\-retail/BFCL: No change; the router routes 100% to graph on these benchmarks anyway, so Routed = NGH\-only\.
- •AppWorld:−\-14\.6 pp regression \(graph over\-constrains adaptive iteration tasks, forcing the executor into rigid plans it cannot escape\)\.
- •τ\\tau\-airline\(150 additional trials\): NGH\-only regresses−\-4\.0 pp; the router recovers parity by routing 98% to NL using the same prompt\.
The router prevents these regressions on two benchmarks at a cost of 155 tokens \(0\.15% overhead\)\. The same router prompt generalizes across all five benchmark domains without modification\. A simpler non\-LLM router that mapped benchmark label to format would reproduce this per\-benchmark aggregate, but it would require the benchmark identity our router never sees and could not produce the within\-AppWorld 11%/89% split; the LLM router’s value is exactly this label\-free generalization from task content\.
### 3\.4Protocol Comparison \(τ\\tau\-bench\)
ProtocolTSRΔ\\Delta95% CIComp\.NL baseline12\.0—1\.0×\\timesschemaRouted NGH24\.7\+12\.7\[\+6\.0, \+19\.3\]3\.2×\\timesRL Qwen 1\.5B20\.7\+8\.7\[2\.0, 15\.3\]10\.7×\\timesT5 Autoenc\.20\.0\+8\.0\[1\.3, 14\.7\]7\.7×\\timesHybrid19\.3\+7\.3\[0\.7, 14\.0\]6\.2×\\timesLLMLingua\-218\.7\+6\.7\[0\.7, 13\.3\]5\.2×\\timesnoPred\. Delta17\.3\+5\.3\[−\-0\.7, 11\.3\]0\.7×\\timesTF\-IDF16\.7\+4\.7\[−\-2\.0, 11\.3\]0\.9×\\timesTable 2:τ\\tau\-retail protocol comparison \(50 tasks×\\times3 seeds = 150 trials each\)\.BoldCIs exclude zero\. All schema\-aware methods outperform all schema\-unaware methods\. Routed NGH is the only zero\-training protocol in the top 5\.We compare 8 handoff protocols on the same 50 pinnedτ\\tau\-retail tasks \(Table[2](https://arxiv.org/html/2608.25277#S3.T2)\)\.Schema\-awareprotocols use the NGH graph either as direct output \(Routed NGH\) or as supervision for a trained compressor:RL Qwenfine\-tunes a 1\.5B\-param model with GRPO on graph\-labeled trajectories;T5 Autoencodertrains a 60M\-param encoder\-decoder to reconstruct the graph;Hybridapplies structured field extraction then LLMLingua on the remainder;LLMLingua\-2\([Pan et al\., 2024](https://arxiv.org/html/2608.25277#bib.bib14)\)is an off\-the\-shelf prompt compressor applied to the NL plan\.Schema\-unawareprotocols compress without graph structure:TF\-IDFextracts top\-weighted keywords from the NL plan;Predictive Deltahas the executor predict the plan, then transmits only the diff\.
All schema\-aware protocols outperform all schema\-unaware protocols, regardless of compression ratio\. TF\-IDF and Predictive Delta producemoretokens than NL yet still improve TSR directionally, suggesting that any structured re\-encoding helps the executor parse task structure\. Routed NGH \(\+12\.7 pp, 3\.2×\\times\) is the only zero\-training protocol and achieves thehighest TSRin the comparison, outperforming even trained compressors\. A frontier LLM with schema\-constrained decoding and a graph\-aware executor prompt is thus more effective than small trained encoders on this benchmark\.
## 4Analysis and Related Work
#### Why structure helps: the misalignment mechanism\.
Error taxonomy on 345τ\\tau\-bench trajectories \(single\-agent, NL multi\-agent, graph multi\-agent\) reveals the operative mechanism\. Of all multi\-agent failures, 76% areinter\-agent misalignment: the executor misinterprets ordering, drops prerequisites, or enters retry loops from ambiguous instructions; this share is robust to the taxonomy’s thresholds \(Appendix[I](https://arxiv.org/html/2608.25277#A9)\)\. Single\-agent systems exhibit 0% inter\-agent misalignment \(by construction\)\. The graph schema’s typed edges \(depends\_on,precondition\) directly encode what NL leaves implicit: execution ordering and prerequisite satisfaction\. Structure thus helps specifically on dependency\-chain tasks: it addresses the dominant failure mode\.
#### Why structure hurts: rigidity on adaptive tasks\.
Task\-level analysis on AppWorld \(152 paired trials\) reveals the complementary failure\.
Table 3:AppWorld by task computational pattern \(152 paired\)\. Graph helps only onaggregatetasks; NL dominates on all patterns requiring adaptive reasoning\.Onaggregatetasks \(nn=15\), NGH outperforms NL by \+6\.7 pp: edges enforce fetch\-before\-compute ordering \(Table[3](https://arxiv.org/html/2608.25277#S4.T3)\)\. Oniterate\(nn=43\) andconditional\(nn=11\) tasks, NL outperforms by 7–18 pp: rigid edges prevent adaptive backtracking\. The graph forces premature commitment to a plan; when the environment deviates, the executor cannot recover\. Complementarity is substantial: NGH rescues 9\.9% of NL failures; NL rescues 19\.7% of NGH failures\. The oracle achieves 60\.3% TSR \(8\.6 pp headroom\)\. This headroom requires execution\-time signals, motivatingmid\-trajectory format switchingas future work\.
#### Isolating the typed\-graph contribution\.
Does the gain come from the typed graph specifically, or from any more explicit, interpretation\-guided plan? Four results separate them\. \(1\) In the protocol comparison \(Table[2](https://arxiv.org/html/2608.25277#S3.T2)\),schema\-unawarere\-encodings that still hand the executor an explicit plan \(TF\-IDF and Predictive Delta\) gain only \+4\.7 to \+5\.3 pp, against the typed graph’s \+12\.7 pp\. \(2\) An identical T5\-small encoderwithoutgraph supervision regresses 28 pp relative to the same encoderwithit \(20\.0% vs\. NL 12\.0%\), so the structure, not the encoder, drives the gain\. \(3\) TF\-IDF and Predictive Delta emitmoretokens than NL yet still improve TSR, so what helps is structured re\-encoding, not token reduction\. \(4\) Varying the schema formatting itself moves task success by only±1\{\\pm\}1pp as long as ordering and dependency semantics are preserved, so the operative signal is the explicit order and dependency structure, not our specific ontology\. Cross\-vendor validation \(Claude×\\timesNova Pro\) further shows 0% invalid JSON with 3\.1–3\.6×\\timescompression preserved, confirming the schema is a portable artifact\.
#### Related work\.
Multi\-agent frameworks\([Wu et al\., 2024](https://arxiv.org/html/2608.25277#bib.bib1);[Li et al\., 2023](https://arxiv.org/html/2608.25277#bib.bib4);[Chen et al\., 2024](https://arxiv.org/html/2608.25277#bib.bib5);[Zhuge et al\., 2024](https://arxiv.org/html/2608.25277#bib.bib6)\)define orchestration topology but not handoff format\. Prose compression\([Jiang et al\., 2023](https://arxiv.org/html/2608.25277#bib.bib13);[Pan et al\., 2024](https://arxiv.org/html/2608.25277#bib.bib14)\)reduces tokens post\-hoc without preserving structural semantics; our schema\-aware approach outperforms \(p<0\.05p\{<\}0\.05for 4/5 methods onτ\\tau\-bench\)\. Constrained decoding\([Willard and Louf, 2023](https://arxiv.org/html/2608.25277#bib.bib11)\)and function calling\([Schick et al\., 2023](https://arxiv.org/html/2608.25277#bib.bib12)\)target single\-step invocations; NGH extends this to multi\-step coordination DAGs\. RouteLLM\([Ong et al\., 2025](https://arxiv.org/html/2608.25277#bib.bib15)\)routesmodels; we routeformat, a harder problem because the decision depends on execution dynamics, not input features\. Latent communication approaches achieve 10–30×\\timescompression via activations but sacrifice readability and cross\-model portability; NGH occupies a middle ground \(2×\\timescompression, full interpretability, cross\-family transfer\)\.
## 5Conclusion
Multi\-agent LLM systems face a structure\-flexibility tradeoff: typed graphs prevent misordering on dependency\-chain tasks but over\-constrain adaptive reasoning\. Routed Graph Handoff resolves this by selecting format per\-task via a 155\-token router \(0\.15% overhead\), achieving significant gains on two benchmarks \(\+12\.7 pp onτ\\tau\-retail, \+8\.7 pp on BrowseComp\) with zero regressions on the other two\. The protocol comparison shows thatschema\-awarecommunication consistently outperformsschema\-unawarecompression: what matters is preserving task\-critical structure, not minimizing token count\. The graph schema unifies zero\-training emission \(Routed NGH\) and trained compression \(RL Qwen, T5 Autoencoder\) under a single portable artifact\. Oracle analysis identifies 8\.6 pp of headroom achievable only through execution\-time routing signals, motivating mid\-trajectory adaptive format switching as future work\.
## Limitations
The router is a single per\-task classifier applied blind to benchmark identity, but on these benchmarks its decisions cluster by task type, so*realized*routing is coarse \(100% graph on dependency\-chain benchmarks; 89% NL on AppWorld\) rather than fine\-grained per\-instance adaptation\. Its demonstrated value is reliable, low\-overhead selection that recovers the better format per task from content alone and removes the graph\-only regressions \(14\.6 pp on AppWorld, 4\.0 pp onτ\\tau\-airline\); fine\-grained instance\-level routing, where the oracle shows 8\.6 pp of remaining headroom, would require execution\-time signals and is left to future work\. The graph schema was designed on 47τ\\tau\-bench trajectories that are disjoint from all evaluation data; because the same schema and router prompt \(with no benchmark\-specific examples\) are applied zero\-shot to the other three domains and still improve there \(e\.g\., \+8\.7 pp on BrowseComp, a different domain from theτ\\tau\-bench design set\), the gains are not an artifact ofτ\\tau\-bench\-specific tuning\. Even so, the schema may not generalize to domains with fundamentally different coordination patterns \(e\.g\., open\-ended creative tasks\), and automating schema generation beyond hand\-design on a single benchmark is future work\. Main results use a single orchestrator backbone \(Claude Sonnet 4\.5\); we additionally confirm accuracy portability on a second orchestrator \(GPT\-5 mini, Appendix[G](https://arxiv.org/html/2608.25277#A7)\) and format portability across model families, but broad multi\-model replication remains future work\. Finally, the graph\-aware executor prompt is a necessary complement to the schema; systems integrating this approach must include interpretation guidance for the receiving agent\.
## Ethical Considerations
This work evaluates communication protocols between LLM agents on existing public benchmarks \(τ\\tau\-bench, BrowseComp, BFCL, AppWorld\)\. No new data was collected and no human subjects were involved\. All experiments use commercially available foundation models through standard API access\. The benchmarks contain synthetic customer\-service scenarios and web\-search tasks with no personally identifiable information\. We note that more efficient multi\-agent coordination \(via compressed handoffs\) reduces computational cost and associated energy consumption, which is a positive externality of this research direction\. Throughout the development of this work, generative AI systems were employed for language refinement\. All core research contributions, experimental design, and analysis are the result of human intellectual effort\.
## References
- Chenet al\.\(2024\)W\. Chen, Y\. Su, J\. Zuo, C\. Yang, C\. Yuan, C\. Chan, H\. Yu, Y\. Lu, Y\. Hung, C\. Qian, Y\. Qin, X\. Cong, R\. Xie, Z\. Liu, M\. Sun, and J\. ZhouAgentVerse: facilitating multi\-agent collaboration and exploring emergent behaviors\.InThe Twelfth International Conference on Learning Representations,External Links:[Link](https://proceedings.iclr.cc/paper_files/paper/2024/hash/578e65cdee35d00c708d4c64bce32971-Abstract-Conference.html)Cited by:[§1](https://arxiv.org/html/2608.25277#S1.p1.1),[§4](https://arxiv.org/html/2608.25277#S4.SS0.SSS0.Px4.p1.1)\.
- Jianget al\.\(2023\)H\. Jiang, Q\. Wu, C\. Lin, Y\. Yang, and L\. QiuLLMLingua: compressing prompts for accelerated inference of large language models\.InProceedings of the 2023 Conference on Empirical Methods in Natural Language Processing,H\. Bouamor, J\. Pino, and K\. Bali \(Eds\.\),Singapore,pp\. 13358–13376\.External Links:[Document](https://dx.doi.org/10.18653/v1/2023.emnlp-main.825),[Link](https://aclanthology.org/2023.emnlp-main.825/)Cited by:[§4](https://arxiv.org/html/2608.25277#S4.SS0.SSS0.Px4.p1.1)\.
- Liet al\.\(2023\)G\. Li, H\. A\. A\. K\. Hammoud, H\. Itani, D\. Khizbullin, and B\. GhanemCAMEL: communicative agents for “mind” exploration of large language model society\.InAdvances in Neural Information Processing Systems,Vol\.36,pp\. 51991–52008\.External Links:[Link](https://proceedings.neurips.cc/paper_files/paper/2023/hash/a3621ee907def47c1b952ade25c67698-Abstract-Conference.html)Cited by:[§1](https://arxiv.org/html/2608.25277#S1.p1.1),[§4](https://arxiv.org/html/2608.25277#S4.SS0.SSS0.Px4.p1.1)\.
- Onget al\.\(2025\)I\. Ong, A\. Almahairi, V\. Wu, W\. Chiang, T\. Wu, J\. E\. Gonzalez, M\. W\. Kadous, and I\. StoicaRouteLLM: learning to route LLMs with preference data\.InThe Thirteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=8sSqNntaMr)Cited by:[§4](https://arxiv.org/html/2608.25277#S4.SS0.SSS0.Px4.p1.1)\.
- Panet al\.\(2024\)Z\. Pan, Q\. Wu, H\. Jiang, M\. Xia, X\. Luo, J\. Zhang, Q\. Lin, V\. Rühle, Y\. Yang, C\. Lin, H\. V\. Zhao, L\. Qiu, and D\. ZhangLLMLingua\-2: data distillation for efficient and faithful task\-agnostic prompt compression\.InFindings of the Association for Computational Linguistics: ACL 2024,L\. Ku, A\. Martins, and V\. Srikumar \(Eds\.\),Bangkok, Thailand,pp\. 963–981\.External Links:[Document](https://dx.doi.org/10.18653/v1/2024.findings-acl.57),[Link](https://aclanthology.org/2024.findings-acl.57/)Cited by:[§3\.4](https://arxiv.org/html/2608.25277#S3.SS4.p1.1),[§4](https://arxiv.org/html/2608.25277#S4.SS0.SSS0.Px4.p1.1)\.
- Patilet al\.\(2025\)S\. G\. Patil, H\. Mao, F\. Yan, C\. C\. Ji, V\. Suresh, I\. Stoica, and J\. E\. GonzalezThe berkeley function calling leaderboard \(BFCL\): from tool use to agentic evaluation of large language models\.InProceedings of the 42nd International Conference on Machine Learning,Proceedings of Machine Learning Research, Vol\.267,pp\. 48371–48392\.External Links:[Link](https://proceedings.mlr.press/v267/patil25a.html)Cited by:[§3](https://arxiv.org/html/2608.25277#S3.SS0.SSS0.Px1.p1.1)\.
- Schicket al\.\(2023\)T\. Schick, J\. Dwivedi\-Yu, R\. Dessì, R\. Raileanu, M\. Lomeli, E\. Hambro, L\. Zettlemoyer, N\. Cancedda, and T\. ScialomToolformer: language models can teach themselves to use tools\.InAdvances in Neural Information Processing Systems,Vol\.36,pp\. 68539–68551\.External Links:[Link](https://proceedings.neurips.cc/paper_files/paper/2023/hash/d842425e4bf79ba039352da0f658a906-Abstract-Conference.html)Cited by:[§4](https://arxiv.org/html/2608.25277#S4.SS0.SSS0.Px4.p1.1)\.
- Tanenbaum and van Steen \(2007\)A\. S\. Tanenbaum and M\. van SteenDistributed systems: principles and paradigms\.2 edition,Pearson Prentice Hall\.External Links:ISBN 978\-0\-13\-239227\-3Cited by:[§1](https://arxiv.org/html/2608.25277#S1.p1.1)\.
- Trivediet al\.\(2024\)H\. Trivedi, T\. Khot, M\. Hartmann, R\. Manku, V\. Dong, E\. Li, S\. Gupta, A\. Sabharwal, and N\. BalasubramanianAppWorld: a controllable world of apps and people for benchmarking interactive coding agents\.InProceedings of the 62nd Annual Meeting of the Association for Computational Linguistics \(Volume 1: Long Papers\),L\. Ku, A\. Martins, and V\. Srikumar \(Eds\.\),Bangkok, Thailand,pp\. 16022–16076\.External Links:[Document](https://dx.doi.org/10.18653/v1/2024.acl-long.850),[Link](https://aclanthology.org/2024.acl-long.850/)Cited by:[§1](https://arxiv.org/html/2608.25277#S1.p4.1),[§3](https://arxiv.org/html/2608.25277#S3.SS0.SSS0.Px1.p1.1)\.
- Weiet al\.\(2025\)J\. Wei, Z\. Sun, S\. Papay, S\. McKinney, J\. Han, I\. Fulford, H\. W\. Chung, A\. T\. Passos, W\. Fedus, and A\. GlaeseBrowseComp: a simple yet challenging benchmark for browsing agents\.External Links:2504\.12516,[Document](https://dx.doi.org/10.48550/arXiv.2504.12516),[Link](https://arxiv.org/abs/2504.12516)Cited by:[§1](https://arxiv.org/html/2608.25277#S1.p3.1),[§3](https://arxiv.org/html/2608.25277#S3.SS0.SSS0.Px1.p1.1)\.
- Weiet al\.\(2022\)J\. Wei, X\. Wang, D\. Schuurmans, M\. Bosma, B\. Ichter, F\. Xia, E\. H\. Chi, Q\. V\. Le, and D\. ZhouChain\-of\-thought prompting elicits reasoning in large language models\.InAdvances in Neural Information Processing Systems,Vol\.35,pp\. 24824–24837\.External Links:[Link](https://proceedings.neurips.cc/paper_files/paper/2022/hash/9d5609613524ecf4f15af0f7b31abca4-Abstract-Conference.html)Cited by:[§1](https://arxiv.org/html/2608.25277#S1.p5.1)\.
- Willard and Louf \(2023\)B\. T\. Willard and R\. LoufEfficient guided generation for large language models\.External Links:2307\.09702,[Document](https://dx.doi.org/10.48550/arXiv.2307.09702),[Link](https://arxiv.org/abs/2307.09702)Cited by:[§4](https://arxiv.org/html/2608.25277#S4.SS0.SSS0.Px4.p1.1)\.
- Wuet al\.\(2024\)Q\. Wu, G\. Bansal, J\. Zhang, Y\. Wu, B\. Li, E\. Zhu, L\. Jiang, X\. Zhang, S\. Zhang, J\. Liu, A\. H\. Awadallah, R\. W\. White, D\. Burger, and C\. WangAutoGen: enabling next\-gen LLM applications via multi\-agent conversation\.InICLR 2024 Workshop on Large Language Model \(LLM\) Agents,Note:PosterExternal Links:[Link](https://openreview.net/forum?id=uAjxFFing2)Cited by:[§1](https://arxiv.org/html/2608.25277#S1.p1.1),[§4](https://arxiv.org/html/2608.25277#S4.SS0.SSS0.Px4.p1.1)\.
- Yaoet al\.\(2025\)S\. Yao, N\. Shinn, P\. Razavi, and K\. Narasimhanτ\\tau\-Bench: a benchmark for tool\-agent\-user interaction in real\-world domains\.InThe Thirteenth International Conference on Learning Representations,External Links:[Link](https://openreview.net/forum?id=roNSXZpUDN)Cited by:[§3](https://arxiv.org/html/2608.25277#S3.SS0.SSS0.Px1.p1.1)\.
- Zhugeet al\.\(2024\)M\. Zhuge, W\. Wang, L\. Kirsch, F\. Faccio, D\. Khizbullin, and J\. SchmidhuberGPTSwarm: language agents as optimizable graphs\.InProceedings of the 41st International Conference on Machine Learning,Proceedings of Machine Learning Research, Vol\.235,pp\. 62743–62767\.External Links:[Link](https://proceedings.mlr.press/v235/zhuge24a.html)Cited by:[§4](https://arxiv.org/html/2608.25277#S4.SS0.SSS0.Px4.p1.1)\.
## Appendix AFull Protocol Comparison \(τ\\tau\-bench\)
See Table[2](https://arxiv.org/html/2608.25277#S3.T2)in the main text for the complete protocol comparison\. All 7 structured methods outperform NL\. Schema\-aware methods \(top 5\) consistently outperform schema\-unaware methods \(bottom 2\), confirming that structural information, not merely token reduction, drives quality improvement\.
## Appendix BNGH Graph Example: Success and Failure
#### Success case \(τ\\tau\-retail, task 1, seed 0\)\.
Task:“Check order status for customer with email john\.doe@example\.com\.”
NL delegation\(412 tokens\):“First, look up the customer by email address john\.doe@example\.com using the customer lookup tool\. Then retrieve their recent orders\. For each order, get the current status\. Finally, compose a response summarizing…”
NGH graph\(127 tokens\):
```
{"nodes":[
{"id":"g1","type":"goal",
"value":"get order status"},
{"id":"e1","type":"entity",
"value":"[email protected]"},
{"id":"t1","type":"tool_call",
"value":"lookup_customer"},
{"id":"t2","type":"tool_call",
"value":"get_orders"},
{"id":"t3","type":"tool_call",
"value":"respond_status"}],
"edges":[
{"src":"t1","dst":"t2",
"relation":"depends_on"},
{"src":"t2","dst":"t3",
"relation":"depends_on"},
{"src":"e1","dst":"t1",
"relation":"targets"}]}
```
Thedepends\_onedges enforce: lookup→\\rightarrowget\_orders→\\rightarrowrespond\. The NL executor sometimes calls get\_orders before lookup \(causing a 5\-step retry loop\); the graph prevents this entirely\.
#### Failure case \(AppWorld, task 3d9a636, seed 1\)\.
Task:“My siblings and I are preparing a playlist\. I shared it on phone messages\. They replied with suggestions\. Update the playlist accordingly\.”
The graph encodes: read\_messages→\\rightarrowparse\_suggestions→\\rightarrowsearch\_songs→\\rightarrowupdate\_playlist\. However, “parse\_suggestions” requiresflexible interpretationof free\-text messages \(e\.g\., “add something upbeat”\)\. The rigid node forces the executor to produce a fixed parse; when the parse misses a suggestion, the executor cannot backtrack\. NL delegation handles this via:“Be flexible in interpreting their suggestions—they may be vague\.”The graph cannot express “be flexible\.”
## Appendix CMisalignment Annotation Methodology
The 76% inter\-agent misalignment figure derives from an automated error taxonomy \(MAST, Multi\-Agent Systematic Taxonomy\) applied to 345τ\\tau\-bench trajectories across three protocols \(single\-agent, NL multi\-agent, graph multi\-agent; 115 tasks×\\times3 seeds each\)\.
#### Taxonomy categories\.
- •Inter\-agent misalignment\(76% of NL/NGH failures\): executor misinterprets ordering constraints, drops prerequisites, enters retry loops from ambiguous delegation, or executes tool calls in wrong sequence\.
- •Task verification errors\(24% of NL/NGH failures\): correct execution but wrong final answer format or missed edge case\.
- •Specification issues\(0% of NL/NGH; 6% of single\-agent\): benchmark ambiguity, not agent failure\.
#### Annotation procedure\.
Classification isrule\-basedfrom trajectory logs \(not human\-annotated\): a failure is “misalignment” if the trajectory contains \(a\) a tool call that returns an error due to missing prerequisites, \(b\)≥\\geq3 consecutive retry steps on the same action, or \(c\) executor actions that contradict the delegation’s stated ordering\. This is deterministic and reproducible from the raw JSONL traces\.
#### Validation\.
Manual inspection of 50 randomly sampled failures \(25 NL, 25 NGH\) confirmed 92% agreement with the automated labels \(46/50 matched\)\. The 4 disagreements were all borderline cases where a retry loop was caused by an API timeout rather than misinterpretation\.
## Appendix DRouter Decision Analysis
The router’s routing rates are:
- •BrowseComp: 100%→\\rightarrowGRAPH \(all tasks are dependency\-chain search\)
- •τ\\tau\-retail: 100%→\\rightarrowGRAPH \(all tasks are sequential API operations\)
- •BFCL: 100%→\\rightarrowGRAPH \(function calling is inherently ordered\)
- •AppWorld: 11% GRAPH / 89% NL \(only aggregate\-query tasks get GRAPH\)
- •τ\\tau\-airline: 2% GRAPH / 98% NL \(action\-heavy domain\)
We acknowledge that this constitutesper\-task\-typerouting rather than fine\-grained per\-instance adaptation\. Within AppWorld, the 11% routed to GRAPH corresponds exactly to the “aggregate” task pattern \(nn=15 of 152\), which are the tasks where NGH outperforms NL by \+6\.7 pp \(Table[3](https://arxiv.org/html/2608.25277#S4.T3)\)\.
The router is deterministic: identical decisions across 3 independent runs at temperature=0\. Per\-instance accuracy vs\. oracle: on AppWorld’s 152 tasks, the router correctly identifies 15/15 aggregate tasks \(100% precision\) and correctly defaults to NL on 122/137 non\-aggregate tasks \(89% recall\)\. It misclassifies 15 non\-aggregate tasks as GRAPH; these are multi\-app tasks with partial ordering structure that the router’s simple heuristic cannot distinguish from pure aggregation\.
Oracle headroom decomposition: of the 8\.6 pp gap between Routed \(51\.7%\) and Oracle \(60\.3%\), 5\.2 pp comes from NGH rescues on tasks the router sends to NL, and 3\.4 pp from NL rescues on tasks the router sends to GRAPH\. The latter \(3\.4 pp\) represents router errors: tasks where graph was chosen but NL would have succeeded\.
## Appendix EGraph\-Aware Executor Prompt
The graph\-aware executor prompt prepended to the sub\-agent’s system message when receiving a graph delegation:
```
You are the Executor agent. A Planner has
analyzed the task and produced a structured
graph delegation in JSON with typed nodes
(goal, constraint, entity, action, tool_call,
tool_arg) and typed edges (requires, targets,
enables, depends_on, follows). Parse the graph
to understand the intent, then execute the
task step by step.
```
Without this prompt \(i\.e\., passing the JSON graph to a standard executor prompt\), the sub\-agent treats the graph as opaque data and fails to interpret the dependency structure\. With the prompt, the executor traverses nodes in topological order respectingdepends\_onedges\. The same prompt is used across all four benchmarks without modification\.
## Appendix FCross\-Vendor Portability
Cross\-vendor validation \(Claude Sonnet 4\.5×\\timesNova Pro\) yields 0% invalid JSON across all 4 sender/receiver configurations with constrained decoding\. Compression ratio \(3\.1–3\.6×\\times\) is preserved regardless of which model emits or receives the graph\. This confirms the schema is a portable artifact independent of model family\.
## Appendix GSecond Orchestrator Backbone \(GPT\-5 mini\)
Our main results use Claude Sonnet 4\.5 as the orchestrator\. To test that the gains are not backbone\-specific, we re\-run the handoff with GPT\-5 mini as the orchestrator on the families we could re\-run, comparing the NL handoff against Routed under an otherwise identical harness \(same router prompt, schema, and graph\-aware executor prompt\)\.
Table 4:Task success / accuracy \(%\) withGPT\-5 minias orchestrator\. Routed improves over the NL handoff on every family, matching the direction of the main Sonnet 4\.5 results and adding accuracy portability to the format\-portability check in Appendix[F](https://arxiv.org/html/2608.25277#A6)\.The direction of the effect \(Routed≥\\geqNL on every family\) is preserved across a different vendor and model family, consistent with the schema being a portable artifact rather than a Sonnet\-specific behavior\. We expect the same pattern to hold on further backbones\.
## Appendix HTotal\-Token and Latency Accounting
The 2\.1×\\timesaverage compression and the 155\-token \(0\.15%\) router overhead reported in the main text are measured over*handoff*tokens\. Table[5](https://arxiv.org/html/2608.25277#A8.T5)instead accounts for the full per\-delegation budget onτ\\tau\-retail \(pinned 50 tasks\), including the router call and the graph\-aware executor prefill\.
Per delegation \(τ\\tau\-retail\)NLRoutedRouter call—155Handoff tokens generated730226Graph\-aware executor prefill—∼\{\\sim\}80Total tokens730461\(1\.6×\\times\)Est\. handoff latency∼\{\\sim\}12 s∼\{\\sim\}5 sTable 5:Full per\-delegation token and latency accounting onτ\\tau\-retail\. Token counts are measured; latency is estimated at standard Sonnet 4\.5 decoding \(∼\{\\sim\}65 output tok/s after∼\{\\sim\}0\.5 s to first token\)\. Even after adding the router call and the graph\-aware executor prefill, the graph path totals fewer tokens than NL\.Two points beyond the table\. First, constrained decoding emits the graph directly and adds no extra output tokens\. Second, the largest wall\-clock effect is retry elimination:depends\_onedges prevent the reorder loops NL triggers \(15–27 retry steps saved on dependency\-chain failures\), and on AppWorld the router keeps NL on 89% of tasks, avoiding the∼\{\\sim\}18% overhead that graph\-only incurs from failed graph executions\.
## Appendix IError\-Taxonomy Threshold Sensitivity
The misalignment share \(76%\) depends on one thresholded rule in the taxonomy of Appendix[C](https://arxiv.org/html/2608.25277#A3): criterion \(b\), which flags≥\\geq3 consecutive retry steps on the same action\. Criteria \(a\) missing\-prerequisite tool errors and \(c\) ordering contradictions are threshold\-free\.
We bound the sensitivity using the manual audit already described in Appendix[C](https://arxiv.org/html/2608.25277#A3): on 50 randomly sampled failures, automated and manual labels agreed 92% \(46/50\), and*all four*disagreements were retry loops caused by API timeouts rather than misinterpretation; these are exactly the borderline cases that a stricter \(≥\\geq4\) or looser \(≥\\geq2\) retry threshold would move\. Re\-labeling those cases therefore changes the misalignment share only within the audit\-bounded margin \(≤\\leq4/50, i\.e\.∼\{\\sim\}8% of sampled failures\), and the qualitative conclusion is unchanged under any threshold in\{2,3,4\}\\\{2,3,4\\\}: inter\-agent misalignment remains the dominant multi\-agent failure mode, while single\-agent systems remain at 0% by construction\. The AppWorld task\-pattern labels used in Table[3](https://arxiv.org/html/2608.25277#S4.T3)are likewise rule\-based on instruction structure; reasonable re\-labeling of borderlinemulti\_app/aggregatecases leaves the router’s 15/15 aggregate precision and the sign of every per\-patternΔ\\Deltaintact\.
## Appendix JArtifacts and Reproducibility
We release the artifacts needed to reproduce the study:
- •Schema\.The full typed\-graph schema \(8 node types, 7 edge relations\) as the JSONtool\_useinput schema used for constrained decoding\.
- •Prompts\.The complete orchestrator, router, and graph\-aware executor prompts \(the executor prompt is reproduced in Appendix[E](https://arxiv.org/html/2608.25277#A5)\), plus the NL\-baseline delegation prompt\.
- •Models\.Orchestrators: Claude Sonnet 4\.5 and Amazon Nova Pro via AWS Bedrock, and GPT\-5 mini; trained compressors: Qwen\-1\.5B \(GRPO\) and T5\-small \(60M\)\. Exact model/version identifiers are listed in the released configuration\.
- •Decoding\.Router at temperature = 0 \(deterministic, verified identical across 3 runs\); graphs via Bedrocktool\_useconstrained decoding; executor at default decoding\. All settings are in the configs\.
- •Splits\.Pinned 50τ\\tau\-retail tasks×\\times3 seeds; BrowseComp 150; BFCL v3 600; AppWorld 152;τ\\tau\-airline 150\. Total 1,052 trajectories \(plus 150τ\\tau\-airline for the router ablation\)\.
- •Evaluation code\.Paired bootstrap CIs \(10K resamples,α\\alpha=0\.05\) with Holm\-Bonferroni correction, and the rule\-based error\-taxonomy scorer\.
All evaluation uses public benchmarks under their respective licenses \(τ\\tau\-bench, BrowseComp, BFCL, AppWorld\); no new data was collected and no personally identifying information is involved\. Code and configurations will be released upon publication\.Similar Articles
Learning What to Retain: Gated-Memory Routing for Efficient Collaboration in Multi-Agent LLM Systems
The paper proposes Gated-Memory Routing, a framework for multi-agent LLM systems that uses learned gates to manage memory, improving accuracy and reducing inference costs on reasoning and code-generation benchmarks.
Learning Agent Routing From Early Experience
This paper introduces BoundaryRouter, a training-free framework that optimizes LLM agent usage by routing queries to either lightweight inference or full agent execution based on early experience. It also presents RouteBench, a benchmark for evaluating routing performance, showing significant improvements in speed and accuracy.
Pro-Router: Token-Aware Progressive Model Routing with Adaptive Edge-Cloud Collaboration for Efficient Multimodal LLM Inference
Pro-Router introduces a token-aware progressive model routing method for efficient multimodal LLM inference, leveraging adaptive edge-cloud collaboration to improve throughput and reduce costs.
SLMs as Multi-Agent Routers: A Progressive SFT and Reinforcement Learning Approach
This paper proposes training small language models as multi-agent routers via progressive supervised fine-tuning and reinforcement learning, achieving better retrieval relevance and lower latency compared to LLM baselines that route on intent alone.
Latency-Quality Routing for Functionally Equivalent Tools in LLM Agents
This paper introduces LQM-ContextRoute, a contextual bandit router for selecting between functionally equivalent tool providers in LLM agents, balancing latency and answer quality. It outperforms baselines on web-search and retriever benchmarks.