NTH

Stateless Language Agents: Scaling Long-Horizon Automated Research

AuthorsQizheng Zhang, Changxiu Ji, Isaac Sun, Yuetai Li, Shubhangi Upasani, Sherry Ruan, Boyuan Ma, Fenglu Hong, Vamsidhar Kamanuru, Yoonho Lee, Yuzhen Mao, Genghan Zhang, Rulin Shao, Qiuyang Mang, Andy Dimnaku, Changran Hu, Radha Poovendran, Kunle Olukotun

AffiliationsStanford University · Carnegie Mellon University · University of Washington · SambaNova Systems, Inc · UC Berkeley* equal contribution

October 18, 2026 3 min read
Watch on YouTube
The one-line take

This paper shows how LLM research agents can make longer-term progress by keeping shared research state outside their conversations and assigning focused experiments.

Key results

67.9M
Anthropic kernel tokens to match baseline

Matched SwarmResearch’s final result in 67.9M tokens versus 986.3M, a 93.1% reduction.

0.51%
Maximum Advisor token share

Advisor used 0.24–0.51% of total tokens in analyzed runs.

1B
Maximum evaluation budget

Cumulative-token budget used in the long-horizon evaluation.

What the paper found

Stateless Language Agents, or SLAs, address a core problem in long-running automated research: more inference does not guarantee more discoveries when agents replay growing histories or duplicate experiments. The system keeps research state—candidate solutions and measured outcomes—in a harness, which rebuilds a fresh, role-specific context for every stateless agent invocation. A stateless Advisor uses the shared evidence to assign distinct experiments to parallel Workers, while Workers focus on implementation and local feedback. Evaluated against EvoX, CORAL, and SwarmResearch on FrontierSWE, Anthropic kernel optimization, NVIDIA’s SOL-ExecBench, and FrontierCS, SLA achieved the best final result on every task at budgets up to 1B tokens. With OpenAI Codex and GPT-5.5 on Anthropic kernel optimization, it matched SwarmResearch’s final result using 67.9M tokens instead of 986.3M, a 93.1% reduction. Results also show why evaluation horizon matters: on all four FrontierSWE tasks, SLA trailed the strongest baseline at 175M tokens but led at 700M. Ablations found that focused contexts and explicit assignments each improve progress, while Advisor coordination used at most 0.51% of tokens. The framework also supports Claude Code with Claude Opus 4.8, showing that its design is not limited to one coding agent or model.

Original 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.

Read the original paper

More in AI Agents

Browse all 62 papers →
01Agent

CUAWright: A Minimal Unified Interface for Digital Agents

Yadong Lu, Theodore Lee, Yifei Li, Lawrence Keunho Jang, Tianci Xue, Yu Su, Huan Sun, Ahmed Hassan Awadallah

CUAWright argues that giving computer-use agents a simple programmable terminal instead of GUI-specific tools makes them substantially more capable, efficient, and adaptable.

Read analysis
03Agent

DAEDALUS: Bootstrapping Agent Memory from Self-Generated Tasks

Antoine Edy, Max Conti, Victor Xing, Marc-Antoine Allard, Nawfal Benhamdane, Gautier Viaud

DAEDALUS lets AI agents invent practice tasks, learn from their failures, and build reusable memories that improve performance in new environments.

Read analysis