AI Agents That Think Ahead Instead of Waiting Around
Original paper: Scaling Proactive Compute: When Agents Anticipate the Task
"Just like a master prep cook chopping vegetables and organizing sauces before the dinner rush hits, proactive AI agents study codebases and legal files ahead of time. Instead of sitting idle while waiting for long commands to finish, they use those pauses to keep preparing their next moves."
This breakthrough drastically reduces the computing power and time required for complex software engineering and legal analysis. It means AI assistants can become vastly more efficient and responsive in professional workflows.
- AI agents waste significant time waiting for tasks and tool results.
- Proactive computing lets agents study environments before tasks arrive.
- Multi-agent strategies help AI handle massive datasets beyond single context windows.
📑 Original arXiv Technical Abstract
Agents often have access to the context of their environment, like a code repository or a company's filesystem, even before the task arrives. Yet they spend much of their time waiting for the task to arrive and for each tool call to return. Agents can use this time to anticipate the task and prepare for it, spending what we call proactive compute. We scale proactive compute at the token level using budget forcing and measure how performance, computational cost, and test-time efficiency change with it, evaluating four model families over nine benchmarks spanning software engineering, legal work, algorithmic reasoning, and mathematics. Before the task arrives (offline case), a 128k-token study lets a solver at T=64 reach accuracy that otherwise takes a 15x larger test budget on SWE-QA-Pro and 7x on StudyBench. Proactive studying reduces the test-time work the solver needs: on SWE-QA-Pro, a 16k-token study more than halves test-time reasoning and cuts tool calls tenfold at matched performance. When the context outgrows one context window, as in Harvey LAB's 112M-token legal filesystem, we design structured and multi-agent studying methods whose test-time efficiency keeps improving as proactive compute grows. After the task arrives (online case), agents that keep working while their commands run reach the median human score 1.6-2.0x sooner on eight MLE-Bench tasks. Overall, these results establish proactive compute as another axis of scaling large language model performance, complementary to test-time compute.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.