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

Manuscript Offprint

arXiv:2610.37230

TAO: Tool-Aware Joint Scheduling for LLM-Based Agentic Serving

Shuhuai Li, Shengdong Ye, Dongdong Ge, Yinyu Ye, Jianghao Lin

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

ABSTRACT

Agentic services alternate between model inference on clustered GPUs and external tools on distributed CPUs. In this scenario, existing systems (1) overlook tool-return readiness in service evaluation, wasting limited resources, and (2) use heuristic strategies to decide admission and placement on GPUs, resulting in suboptimal scheduling decisions. To bridge this gap, we present TAO, a tool-aware joint scheduling framework for LLM-based agentic serving. Its value interface combines near-term tool readiness, node-specific cache credit with time-aware decay, and token footprint; a dynamic program jointly selects and places waiting sessions under capacity constraints. Across the 12 reported model–workload–concurrency settings, TAO reduces latency by up to 26.8%, reduces mean time to first token (TTFT) by up to 36.3%, and increases decode throughput by up to 29.5% relative to the best evaluated state-of-the-art baseline for each metric.

1 INTRODUCTION

Recent advances in language models have expanded their use beyond basic chatbots to complex agents, making CPU-based tool execution a substantial source of latency alongside GPU-based inference (Qiao et al., 2026; Huang et al., 2026). Specifically, an agent operates through an agent session that alternates between LLM inference and external tools, such as compilers and retrievers, to complete multi-step tasks (Anthropic, 2026a; OpenAI, 2026). When tools run outside the inference service, a session's demand for GPU computation becomes interruptible. We call this serving scenario Clustered-GPUs with Distributed-CPUs (CGDC), illustrated in Figure 1(Left): clustered GPUs, i.e., nodes, provide shared inference capacity, while external tool calls introduce delays between LLM requests 1^{1}. Hence, efficient agentic serving must account for both inference demand and tool timing to sustain throughput and session responsiveness.

We find that existing serving systems generally follow an evaluate-then-decide scheduling pattern (Guy et al., 2025; SGLang Team, n.d.; vLLM Production Stack Team, n.d.). They evaluate node features at the session level and then decide where and when to serve each session. This separates the problem into two related challenges: (1) how to value a session's next model turn, and (2) how to select and place sessions under shared capacity constraints.

For session evaluation, existing systems in CGDC scenarios generally overlook tool-call latency when evaluating established workload features. Cache-aware systems reuse KV prefixes and balance inference load (Zheng et al., 2024; Srivatsa et al., 2025; Qin et al., 2025; NVIDIA, 2025); workflow-aware systems anticipate future calls (Wadlom et al., 2026; Pan et al., 2026); and latency-aware schedulers prioritize sessions using latency or remaining-work estimates (Choi et al., 2025; Chen et al., 2025). Tool timing provides another useful signal, yet timing is utilized only as a surrogate for KV reuse or token count: Li et al. (2025) predicts tool duration to choose KV-cache retention times, while Kang et al. (2026) discounts the token footprint of sessions executing tools as time elapses. Such features commonly enter fixed scoring rules or manually chosen thresholds.

*Corresponding author. E-mail: linjianghao@sjtu.edu.cn.

1^{1}One agent session consists of multiple LLM inference requests (i.e., steps) after tool calls.

Figure

Figure 1: Left: In the CGDC serving scenario, external tool calls create intervals between LLM requests and opportunities to reallocate inference capacity. Right: Two scheduling challenges motivate TAO, including (1) overlooking tool-return readiness and using heuristic merging for evaluation, and (2) making myopic and suboptimal decisions about session admission and placement.

For decision making, existing systems usually apply heuristic scheduling strategies to each session, leading to myopic and suboptimal placements. In llm-d and SGLang (Guy et al., 2025; SGLang Team, n.d.), per-session scoring and routing rules assign inference opportunities individually. Yet sessions compete for the same node capacity. In particular, assigning one session can prevent a more valuable combination of other sessions from being served. Furthermore, the heuristic selection and placement rules can also lead to suboptimal choices (Peng et al., 2026; Yuan et al., 2026). As shown in Figure 1(Right), they fail to formulate scheduling jointly across multiple sessions.

To address these challenges, we propose TAO, a Tool-Aware jOint scheduling framework for LLM-based agentic serving. To incorporate tool latency into session evaluation, we propose tool-return readiness and explicitly integrate it with established features such as KV-cache reuse. Following Kang et al. (2026), we interrupt sessions during tool calls and put them into a waiting pool. Tool-return readiness estimates which sessions will need inference within the next scheduling window. For each session-node pair, we form a value triplet from readiness, time-decayed KV-cache reuse, and token footprint. Given these evaluation triplets, we design a joint scheduling algorithm in the decision making stage that considers all sessions in the waiting pool. Across deployments in different scenarios, joint optimization considers how the admission of each session affects the placements available to others. The optimizer maximizes the additive evaluation triplets using dynamic programming. Their coordinates evolve with cache age and tool progress, allowing distinct signals to guide decisions over time without a weighted sum. Separating the optimization procedure from session evaluation makes the framework extensible.

We summarize our contributions as follows:

• We identify the Clustered GPUs with Distributed CPUs (CGDC) serving scenario in the era of LLM-based agents, which shifts the key bottleneck of latency to tool calls.

• We propose TAO, a tool-aware joint scheduling framework for LLM-based agentic serving. It improves the evaluate-then-decide paradigm through session evaluation with explicit tool-return readiness and decision making with joint modeling and optimization.

• TAO can be generalized and extended to different workloads such as multi-agent orchestration and Looped Agents. Moreover, it is also compatible with non-agent chatbot scenarios.

• Across the 12 reported model–workload–concurrency settings, TAO reduces latency by up to 26.8%, reduces mean time to first token (TTFT) by up to 36.3%, and increases decode throughput by up to 29.5% relative to the state-of-the-art baseline for each metric.

References (72)