A Multi-Agent Framework for Stateful Inference-Time Search
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
Recent work explores agentic inference-time techniques to perform structured, multi-step reasoning. However, stateless inference often struggles on multi-step tasks due to the absence of persistent state. Moreover, task-specific fine-tuning or instruction-tuning often achieve surface-level code generation but remain brittle on tasks requiring deeper reasoning and long-horizon dependencies. To address these limitations, we propose stateful multi-agent evolutionary search, a training-free framework that departs from prior stateless approaches by combining (i) persistent inference-time state, (ii) adversarial mutation, and (iii) evolutionary preservation. We demonstrate its effectiveness in automated unit test generation through the generation of edge cases. We generate robust edge cases using an evolutionary search process, where specialized agents sequentially propose, mutate, and score candidates. A controller maintains persistent state across generations, while evolutionary preservation ensures diversity and exploration across all possible cases. This yields a generalist agent capable of discovering robust, high-coverage edge cases across unseen codebases. Experiments show our stateful multi-agent inference framework achieves substantial gains in coverage over stateless single-step baselines, evaluated on prevalent unit-testing benchmarks such as HumanEval and TestGenEvalMini and using three diverse LLM families - Llama, Gemma, and GPT. These results indicate that combining persistent inference-time state with evolutionary search materially improves unit-test generation.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 16 of its 35 references that are in the map. First posted on arXiv 8 Oct 2025.
Builds on
16 of 35 references.
References · 16
- 2017Attention Is All You Needcited by 59,932
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 871
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 763
- 2017Evolution Strategies as a Scalable Alternative to Reinforcement Learningcited by 555
- 2016The CMA Evolution Strategy: A Tutorialcited by 364
- 2017Population Based Training of Neural Networkscited by 351
4 more
- 2022Exploring Length Generalization in Large Language Modelscited by 204
- 2017Deep Neuroevolution: Genetic Algorithms Are a Competitive Alternative for Training Deep Neural Networks for Reinforcement Learningcited by 148
- 2024TestGenEval: A Real World Unit Test Generation and Test Completion Benchmarkcited by 49
- 2024Unlocking Reasoning Potential in Large Langauge Models by Scaling Code-form Planningcited by 24
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Multi-Agent Reasoning Improves Compute Efficiency: Pareto-Optimal Test-Time Scaling
- 2025Towards Efficient Agents: A Co-Design of Inference Architecture and System
- 2026Arbor: Tree Search as a Cognition Layer for Autonomous Agents
- 2026Scaling the Scaling Logic: Agentic Meta-Synthesis of Logic Reasoning
- 2026EvoMAS: Evolutionary Generation of Multi-Agent Systems
- 2026Spend Less, Reason Better: Budget-Aware Value Tree Search for LLM Agents
- 2026Stateless Language Agents: Scaling Long-Horizon Automated Research
- 2026EvoFSM: Controllable Self-Evolution for Deep Research with Finite State Machines