AI agents finish benchmark work sooner when they think while waiting, Stanford researchers find
The experiments distinguish two benefits: studying context can reduce later work, while planning during tool waits buys speed with extra computation.
Loading page…
The experiments distinguish two benefits: studying context can reduce later work, while planning during tool waits buys speed with extra computation.
Listen to this story
The study distinguishes two ways agents can spend compute proactively: preparing from context before a task arrives, and reasoning during tool waits. Preparation can reduce later generation and tool calls, but its upfront cost only pays off more clearly when the same context supports multiple tasks. Thinking during waits shortened benchmark completion time, yet required more generated tokens. The results are experimental, and the researchers note that preparation does not prevent every failure, including agents stopping too early.
On SWE-QA-Pro, DeepSeek-V4-Flash matched a no-study run’s accuracy using about 950 fewer task-time tokens after a 128,000-token preparation phase.
On eight MLE-Bench tasks, 16,000-token proactive agents reached the median human score in 24 minutes, versus 49 minutes for reactive agents.
Those MLE-Bench agents used about 1.7 times as many generated tokens to reach that score, so faster elapsed time did not mean lower total generation.
Stanford researchers found that AI agents reached a human benchmark score 1.6–2.0 times sooner when they kept thinking while tools ran. Their new study also finds that preparation before a task arrives can reduce later reasoning and tool use, offering two distinct ways to improve agent performance.
The paper, Scaling Proactive Compute: When Agents Anticipate the Task, was submitted to arXiv on November 30, 2026. Its experiments cover nine benchmarks spanning software engineering, legal work, algorithmic reasoning and mathematics, alongside eight machine-learning competition tasks. These are experimental results, not a product release.
The authors call the approach proactive compute: computation spent examining available context before a task, or planning while waiting for a tool result. In the first setting, an agent explores material such as a code repository and writes a study. That study stays in its conversation history when the question arrives.
To compare budgets, the researchers forced models to keep generating if they stopped early and cut them off at the chosen limit. They varied preparation from zero to 128,000 tokens and task-time generation from 64 to 64,000 tokens. Tokens are the units of text the models process or generate.
On SWE-QA-Pro, a software-engineering benchmark, DeepSeek-V4-Flash used a 128,000-token study to match a no-study run’s accuracy with 64 task-time tokens instead of about 950. That is roughly 15 times fewer tokens after the question arrives—not 15 times less computation overall. The preparation budget remains part of the work.
The benefit also appeared when the solver chose its own stopping point. A 16,000-token study on SWE-QA-Pro more than halved task-time reasoning and cut tool calls tenfold at matched performance. But preparation did not remove every stopping problem: on the legal benchmark Harvey LAB, an uncapped solver could stop too early.
The second setting uses time after a task has started. While a command runs in the background, the agent anticipates possible outcomes and prepares its next steps. Researchers allowed up to 1,000, 4,000 or 16,000 tokens per wait; a command finishing early ended the thinking period.
Those MLE-Bench experiments gave each agent two hours and one B200 GPU to work on machine-learning competition tasks. Reaching the median human score took about 1.7 times as many generated tokens for the 16,000-token proactive agents. The faster elapsed time therefore came with more generation, unlike the reduction in later work from advance study.
Preparation also has to handle material larger than a model can read at once. On Harvey LAB’s 112-million-token filesystem, representing a fictitious law firm, the team tested structured studies and multiple agents. Tailoring the study to the filesystem’s structure helped, while a hierarchical summary matched the highest reported test-time efficiency at lower study cost.
The authors identify reuse as a way to spread the preparation bill: multiple tasks drawing on the same context can use the same study. That makes the distinction between a single faster answer and repeated work on a shared repository or filesystem central to the economics of preparing ahead.
Loading discussion...
Join the conversation
Explain which tasks would make the extra computation worthwhile.
Be the first to share a perspective or an experience.
Reader comments
Newest comments first. Replies stay oldest first.