mlsanityData to 14 Oct 2026

AOSpec: Action and Observation Co-Speculation for Low-Latency Agent Serving

arXiv 2608.00881 ↗First posted 1 Aug 2026cs.LGcited by 3

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

Abstract (arXiv)

Large language model agents increasingly act through stateful tools, yet model generation and environment execution remain serialized at every step. As decoding accelerates, tool execution becomes a growing bottleneck. Existing action- or observation-only speculation leaves much of this latency exposed: value is concentrated in a few slow calls, some outcomes emerge only through execution, and longer lookahead typically requires an increasingly unlikely chain of action predictions. We present AOSpec, a lossless framework that co-speculates actions and observations across the full agent-environment loop. Expected Value Decoding (EVD) directs observation speculation toward outcomes with the greatest expected latency benefit, optimizing expected time hidden rather than hit rate. For outcomes only execution can reveal, AOSpec launches latency-critical target actions in isolated forks that contain their effects, while Joint Action-State Verification (JASV) verifies both the action and its origin state against committed execution before reuse. JASV recasts long-horizon action dependency from full-chain prediction into target action-state verification, breaking the lookahead--accuracy tradeoff and unlocking long-range overlap without sacrificing serial semantics. Across Terminal-Bench serving settings spanning four harnesses, five actor models, and five serving speeds, AOSpec outperforms every practical baseline, reducing mean end-to-end latency by 11.8-32.5% and p99 latency by up to 42.8%. Its gains increase as decoding accelerates, and its observation model transfers from Terminal-Bench to SWE-bench Verified without retraining.

Key facts. Cited by 3 papers 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 14 of its 22 references that are in the map. First posted on arXiv 1 Aug 2026.

Builds on

14 of 22 references.

Closest ancestors · 5

Same direction, newest first

  1. 2026SPORK: Self-Speculative Forking to Accelerate Agentic LLM Inference3 Jul
  2. 2026Parallelizing Tool Execution and LLM Generation for Low-Latency Agent Serving19 Mar
  3. 2025Optimizing Agentic Language Model Inference via Speculative Tool Calls17 Dec
  4. 2025Speculative Actions: A Lossless Framework for Faster Agentic Systems5 Oct
  5. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul

Other references · 9

  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. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  4. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 843
  5. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
  6. 2025EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Testcited by 331
  7. 2024Hardware-Aware Parallel Prompt Decoding for Memory-Efficient Acceleration of LLM Inferencecited by 16
  8. 2026DualSpec: Accelerating Deep Research Agents via Dual-Process Action Speculationcited by 8
  9. 2026SpecHop: Continuous Speculation for Accelerating Multi-Hop Retrieval Agentscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Speculate with Memory: Lossless Acceleration for LLM Agents
  2. 2026Turning Interaction History into Execution State: A Runtime Layer for Long-Horizon Coding Agents
  3. 2026Speculative Macro Commit for Faster Tool-Using Agents
  4. 2026AgentAbstain: Do LLM Agents Know When Not to Act?
  5. 2026The Menu Is an Execution Prior: State-Path Tool Menus for Online Agents
  6. 2026When Tool Outputs Become Commands: Separating Action Induction from Runtime Authorization in Tool-Augmented LLM Agents
  7. 2026AsymSpec: Context-Asymmetric Speculative Decoding for Agentic LLMs
  8. 2026Dynamic Execution Commitment of Vision-Language-Action Models