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

Manuscript Offprint

arXiv:2610.35959

AgentBaton: Efficient Model Collaboration in Agentic Tasks

Junlong Li, Jindong Jiang, Yonggan Fu, Jiarui Yao, Hanrong Ye, Wonmin Byeon, Peter Belcak, Hao Zhang, Pavlo Molchanov

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

Junlong Li ♣,†^{♣,†}, Jindong Jiang ^{¶}, Yonggan Fu ^{¶}, Jiarui Yao ♣,†^{♣,†}, Hanrong Ye ^{¶}

Wonmin Byeon, Peter Belcak, Hao Zhang, Pavlo Molchanov

The Hong Kong University of Science and Technology

University of Illinois Urbana-Champaign

Project Leads

Solving long-horizon agentic tasks requires language agents to interact with their environments over multiple steps, and reliable performance often comes from the expensive capable models available through cloud providers. Meanwhile, alternative efficient models with inferior performance but a much lower cost are emerging, including lower-tier cloud models and smaller open-weights models deployable on local hardware. This raises a natural question that remains less explored than traditional query-level routing: can capable and efficient models collaborate within a single long-horizon agentic task to substantially reduce cost while preserving task accuracy? In this paper, we systematically investigate key design choices for such collaboration through model handoffs, where one model takes over from another, focusing on handoff direction and context transfer. We find that efficient-to-capable handoffs generally underperform capable-only execution with limited or even no cost reduction, whereas capable-to-efficient handoffs at suitable stages of task progress largely preserve or even improve accuracy while substantially reducing cost. These findings suggest that a one-time, simple, well-timed handoff strategy is good enough for cost-effective agent collaboration, motivating AgentBaton, a lightweight detector that learns when to hand off from recurring patterns in task progress. Across 11 model pairs and two representative benchmarks, AGENTBATON reduces API costs by 65.9% on average while largely preserving task accuracy, with accuracy gains of up to 8.8 percentage points over capable-only execution. Experiments across various reasoning-effort settings further show that AGENTBATON extends the empirical accuracy-cost Pareto frontier.

Figure

Figure 1: Accuracy-cost trade-offs across reasoning-effort settings on DeepSWE v1.1. Solid lines and circles denote single-model baselines. For AGENTBATON, diamonds denote handoffs to Qwen 3.8 27B and squares denote handoffs to GPT-5.6 Luna; marker colors identify the source model, as listed in the legend. The green dashed line with a light green band connects the empirical Pareto frontier among evaluated AGENTBATON configurations, whose effort labels are highlighted. For example, the purple ◆ labeled MAX denotes GLM-5.3 at max effort handing off to Qwen 3.8 27B at xhigh effort; the red ■ labeled HIGH denotes Kimi K3 at high effort handing off to GPT-5.6 Luna at max effort.

†^{\dagger}Work done during internship at NVIDIA. © 2026 NVIDIA. All rights reserved.

1. Introduction

Language-model agents tackle long-horizon tasks through repeated interactions with their environments, using tools, observing feedback, and revising their actions over multiple steps [1, 2]. Reliable and state-of-the-art performance is often achieved by expensive capable models available through cloud providers [3, 4], whose repeated invocation can incur substantial inference costs. Meanwhile, alternative efficient models, including lower-tier cloud models [5] and smaller open-weight models [6] deployable on local hardware such as NVIDIA DGX Spark and Apple Mac Studio, offer much lower costs but often achieve lower task accuracy when used alone.

Prior work on combining heterogeneous models has largely focused on query-level routing and cascading for individual requests [7, 8, 9, 10]. However, assigning a task to a model solely based on its initial query falls short in long-horizon agentic tasks. In these environments, actions alter the workspace and yield dynamic feedback, meaning the actual capabilities required evolve across turns rather than being determined upfront. This necessitates collaboration throughout the task trajectory. For example, a capable model might draft an initial plan or produce key intermediate results for an efficient model to build upon. Conversely, an efficient model could handle preliminary steps like information gathering before handing off to a capable model for more demanding steps. Both directions are intuitively plausible, leaving open the question of which paradigm best balances accuracy and cost.

Beyond the handoff direction, transferring interaction history introduces another trade-off. Directly including the full history in context ensures the receiving model understand prior progress and reuse existing ideas, but increases the prefill sequence length at handoff and, while that history is retained, the input sequence length in subsequent turns. Moreover, exposing the receiving model to its predecessor's reasoning and actions may bias its subsequent decisions, potentially carrying forward unproductive assumptions or strategies.

To understand how handoff direction and context transfer affect the accuracy–cost trade-off, we evaluate both handoff directions across multiple capable–efficient model pairs on two agentic benchmarks, Terminal Bench 2.1 [11] and DeepSWE v1.1 [12]. For each direction, we compare two context transfer methods: directly including prior interaction history in the receiving model's context, or providing structured execution history through a log file that the receiving model can inspect as needed using standard commands such as cat, grep, and sed. In both cases, the receiving model continues from the workspace produced by its predecessor.

The experiments reveal an asymmetry between the two handoff directions. Efficient-to-capable handoffs generally underperform capable-only execution, sometimes even at higher cost, despite benefiting from logfile transfer over in-context transfer. In contrast, capable-to-efficient handoffs at suitable stages of task progress can largely preserve capable-only accuracy while substantially reducing cost, although the preferred context-transfer method varies across models. These findings suggest that the progress established by a capable model can enable an efficient model to complete tasks that it struggles to solve independently. This one-way dependency also implies that per-turn routing may be impractical, as frequent switching risks accumulating trajectory errors that the capable model must repeatedly expend effort to recover from.

Our case studies help characterize these handoff opportunities: the capable model has often produced a substantive implementation or artifact and obtained task-relevant feedback, leaving primarily localized repair, validation, or finalization. Motivated by these recurring patterns, we introduce AgentBaton, a lightweight detector trained to identify suitable handoff points from execution history. The capable model begins the task, and AGENTBATON evaluates progress after each turn; once it predicts a suitable handoff point, the efficient model takes over and continues until termination. Across 11 model pairs and two benchmarks, AGENTBATON reduces API costs by 65.9% on average while largely preserving task accuracy, with gains of up to 8.8 percentage points over capable-only execution. As shown in Figure 1, AGENTBATON extends the empirical accuracy–cost Pareto frontier beyond the evaluated single-model configurations across reasoning-effort settings.

To sum up, we make three main contributions:

• We systematically analyze how handoff direction, context transfer, and task progress affect the accuracy–cost trade-offs of model collaboration within long-horizon agentic tasks.

• We introduce AGENTBATON, a lightweight learned detector that identifies suitable capable-to-efficient handoff points online based on recurring patterns in agent execution.

• We evaluate AGENTBATON across multiple model pairs and two agentic benchmarks, demonstrating

Figure

Figure 2: Overview of one-time model handoff and context transfer. The receiving model inherits the workspace at handoff and continues the task. Execution history is provided either as an inspectable logfile or directly in context.

substantial API cost reductions with largely preserved accuracy and improved accuracy–cost trade-offs across reasoning-effort settings.

References (24)