mlsanityData to 14 Oct 2026

AgentSpec: Speculative Decoding for Batch Inference of LLM Agents

arXiv 2608.24004 ↗First posted 25 Aug 2026cs.CLcited by 1

On the map: LLM agents and tool use → Software engineering coding agents

also in 1 more
Abstract (arXiv)

Large language model (LLM)-based agent applications often incur high response time. Speculative decoding is a promising solution to improve the inference efficiency of LLM agents without impacting generation quality. However, state-of-the-art speculative decoding algorithms exhibit substantial speed degradation under large batch sizes, limiting their effectiveness to deploy in real-world agent applications. In this work, we first present a systematic analysis of speculative decoding for LLM agents and identify two dominant factors of speedup degradation: high rejection rate of speculative tokens, and under-utilization of dynamic token budgets.B ased on these observations, we propose AgentSpec, a speculative decoding algorithm that addresses the limitations of existing methods for LLM agents. AgentSpec incorporates structure-isolated drafting that constrains speculation to semantically coherent segments of the agent workflow, reducing the drafts of irrelevant semantic paths and achieving an extremely low rejection rate. Moreover, AgentSpec adopts redundancy-aware budget allocation that exploits agent-level information to better utilize the dynamically-free token budget during the agent inference. We implement and evaluate AgentSpec on five different workloads and four different models from four different LLM families in vLLM. Our results demonstrate the superiority of AgentSpec over state-of-the-arts.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 19 of its 31 references that are in the map. First posted on arXiv 25 Aug 2026.

Builds on

19 of 31 references.

Closest ancestors · 4

Same direction, newest first

  1. 2025Agentic Plan Caching: Test-Time Memory for Fast and Cost-Efficient LLM Agents17 Jun
  2. 2025Autellix: An Efficient Serving Engine for LLM Agents as General Programs19 Feb
  3. 2024SuffixDecoding: Extreme Speculative Decoding for Emerging AI Applications7 Nov
  4. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul

Other references · 15

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  3. 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
  4. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
  5. 2023GAIA: a benchmark for General AI Assistantscited by 1,128
  6. 2025EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Testcited by 331
  7. 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 269
  8. 2025DeepResearch Bench: A Comprehensive Benchmark for Deep Research Agentscited by 248
  9. 2025MiMo: Unlocking the Reasoning Potential of Language Model -- From Pretraining to Posttrainingcited by 121
  10. 2024MagicDec: Breaking the Latency-Throughput Tradeoff for Long Context Generation with Speculative Decodingcited by 91
  11. 2024A Review of Prominent Paradigms for LLM-Based Agents: Tool Use (Including RAG), Planning, and Feedback Learningcited by 74
  12. 2024Can Language Models Solve Olympiad Programming?cited by 72
3 more
  1. 2025Efficient Agents: Building Effective Agents While Reducing Costcited by 32
  2. 2025AdaSpec: Adaptive Speculative Decoding for Fast, SLO-Aware Large Language Model Servingcited by 18
  3. 2025SPIRe: Boosting LLM Inference Throughput with Speculative Decodingcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026AsymSpec: Context-Asymmetric Speculative Decoding for Agentic LLMs
  2. 2026Hybrid Verified Decoding: Learning to Allocate Verification in Speculative Decoding
  3. 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding
  4. 2025Speculative Decoding: Performance or Illusion?
  5. 2023Accelerating LLM Inference with Staged Speculative Decoding
  6. 2025Accelerating LLM Inference with Lossless Speculative Decoding Algorithms for Heterogeneous Vocabularies
  7. 2024Beyond the Speculative Game: A Survey of Speculative Execution in Large Language Models
  8. 2025Scaling Up, Speeding Up: A Benchmark of Speculative Decoding for Efficient LLM Test-Time Scaling