Effective Harness Engineering for Algorithm Discovery with Coding Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
AlphaEvolve and FunSearch have demonstrated the potential of combining large language models (LLMs) with evolutionary search for automated algorithm discovery. However, discovery success is shaped not only by model capability but also significantly by the design of the execution infrastructure, i.e., the harness. This paper investigates effective harness design through three questions: under a fixed token budget, is it better to produce many algorithms with brief thought or fewer algorithms with deeper thought? How should the harness handle evaluation hacks, where generated programs exploit the scoring function? And how can agents that require full filesystem access execute safely in parallel? Using Vesper, an algorithm discovery framework that incorporates harness improvements addressing these questions, we evaluate on Circle Packing under the same token budget. Interestingly, generating fewer algorithms while thinking more deeply about each one achieved higher scores. That is, scaling the quality of each individual is more budget-efficient than scaling the number of evolutionary generations. Surprisingly, more capable models produced evaluation hacks at higher rates, making hack detection increasingly necessary as models scale.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 13 of its 18 references that are in the map. First posted on arXiv 13 May 2026.
Builds on
13 of 18 references.
Closest ancestors · 3
Same direction, newest first
- 2026Building Effective AI Coding Agents for the Terminal: Scaffolding, Harness, Context Engineering, and Lessons Learned5 Mar
- 2025CodeEvolve: an open source evolutionary coding agent for algorithmic discovery and optimization15 Oct
- 2025AlphaEvolve: A coding agent for scientific and algorithmic discovery16 Jun
Other references · 10
- 2016Concrete Problems in AI Safetycited by 1,642
- 2015Illuminating search spaces by mapping elitescited by 425
- 2024ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolutioncited by 276
- 2024Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Modelcited by 268
- 2025From Automation to Autonomy: A Survey on Large Language Models in Scientific Discoverycited by 93
- 2025ThetaEvolve: Test-time Learning on Open Problemscited by 64
- 2023Algorithm Evolution Using Large Language Modelcited by 53
- 2025Scientific Algorithm Discovery by Augmenting AlphaEvolve with Deep Researchcited by 19
- 2025AlphaResearch: Accelerating New Algorithm Discovery with Language Modelscited by 11
- 2024Can Large Language Models Invent Algorithms to Improve Themselves?: Algorithm Discovery for Recursive Self-Improvement through Reinforcement Learningcited by 4
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026Recursive Self-Improvement in AI: From Bounded Self-Refinement to Autonomous Research Loopscited by 35
- 2026Automated Discovery Has No Universally Superior Harnesscited by 6
- 2026Loreley: Repository-Scale Program Evolution with Quality-Diversity Searchcited by 0
- 2026Evolution or Illusion? Rethinking Evaluation in LLM Evolutionary Searchcited by 0
- 2026Causal Improvement Graph for Agentic Harness Optimizationcited by 0
- 2026AgentDiscover: Autonomous Discovery with Minimal Search Scaffoldingcited by 0
- 2026AgentDiscover: Autonomous Discovery with Minimal Search Scaffolding4 Oct 2026
- 2026Causal Improvement Graph for Agentic Harness Optimization4 Oct 2026
- 2026Evolution or Illusion? Rethinking Evaluation in LLM Evolutionary Search17 Sep 2026
- 2026Loreley: Repository-Scale Program Evolution with Quality-Diversity Search20 Aug 2026
- 2026Automated Discovery Has No Universally Superior Harness20 Jul 2026
- 2026Recursive Self-Improvement in AI: From Bounded Self-Refinement to Autonomous Research Loops8 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026SoL-Pi: Recursively Scaling Auto-Research Loops for Efficient Agent Harness
- 2026Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents -- A Source-Code Study of Eleven Systems
- 2026SwarmResearch: Orchestrating Coding Agents for Open-Ended Discovery
- 2026Dynamic Harness Search: Building Multi-Agent Systems Per-Query via Prediction
- 2026Don't Blame the Large Language Model: How Agent Harness Evolution Shapes Coding Agent Quality
- 2026MESH-Harness: Self-Improving Agent Harnesses via Bandit-Guided Compositional Evolution
- 2026What Do Evolutionary Coding Agents Evolve?
- 2026An Empirical Study of Harness Design for Coding Agents