DarwinX: Evolving Agent Harnesses Through Natural Selection
Yifan Zhang, Yutong Dai, Juntao Tan, Luyu Yang, Rishi Mullur, Thai Hoang, Zhiyuan Hu, James Zhu, Phil Mui, Silvio Savarese, Ran Xu, Zeyuan Chen
Abstract
An LLM agent's capability depends not only on model weights but on its harness: prompts, tools, skills, and control flow. Self-improvement loops already edit harnesses, yet single-lineage search is path-dependent and local wins often regress other tasks. We introduce DarwinX, which treats self-evolution as selection over a population of harnesses with the model frozen: a preserve-and-extend contract admits only variants that extend coverage without regressing, an archive keeps alternative lineages for recombination, and failure-, teacher-, and self-derived evidence share one edit interface. Fitness comes from each benchmark's own verifier: no gold solutions, no hand-picked winners. Across four benchmarks that progressively separate the evolution signal from the test, one loop adds about 17 points on average: Terminal-Bench 2.1 rises +7.7 to 83.2% on a matched base and to the verified frontier at 84.7% on a stronger one; TerminalWorld's held-out split reaches 68.3%, ahead of every off-the-shelf agent; WebArena-Infinity real-task pass@1 rises from 43.5% to 93.0% audit-clean; and a Terminal-Bench 2.1 harness transfers unchanged to SWE-bench Verified. What evolves is general agent competence, not benchmark-specific patches, so it survives changes of task, verifier, and base model. A frozen model need not be a fixed agent: harness selection turns evaluation compute into durable capability.
Create a lesson
Related papers
Evolving Self-Organising Agents Without Fitness: Three Falsifiable Experiments from Constraint-Driven Selection to Developmental Encoding
Shared title terminology · Anushka Sharma
TRON: Transferring Naturally Evolved Network Architectures into Neuroevolution
Shared title terminology · Konstantinos Zacharopoulos, Alexandra Bekou, Jose M Serradell et al.
Multi-Behavioral Evolved Substrates Through Neuromodulation and Activation Selection
Shared title terminology · Romain Claret, Michael O'Neill, Paul Cotofrei et al.
Automating Parent Selection Configuration in Genetic Programming with Agentic AI
Shared title terminology · Jose Guadalupe Hernandez, Jui-Hsuan Chang, Anil Kumar Saini et al.
Evolving Ensemble of Agents
Shared title terminology · Zongmin Yu, Liu Yang
Towards Self-Evolving Agents: A Human-Inspired Adaptive Exploration-Exploitation Framework for Genetic Network Programming
Shared title terminology · Ali Kohan, Mohamad Roshanzamir, Roohallah Alizadehsani et al.