Ask the Tool, Don't Guess: Agent Tool Calls Hold Their Progress, and the Serving System Should Read It

📅 2026-09-16
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
为解决代理请求等待工具时的缓存管理问题,提出让工具在运行中报告进度的方法,以提高系统决策准确性并减少等待时间。
📝 Abstract
An agentic request spends substantial wall-clock time waiting for tools, and its KV cache holds GPU memory the whole time. Serving systems decide whether that cache stays, leaves, or comes back by guessing how long the tool will run, from the tool's name, its history, a duration declared before the call, or the engine's own occupancy. We show that no estimate fixed before a call starts can know its duration, and such estimates may not even rank the calls. Meanwhile, the running tool already holds the answer, but the agent stack together with the tool silences it. We propose that tool calls report their progress explicitly while they run, and we measure what that takes. A census of four public agent corpora finds a readable signal in most tool time once it is revealed, in two strengths: a fraction of the work remaining, or an accurate signal that the end is near. A harness recovers it without changing what the agent sees, at no measurable cost to the agent's benchmark score. At the points where a KV cache decision is made, the reported progress is between several times and an order of magnitude more accurate than the best published predictors, and it stays accurate when the environment changes. Plugged into a production engine through a few small hints, it cuts the p90 time to first token (TTFT) after a tool call by 20.7% (HBM only) and 20.8% (HBM + DRAM) against LRU, close to an oracle. A serving system should not guess what its tools can tell it.
Problem

Research questions and friction points this paper is trying to address.

agent request
serving system
tool progress
KV cache
GPU memory
Innovation

Methods, ideas, or system contributions that make the work stand out.

explicit progress reporting
agent tool calls
KV cache management
service system optimization
🔎 Similar Papers
Y
Yipeng Liu
Tsinghua University, China and Alibaba Cloud Computing, China
Y
Yingqiang Zhang
Zhejiang University, China and Alibaba Cloud Computing, China
Feifei Li
Feifei Li
Alibaba Group/Alibaba Cloud
DatabasesDatabaseData AnalyticsSystemsSecurity
Huanchen Zhang
Huanchen Zhang
Assistant Professor, Tsinghua University
Database SystemsData Structures