mlsanityData to 7 Oct 2026

Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses

arXiv 2604.25850 ↗First posted 28 Apr 2026cs.CL cs.SEcited by 119

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Harnesses are now central to coding-agent performance, mediating how models interact with tools and execution environments. Yet harness engineering remains a manual craft, because automating it faces a heterogeneous action space across editable components, voluminous trajectories that bury actionable signal, and edits whose effect is hard to attribute. We introduce Agentic Harness Engineering (AHE), a closed loop that addresses these challenges through three matched observability pillars: (1) component observability gives every editable harness component a file-level representation so the action space is explicit and revertible; (2) experience observability distills millions of raw trajectory tokens into a layered, drill-down evidence corpus that an evolving agent can actually consume; and (3) decision observability pairs every edit with a self-declared prediction, later verified against the next round's task-level outcomes. Together, these pillars turn every edit into a falsifiable contract, so harness evolution proceeds autonomously without collapsing into trial-and-error. Empirically, ten AHE iterations lift pass@1 on Terminal-Bench 2 from 69.7% to 77.0%, surpassing the human-designed harness Codex-CLI (71.9%) and the self-evolving baselines ACE and TF-GRPO. The frozen harness transfers without re-evolution: on SWE-bench-verified it tops aggregate success at 12% fewer tokens than the seed, and on Terminal-Bench 2 it yields +5.1 to +10.1pp cross-family gains across three alternate model families, indicating the evolved components encode general engineering experience rather than benchmark-specific tuning. Ablations localize the gain to tools, middleware, and long-term memory rather than the system prompt, suggesting factual harness structure transfers while prose-level strategy does not.

Key facts. Cited by 119 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 32 of its 75 references that are in the map. First posted on arXiv 28 Apr 2026.

Builds on

32 of 75 references.

Closest ancestors · 6

Same direction, newest first

  1. 2026SWE-Hub: A Unified Production System for Scalable, Executable Software Engineering Tasks28 Feb
  2. 2025AlphaEvolve: A coding agent for scientific and algorithmic discovery16 Jun
  3. 2024Training Software Engineering Agents and Verifiers with SWE-Gym30 Dec
  4. 2024AFlow: Automating Agentic Workflow Generation14 Oct
  5. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  6. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 26

  1. 2025Qwen3 Technical Reportcited by 8,195
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  3. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
  6. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
  7. 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 877
  8. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 814
  9. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
  10. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
  11. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 515
  12. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 449
14 more
  1. 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 429
  2. 2024Automated Design of Agentic Systemscited by 360
  3. 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 349
  4. 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 270
  5. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 254
  6. 2026SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learningcited by 252
  7. 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 248
  8. 2024SWE-bench Multimodal: Do AI Systems Generalize to Visual Software Domains?cited by 196
  9. 2024Symbolic Learning Enables Self-Evolving Agentscited by 104
  10. 2025SWE-Lancer: Can Frontier LLMs Earn 1 Million from Real-World Freelance Software Engineering?cited by 99
  11. 2026SkillClaw: Let Skills Evolve Collectively with Agentic Evolvercited by 76
  12. 2025Training-Free Group Relative Policy Optimizationcited by 53
  13. 2025Nex-N1: Agentic Models Trained via a Unified Ecosystem for Large-Scale Environment Constructioncited by 17
  14. 2025CritiQ: Mining Data Quality Criteria from Human Preferencescited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 119.

119 papers.

Sort:

By area:

  1. 2026Self-Harness: Harnesses That Improve Themselvescited by 79
  2. 2026Code as Agent Harnesscited by 40
  3. 2026Rethinking the Evaluation of Harness Evolution for Agentscited by 39
  4. 2026HarnessX: A Composable, Adaptive, and Evolvable Agent Harness Foundrycited by 37
  5. 2026Stop Comparing LLM Agents Without Disclosing the Harnesscited by 25
  6. 2026Adapting the Interface, Not the Model: Runtime Harness Adaptation for Deterministic LLM Agentscited by 22
  7. 2026Recursive Harness Self-Improvementcited by 22
  8. 2026From Failed Trajectories to Reliable LLM Agents: Diagnosing and Repairing Harness Flawscited by 21
  9. 2026SkillsVote: Lifecycle Governance of Agent Skills from Collection, Recommendation to Evolutioncited by 18
  10. 2026SkillOpt-Lite: Better and Faster Agent Self-evolution via One Line of Vibecited by 18
  11. 2026Co-Harness: Co-Evolving Harnesses and Model Weights for LLM Agentscited by 16
  12. 2026HarnessCompass: Guiding Automatic Harness Evolution toward Generalizable and Effective Agent Harnessescited by 13
38 more
  1. 2026Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectoriescited by 13
  2. 2026Harness Handbook: Making Evolving Agent Harnesses Readable,Navigable, and Editablecited by 12
  3. 2026Who&When Pro: Can LLMs Really Attribute Failures in AI Agents?cited by 11
  4. 2026HarnessBank: Semantic Gene-Bank Search with Gated Verification for Agent-Harness Self-Evolutioncited by 11
  5. 2026SkillAdaptor: Self-Adapting Skills for LLM Agents from Trajectoriescited by 10
  6. 2026Toward Generalist Autonomous Research via Hypothesis-Tree Refinementcited by 10
  7. 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolutioncited by 10
  8. 2026EvoTrainer: Co-Evolving LLM Policies and Training Harnesses for Autonomous Agentic Reinforcement Learningcited by 9
  9. 2026From Question Answering to Task Completion: A Survey on Agent System and Harness Designcited by 9
  10. 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Tracescited by 9
  11. 2026WHALE: A Simple Recipe for Joint Harness-Weight Optimizationcited by 9
  12. 2026SEAGym: An Evaluation Environment for Self-Evolving LLM Agentscited by 8
  13. 2026The Interplay of Harness Design and Post-Training in LLM Agentscited by 8
  14. 2026Verify Smarter, Evolve Further: Efficient Harness Evolution through Behavior-Aware Verificationcited by 7
  15. 2026WikiSkill: Compiling Agent Experience into Persistent Knowledge for Skill Evolutioncited by 7
  16. 2026HarnessDev: Can LLMs Create and Evolve Their Own Agent Harness?cited by 7
  17. 2026Phantom Guardrails: When Self-Improving Agent Harnesses Fix Failures That Never Happenedcited by 6
  18. 2026SHE: Trajectory-driven Safety Harness Evolution for LLM Agentscited by 6
  19. 2026HarnessEvolve: Learning from Reference Trajectories for Reliable Agent Self-Evolutioncited by 6
  20. 2026SafeEvolve: Harness-Policy Co-Evolution from Agent Experience for Safety Alignmentcited by 6
  21. 2026DemoEvolve: Overcoming Sparse Feedback in Agentic Harness Evolution with Demonstrationscited by 5
  22. 2026What Resolve Rate Hides: Trajectory Structure Diagnostics for Coding Agentscited by 5
  23. 2026When Self-Evolution Backfires: Pre-Commit Gating against Skill Contamination in LLM Agentscited by 5
  24. 2026HarnessOpt-Bench: Evaluating LLMs at Harness Optimizationcited by 5
  25. 2026DarwinX: Evolving Agent Harnesses Through Natural Selectioncited by 5
  26. 2026AutoDesign: Meta-Harness Optimization for Long-Horizon Agentic Designcited by 5
  27. 2026The Last AI Built by Humans: Toward Genuine Recursive Self-Improvementcited by 5
  28. 2026Automated Discovery Has No Universally Superior Harnesscited by 4
  29. 2026Hierarchical Self-Improvement: A Framework for Task-Specific Evolvable Agent Harnessescited by 4
  30. 2026Act As a Real Researcher: A Suite of Benchmarks Evaluating Frontier LLMs and Agentic Harnesses in Research Lifecyclecited by 3
  31. 2026Learning to Control LLM Agent Harnesses with Offline Reinforcement Learningcited by 3
  32. 2026From Prompts to Contracts: Harness Engineering for Auditable Enterprise LLM Agentscited by 3
  33. 2026Task-CoEvolve: Efficient Harness Optimization via Adaptive Validation Task Selectioncited by 3
  34. 2026PILOT in the Loop: Live Self-Improvement for Long-Horizon Agentscited by 3
  35. 2026RRSI: Regularized Recursive Self-Improvement of Agent Harnessescited by 3
  36. 2026Harness-Zero: Harness Distillation via Agent-as-Harnesscited by 3
  37. 2026Statistical Priors for Implicit Preferences: Decoupling Skill Selection as a Local Harness in Personal Agentscited by 2
  38. 2026LemonHarness Technical Reportcited by 2

50 most cited of 119 All 119 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2026Don't Blame the Large Language Model: How Agent Harness Evolution Shapes Coding Agent Quality
  2. 2026MemoHarness: Agent Harnesses That Learn from Experience
  3. 2026Adaptive Auto-Harness: Sustained Self-Improvement for Agentic System Deployment on Open-Ended Task Streams
  4. 2026An Empirical Study of Harness Design for Coding Agents
  5. 2026openJiuwen: Beyond Static Harnesses for Long-Horizon Coding Agents
  6. 2026Harness Engineering for Predictable Agentic Systems: An Empirical Study of Deterministic Execution Constraints
  7. 2026HarnessForge: Joint Harness and Policy Evolution for Adaptive Agent Systems
  8. 2026One Recipe, Many Harnesses: What Self-Evolution Encodes Across Languages and Models ↗