HarnessCompass: Guiding Automatic Harness Evolution toward Generalizable and Effective Agent Harnesses
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Harness design plays a critical role in agent performance by shaping how large language models (LLMs) perceive, reason over, and act within executable environments. Recent work has proposed automatic harness evolution, which iteratively improves the harness from agent--environment interactions. However, existing methods often overfit to the evolution tasks, rely exclusively on trajectory-derived signals, and optimize harness components jointly, causing interference across components. We propose HarnessCompass, a novel automatic harness evolution framework built around constrained evolution, proactive feedback, and component-wise optimization. HarnessCompass first enforces global constraints on evolution, restricting modifications to task-agnostic harness changes that generalize beyond the evolution tasks. It then augments trajectory-derived evidence with proactive first-person feedback from the agent about harness usage, yielding richer signals for evolution. Finally, it decouples the optimization of different harness components before consolidating them into a unified harness, reducing cross-component interference while preserving component synergy. On SWE-bench Verified with GPT-5.4, HarnessCompass improves Pass@1 from 54% to 66% in only 5 evolution iterations, outperforming AHE in both effectiveness and evolution efficiency. In addition, the evolved harness transfers effectively to held-out tasks and other models, demonstrating substantially stronger generalization than prior automatic harness evolution methods.
Key facts. Cited by 17 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 18 of its 82 references that are in the map. First posted on arXiv 3 Aug 2026.
Builds on
18 of 82 references.
Closest ancestors · 6
Same direction, newest first
- 2026Rethinking the Evaluation of Harness Evolution for Agents14 Jul
- 2026Don't Blame the Large Language Model: How Agent Harness Evolution Shapes Coding Agent Quality4 Jul
- 2026Self-Harness: Harnesses That Improve Themselves8 Jun
- 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses28 Apr
- 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?17 Nov
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
Other references · 12
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023GAIA: a benchmark for General AI Assistantscited by 1,128
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
- 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 356
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 309
- 2025A Systematic Survey of Automatic Prompt Optimization Techniquescited by 63
- 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 50
- 2026InfiAgent: An Infinite-Horizon Framework for General-Purpose Autonomous Agentscited by 10
- 2026Learning from the Irrecoverable: Error-Localized Policy Optimization for Tool-Integrated LLM Reasoningcited by 6
- 2025ToolLibGen: Scalable Automatic Tool Creation and Aggregation for LLM Reasoningcited by 5
- 2026PruneTIR: Inference-Time Tool Call Pruning for Effective yet Efficient Tool-Integrated Reasoningcited by 2
Built on by
Citing papers per year: 2026: 17.
17 papers.
Sort:
By area:
- 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolutioncited by 16
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Tracescited by 15
- 2026HarnessDev: Can LLMs Create and Evolve Their Own Agent Harness?cited by 13
- 2026RRSI: Regularized Recursive Self-Improvement of Agent Harnessescited by 13
- 2026Task-CoEvolve: Efficient Harness Optimization via Adaptive Validation Task Selectioncited by 5
- 2026Ecdysis: Efficient and Effective Training of Runtime Harnesses for LLM Agentscited by 3
- 2026Self-Evolving Coding Agentscited by 2
- 2026Bad Genius: Counterfactual-Guided Harness Evolution Beyond Task-Specific Shortcutscited by 1
- 2026LiteEvo: Automated, Cost-Efficient Harness Evolution for Generalization to Unseen Taskscited by 1
- 2026Harness Learning Enables Generalizable Test-Time Adaptationcited by 0
- 2026Self-Evolving Harness on Multiple Tasks with the Agent as Its Own Optimizercited by 0
- 2026ActiveSaddler: Automated Curriculum Learning for Agent Harness Optimizationcited by 0
5 more
- 2026HERA: Harness-Environment Co-Evolution for Reliable Agentic Abstentioncited by 0
- 2026FreeEvolve: Learning to Evolve Beyond Fixed Loopscited by 0
- 2026Harness Evolution Hits a Ceiling: When Weight Training Should Begincited by 0
- 2026Harness^2: Recursive Agent Harnessing for an Open Worldcited by 0
- 2026Self-Evolving Agent Harnesscited by 0
- 2026Self-Evolving Agent Harness13 Oct 2026
- 2026Harness^2: Recursive Agent Harnessing for an Open World9 Oct 2026
- 2026Harness Evolution Hits a Ceiling: When Weight Training Should Begin8 Oct 2026
- 2026FreeEvolve: Learning to Evolve Beyond Fixed Loops6 Oct 2026
- 2026HERA: Harness-Environment Co-Evolution for Reliable Agentic Abstention5 Oct 2026
- 2026ActiveSaddler: Automated Curriculum Learning for Agent Harness Optimization1 Oct 2026
- 2026Self-Evolving Harness on Multiple Tasks with the Agent as Its Own Optimizer29 Sep 2026
- 2026Harness Learning Enables Generalizable Test-Time Adaptation28 Sep 2026
- 2026LiteEvo: Automated, Cost-Efficient Harness Evolution for Generalization to Unseen Tasks27 Sep 2026
- 2026RRSI: Regularized Recursive Self-Improvement of Agent Harnesses21 Sep 2026
- 2026Bad Genius: Counterfactual-Guided Harness Evolution Beyond Task-Specific Shortcuts16 Sep 2026
- 2026Ecdysis: Efficient and Effective Training of Runtime Harnesses for LLM Agents10 Sep 2026
5 more
- 2026HarnessDev: Can LLMs Create and Evolve Their Own Agent Harness?1 Sep 2026
- 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolution26 Aug 2026
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Traces24 Aug 2026
- 2026Task-CoEvolve: Efficient Harness Optimization via Adaptive Validation Task Selection20 Aug 2026
- 2026Self-Evolving Coding Agents4 Aug 2026
- 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolutioncited by 16
- 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Tracescited by 15
- 2026HarnessDev: Can LLMs Create and Evolve Their Own Agent Harness?cited by 13
- 2026RRSI: Regularized Recursive Self-Improvement of Agent Harnessescited by 13
- 2026Ecdysis: Efficient and Effective Training of Runtime Harnesses for LLM Agentscited by 3
- 2026Self-Evolving Coding Agentscited by 2
- 2026LiteEvo: Automated, Cost-Efficient Harness Evolution for Generalization to Unseen Taskscited by 1
- 2026Harness Learning Enables Generalizable Test-Time Adaptationcited by 0
- 2026Self-Evolving Harness on Multiple Tasks with the Agent as Its Own Optimizercited by 0
- 2026ActiveSaddler: Automated Curriculum Learning for Agent Harness Optimizationcited by 0
- 2026HERA: Harness-Environment Co-Evolution for Reliable Agentic Abstentioncited by 0
- 2026FreeEvolve: Learning to Evolve Beyond Fixed Loopscited by 0
12 most cited of 14 All 14 (JSON)
- 2026Harness^2: Recursive Agent Harnessing for an Open World9 Oct 2026
- 2026Harness Evolution Hits a Ceiling: When Weight Training Should Begin8 Oct 2026
- 2026FreeEvolve: Learning to Evolve Beyond Fixed Loops6 Oct 2026
- 2026HERA: Harness-Environment Co-Evolution for Reliable Agentic Abstention5 Oct 2026
- 2026ActiveSaddler: Automated Curriculum Learning for Agent Harness Optimization1 Oct 2026
- 2026Self-Evolving Harness on Multiple Tasks with the Agent as Its Own Optimizer29 Sep 2026
- 2026Harness Learning Enables Generalizable Test-Time Adaptation28 Sep 2026
- 2026LiteEvo: Automated, Cost-Efficient Harness Evolution for Generalization to Unseen Tasks27 Sep 2026
- 2026RRSI: Regularized Recursive Self-Improvement of Agent Harnesses21 Sep 2026
- 2026Ecdysis: Efficient and Effective Training of Runtime Harnesses for LLM Agents10 Sep 2026
- 2026HarnessDev: Can LLMs Create and Evolve Their Own Agent Harness?1 Sep 2026
- 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolution26 Aug 2026
12 newest of 14 All 14 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Verify Smarter, Evolve Further: Efficient Harness Evolution through Behavior-Aware Verification
- 2026Evo-Bench: Can Language Models Improve Agent Harness?
- 2026DemoEvolve: Overcoming Sparse Feedback in Agentic Harness Evolution with Demonstrations
- 2026HarnessX: A Composable, Adaptive, and Evolvable Agent Harness Foundry
- 2026Where Does Harness-Optimization Value Live? Localized Gains and the Budget-Splitting Trap in Self-Evolving LLM Agents
- 2026HarnessForge: Joint Harness and Policy Evolution for Adaptive Agent Systems
- 2026HarnessNet: Feedback-driven Hierarchical Joint Harness Evolution for Multi-agent Systems
- 2026MESH-Harness: Self-Improving Agent Harnesses via Bandit-Guided Compositional Evolution