mlsanityData to 14 Oct 2026

HarnessCompass: Guiding Automatic Harness Evolution toward Generalizable and Effective Agent Harnesses

arXiv 2608.01918 ↗First posted 3 Aug 2026cs.LG cs.CLcited by 17

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

  1. 2026Rethinking the Evaluation of Harness Evolution for Agents14 Jul
  2. 2026Don't Blame the Large Language Model: How Agent Harness Evolution Shapes Coding Agent Quality4 Jul
  3. 2026Self-Harness: Harnesses That Improve Themselves8 Jun
  4. 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses28 Apr
  5. 2025Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly?17 Nov
  6. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul

Other references · 12

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  3. 2023GAIA: a benchmark for General AI Assistantscited by 1,128
  4. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 585
  5. 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 356
  6. 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 309
  7. 2025A Systematic Survey of Automatic Prompt Optimization Techniquescited by 63
  8. 2025LLM-based Agents Suffer from Hallucinations: A Survey of Taxonomy, Methods, and Directionscited by 50
  9. 2026InfiAgent: An Infinite-Horizon Framework for General-Purpose Autonomous Agentscited by 10
  10. 2026Learning from the Irrecoverable: Error-Localized Policy Optimization for Tool-Integrated LLM Reasoningcited by 6
  11. 2025ToolLibGen: Scalable Automatic Tool Creation and Aggregation for LLM Reasoningcited by 5
  12. 2026PruneTIR: Inference-Time Tool Call Pruning for Effective yet Efficient Tool-Integrated Reasoningcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 17.

17 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026Verify Smarter, Evolve Further: Efficient Harness Evolution through Behavior-Aware Verification
  2. 2026Evo-Bench: Can Language Models Improve Agent Harness?
  3. 2026DemoEvolve: Overcoming Sparse Feedback in Agentic Harness Evolution with Demonstrations
  4. 2026HarnessX: A Composable, Adaptive, and Evolvable Agent Harness Foundry
  5. 2026Where Does Harness-Optimization Value Live? Localized Gains and the Budget-Splitting Trap in Self-Evolving LLM Agents
  6. 2026HarnessForge: Joint Harness and Policy Evolution for Adaptive Agent Systems
  7. 2026HarnessNet: Feedback-driven Hierarchical Joint Harness Evolution for Multi-agent Systems
  8. 2026MESH-Harness: Self-Improving Agent Harnesses via Bandit-Guided Compositional Evolution