mlsanityData to 14 Oct 2026

Effective Harness Engineering for Algorithm Discovery with Coding Agents

arXiv 2605.15221 ↗First posted 13 May 2026cs.SE cs.AI cs.CLcited by 6

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

  1. 2026Building Effective AI Coding Agents for the Terminal: Scaffolding, Harness, Context Engineering, and Lessons Learned5 Mar
  2. 2025CodeEvolve: an open source evolutionary coding agent for algorithmic discovery and optimization15 Oct
  3. 2025AlphaEvolve: A coding agent for scientific and algorithmic discovery16 Jun

Other references · 10

  1. 2016Concrete Problems in AI Safetycited by 1,642
  2. 2015Illuminating search spaces by mapping elitescited by 425
  3. 2024ReEvo: Large Language Models as Hyper-Heuristics with Reflective Evolutioncited by 276
  4. 2024Evolution of Heuristics: Towards Efficient Automatic Algorithm Design Using Large Language Modelcited by 268
  5. 2025From Automation to Autonomy: A Survey on Large Language Models in Scientific Discoverycited by 93
  6. 2025ThetaEvolve: Test-time Learning on Open Problemscited by 64
  7. 2023Algorithm Evolution Using Large Language Modelcited by 53
  8. 2025Scientific Algorithm Discovery by Augmenting AlphaEvolve with Deep Researchcited by 19
  9. 2025AlphaResearch: Accelerating New Algorithm Discovery with Language Modelscited by 11
  10. 2024Can Large Language Models Invent Algorithms to Improve Themselves?: Algorithm Discovery for Recursive Self-Improvement through Reinforcement Learningcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 6.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SoL-Pi: Recursively Scaling Auto-Research Loops for Efficient Agent Harness
  2. 2026Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents -- A Source-Code Study of Eleven Systems
  3. 2026SwarmResearch: Orchestrating Coding Agents for Open-Ended Discovery
  4. 2026Dynamic Harness Search: Building Multi-Agent Systems Per-Query via Prediction
  5. 2026Don't Blame the Large Language Model: How Agent Harness Evolution Shapes Coding Agent Quality
  6. 2026MESH-Harness: Self-Improving Agent Harnesses via Bandit-Guided Compositional Evolution
  7. 2026What Do Evolutionary Coding Agents Evolve?
  8. 2026An Empirical Study of Harness Design for Coding Agents