Self-Evolving Harness on Multiple Tasks with the Agent as Its Own Optimizer
New in LLM agents and tool use; no direction yet. LLM agents and tool use
Abstract (arXiv)
A harness is the code around a language-model agent that organizes prompts, calls tools, manages context, and controls execution. As models grow stronger, recent work has begun to let agents improve their own harnesses, a line of work known as self-evolving harnesses. In most existing methods, a separate proposer running on a human-designed harness modifies the solver's harness, and a separate harness is evolved for each benchmark. Real-world tasks come from many domains, so both the evolution and the evaluation of a harness should cover a diverse range of tasks. We propose a framework close to recursive self-improvement: the same frozen model, on the same version of the harness, first solves tasks as the solver and then, as the proposer, reads the complete run records and directly edits the harness that runs it. Each evolution batch draws tasks from five benchmarks in different domains. To measure generalization, training and held-out tasks are strictly separated, and we additionally evaluate on five out-of-distribution benchmarks never used during evolution. We frame the evolution process as deep-learning training with two stages, multi-task pretraining and continual training. Starting from a 49-line seed harness, the harness obtained at the end of the first stage improves the average score by 4.48 points on the in-distribution benchmarks and by 12.64 points on the out-of-distribution benchmarks, surpassing Codex on the former and matching it on the latter. In the second stage, continued evolution on Claw-Eval, one of the out-of-distribution benchmarks, further raises the score on that benchmark from 66.17 to 68.06, exceeding Codex. We also provide an in-depth analysis of the mechanisms that emerged during evolution, including output truncation, history compaction, and independent review.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 34 of its 59 references that are in the map. First posted on arXiv 29 Sep 2026.
Builds on
34 of 59 references.
References · 34
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2018Experience Replay for Continual Learningcited by 1,095
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
- 2024Executable Code Actions Elicit Better LLM Agentscited by 564
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
- 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 356
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 309
- 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 279
- 2025BrowseComp-Plus: A More Fair and Transparent Evaluation Benchmark of Deep-Research Agentcited by 200
22 more
- 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generationcited by 148
- 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnessescited by 142
- 2024Simple and Scalable Strategies to Continually Pre-train Large Language Modelscited by 127
- 2026Self-Harness: Harnesses That Improve Themselvescited by 107
- 2025Holistic Agent Leaderboard: The Missing Infrastructure for AI Agent Evaluationcited by 92
- 2026Claw-Eval: Towards Trustworthy Evaluation of Autonomous Agentscited by 64
- 2026DeepSWE: Measuring Frontier Coding Agents on Original, Long-Horizon Engineering Taskscited by 49
- 2026Rethinking the Evaluation of Harness Evolution for Agentscited by 48
- 2026Continual Harness: Online Adaptation for Self-Improving Foundation Agentscited by 41
- 2026τ-Knowledge: Evaluating Conversational Agents over Unstructured Knowledgecited by 39
- 2026OfficeQA Pro: An Enterprise Benchmark for End-to-End Grounded Reasoningcited by 39
- 2026Harness Updating Is Not Harness Benefit: Disentangling Evolution Capabilities in Self-Evolving LLM Agentscited by 34
- 2026Gaia2: Benchmarking LLM Agents on Dynamic and Asynchronous Environmentscited by 33
- 2026Adaptive Auto-Harness: Sustained Self-Improvement for Agentic System Deployment on Open-Ended Task Streamscited by 27
- 2026HarnessCompass: Guiding Automatic Harness Evolution toward Generalizable and Effective Agent Harnessescited by 17
- 2026HarnessBank: Semantic Gene-Bank Search with Gated Verification for Agent-Harness Self-Evolutioncited by 14
- 2026RRSI: Regularized Recursive Self-Improvement of Agent Harnessescited by 13
- 2026SEAGym: An Evaluation Environment for Self-Evolving LLM Agentscited by 11
- 2026Evo-Bench: Can Language Models Improve Agent Harness?cited by 11
- 2026Simple Baselines are Competitive with Code Evolutioncited by 9
- 2026HarnessEvolve: Learning from Reference Trajectories for Reliable Agent Self-Evolutioncited by 9
- 2026Rethinking Self-Evolving Agents: Do We Still Need Prescribed Optimization Pipelines?cited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026One Recipe, Many Harnesses: What Self-Evolution Encodes Across Languages and Models ↗
- 2026Recursive Harness Self-Improvement
- 2026Evo2: Evolving the Evolver through Weight-Harness Co-Evolution
- 2026Evo-Harness: Context-to-Harness Skill Compilation for Self-Evolving Agents
- 2026Learning from Research: Toward Lifelong Agent Harness Evolution
- 2026DREvo: Distilling Recalibrated Historical Experience for Harness Self-Evolution
- 2026Harness Handbook: Making Evolving Agent Harnesses Readable,Navigable, and Editable
- 2026DemoEvolve: Overcoming Sparse Feedback in Agentic Harness Evolution with Demonstrations