Reproduce “Speculate Wide, Answer Narrow: Lossless Speculative Tool Execution for Reasoning Agents” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Zihe Song, Wenting Zhao, Ye Liu, Yuanjie Zhu, Weizhi Zhang, Liangwei Yang, Henry Peng Zou, Yibo Wang and 4 more

SWAN lets reasoning agents overlap tool execution by speculating during reasoning and reusing a wider result when a verified containment relation can derive the exact requested observation. On SWE-bench Verified with Qwen3-8B, it hides 85.7% of serial test-execution time, versus 55.2% for SPORK. Because tests are 3.26% of episode time, end-to-end speedup is 1.0234×.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.