Stanford's Stateless Language Agents Match Best Kernel Baseline With 84% Fewer Tokens
StanfordUniversity · hf · 2026-10-12
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 work, or stop experimenting while tokens keep burning. Most evaluations use short budgets or benchmarks that saturate early, leaving these failure modes untested. The authors trace failures to two choices: where research state lives and who decides what to try next.
They introduce Stateless Language Agents (SLAs), built on 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, role-specific context each time.
- In the SLA framework, a stateless Advisor reads harness-summarized evidence across search directions and assigns concrete experiments to parallel Workers.
- On software engineering, kernel optimization, and algorithm design at budgets 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 show focused contexts and explicit assignments each contribute and can compound over full runs, while the Advisor consumes under 0.6% of tokens.
The results argue for keeping durable research state out of agent conversations, and show short evaluation horizons can misjudge research systems.
More from coding & agent
- "I don't want to look at code, just state machines and live docs": one giant diagram — _AustinCalvert_ · 2026-10-12
- VectorDash: open-source Windows 11 search replacement powered by EmbeddingGemma 2 — andy2na · 2026-10-12
- Using AI agents to reverse engineer and patch games with byte-exact verification — arpit_bhayani · 2026-10-12
- Power user burns 86% of Codex weekly quota in 25 hours, complains resets can't keep up — AlchainHust · 2026-10-12
- dsco: an agentic LLM CLI written in C with tool use, swarms, and MCP — arthurcolle · 2026-10-12
- RLHF sawed off 'Decline': why LLMs hallucinate APIs and the one-line Flores fix — RandalSchwartz · 2026-10-12