Stateless Language Agents: Scaling Long-Horizon Automated Research
cs.LG, cs.AI, cs.CL
Submitted: 2026-10-06
Updated: 2026-10-06
Comments: 32 pages
Code: https://github.com/anthropics/original_
License: http://creativecommons.org/licenses/by/4.0/
The gist: Automated research systems increasingly run LLM agents over long horizons, but more inference does not by itself produce more progress: agents replay growing histories, duplicate one another's work,
Abstract
Automated research systems increasingly run LLM agents over long horizons, but more inference does not by itself produce more progress: agents replay growing histories, duplicate one another's work, or stop experimenting while token consumption continues. Yet most evaluations use short budgets or benchmarks that saturate early, leaving these failure modes untested. We trace these failures to two choices: where research state lives and who decides what to try next. We introduce Stateless Language Agents (SLAs), built on the principle of stateful search with stateless agents: no agent carries its conversation across invocations; instead, the harness owns the research state (candidate solutions and measured outcomes) and reconstructs a fresh and role-specific context for every invocation. What each agent sees becomes an explicit design choice rather than a history that grows with the run. We implement this principle in the SLA framework, where a stateless Advisor reads harness-summarized evidence across search directions and assigns concrete experiments to parallel Workers. We evaluate SLA against three recent frameworks on software engineering, kernel optimization, and algorithm design at budgets of up to one billion tokens. SLA achieves the best final result on every task and reaches the strongest kernel baseline's final performance with over 84% fewer tokens. Ablations from shared checkpoints show that focused contexts and explicit assignments each contribute to SLA's progress, with effects that can compound over full runs, while the Advisor consumes less than 0.6% of tokens. These results argue for SLAs, which keep durable research state out of agent conversations, and show that short evaluation horizons can misjudge research systems and their components.
Sources
- CodeEvolve: an open source evolutionary coding agent for algorithmic discovery and optimization
- AdaEvolve: Adaptive LLM Driven Zeroth-Order Optimization
- Accelerating scientific discovery with Co-Scientist
- AIDE: AI-Driven Exploration in the Space of Code
- SOL-ExecBench: Speed-of-Light Benchmarking for Real-World GPU Kernels Against Hardware Limits
- When Agents Slow Down: Understanding LLM Agents' Test-Time Strategies via Elo-per-token Analysis
- ML-Master: Towards AI-for-AI via Integration of Exploration and Reasoning
- The AI Scientist: Towards Fully Automated Open-Ended Scientific Discovery
- Kosmos: An AI Scientist for Autonomous Discovery
- AlphaEvolve: A coding agent for scientific and algorithmic discovery
- SwarmResearch: Orchestrating Coding Agents for Open-Ended Discovery
- Voyager: An Open-Ended Embodied Agent with Large Language Models
- ThetaEvolve: Test-time Learning on Open Problems
- Diagnosing and Mitigating Context Rot in Long-horizon Search
- Self-Improving Language Models with Bidirectional Evolutionary Search
- The AI Scientist-v2: Workshop-Level Automated Scientific Discovery via Agentic Tree Search
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks