Speculative Macro Commit for Faster Tool-Using Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Tool-using LLM agents spend wall-clock time not only on model inference but also in serial action--observation turns, where each tool call, environment transition, and observation can delay subsequent decisions. We introduce Speculative Macro Commit (SMC), a runtime mechanism for a two-tier agent system: a large authoritative actor model produces the official trajectory, while a faster speculative drafter model continuously predicts and executes future action chains on an isolated environment snapshot. SMC mines recurring multi-action skeletons from training traces and stores them in a macro library used to match against action chains predicted by the drafter at runtime. When the actor's next tool call matches the first drafted action, SMC commits the remaining pre-executed draft steps, together with their observations, to the official trajectory. Using Qwen3.5-27B INT4 as the authoritative actor model and Qwen3.5-4B as the speculative drafter model, SMC matches the sequential agent's overall accuracy while reducing latency by 10.23% over the Speculative Actions (SA) baseline and 18.59% over sequential execution on the τ2-Bench Telecom subset. On AppWorld, SMC reduces wall time by 7.7% over SA baseline and 44.9% over sequential execution, with a small reduction in task completion. Overall, SMC provides a practical way to reuse multi-step speculative execution and reduce agent latency beyond single-step speculative actions. Our code is publicly available hrefhttps://github.com/zeyuliu1037/speculative-macro-committextcolormagentahere.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 10 of its 13 references that are in the map. First posted on arXiv 3 Sep 2026.
Builds on
10 of 13 references.
Closest ancestors · 4
Same direction, newest first
- 2026ThunderAgent: A Simple, Fast and Program-Aware Agentic Inference System14 Feb
- 2026Optimizing Agentic Workflows using Meta-tools29 Jan
- 2025KVFlow: Efficient Prefix Caching for Accelerating LLM-Based Multi-Agent Workflows10 Jul
- 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agents26 Jul
Other references · 6
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2025τ2-Bench: Evaluating Conversational Agents in a Dual-Control Environmentcited by 558
- 2026Agent Skills: A Data-Driven Analysis of Claude Skills for Extending Large Language Model Functionalitycited by 66
- 2026A Survey of Agentic Reasoning for Large Language Models: Towards Recursively Self-Improving and Collective Agentscited by 47
- 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestrationcited by 11
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Speculate with Memory: Lossless Acceleration for LLM Agents
- 2025Speculative Actions: A Lossless Framework for Faster Agentic Systems
- 2026TomasuLLM: Out-of-Order Speculative Execution for LLM Agents
- 2026SPORK: Self-Speculative Forking to Accelerate Agentic LLM Inference
- 2026B-PASTE: Beam-Aware Pattern-Guided Speculative Execution for Resource-Constrained LLM Agents
- 2026Parallelizing Tool Execution and LLM Generation for Low-Latency Agent Serving
- 2026AOSpec: Action and Observation Co-Speculation for Low-Latency Agent Serving
- 2026LEAP: Learning Efficient Action Proposals For LLM Agents