mlsanityData to 7 Oct 2026

Self-Harness: Harnesses That Improve Themselves

arXiv 2606.09498 ↗First posted 8 Jun 2026cs.CLcited by 79

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

Abstract (arXiv)

The performance of LLM-based agents is jointly shaped by their base models and the harnesses that mediate their interaction with the environment. Because different models exhibit distinct behaviors, effective harness design is inherently model-specific. Yet agent harnesses are still largely engineered by human experts, a paradigm that scales poorly as modern LLMs become increasingly diverse and rapidly evolving. In this paper, we introduce Self-Harness, a new paradigm in which an LLM-based agent improves its own operating harness, without relying on human engineers or stronger external agents. We operationalize Self-Harness as an iterative loop with three stages: Weakness Mining, which identifies model-specific failure patterns from execution traces; Harness Proposal, which generates diverse yet minimal harness modifications tied to these failures; and Proposal Validation, which accepts candidate edits only after regression testing. We instantiate Self-Harness across Terminal-Bench-2.0, SWE-bench Verified, and AppWorld using a minimal initial harness and three base models from diverse families: MiniMax M2.5, Qwen3.5-35B-A3B, and GLM-5. Across all nine model--benchmark combinations, every final harness improves both held-in and held-out pass rates, with overall relative gains of up to 132%. Qualitative analyses further show that the retained mechanisms address benchmark-specific bottlenecks in artifact handling and runtime control, software-patch verification, and application-state retrieval. These results suggest a path toward LLM-based agents that are not merely shaped by their harnesses, but can also participate in reshaping them.

Key facts. Cited by 79 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 28 of its 37 references that are in the map. First posted on arXiv 8 Jun 2026.

Builds on

28 of 37 references.

Closest ancestors · 5

Same direction, newest first

  1. 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnesses28 Apr
  2. 2026Dive into Claude Code: The Design Space of Today's and Future AI Agent Systems14 Apr
  3. 2024AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agents26 Jul
  4. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  5. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 23

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  4. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  5. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  6. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 1,880
  7. 2024The AI Scientist: Towards Fully Automated Open-Ended Scientific Discoverycited by 1,002
  8. 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 778
  9. 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 515
  10. 2025The AI Scientist-v2: Workshop-Level Automated Scientific Discovery via Agentic Tree Searchcited by 375
  11. 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 349
  12. 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 294
11 more
  1. 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 248
  2. 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generationcited by 128
  3. 2025A Survey of Context Engineering for Large Language Modelscited by 120
  4. 2024The Prompt Report: A Systematic Survey of Prompt Engineering Techniquescited by 115
  5. 2025Alita: Generalist Agent Enabling Scalable Agentic Reasoning with Minimal Predefinition and Maximal Self-Evolutioncited by 114
  6. 2024Language Agents as Optimizable Graphscited by 81
  7. 2025Leveraging Dual Process Theory in Language Agent Framework for Real-time Simultaneous Human-AI Collaborationcited by 10
  8. 2025The Path of Self-Evolving Large Language Models: Achieving Data-Efficient Learning via Intrinsic Feedbackcited by 6
  9. 2026Controllable and Verifiable Tool-Use Data Synthesis for Agentic Reinforcement Learningcited by 5
  10. 2026Anticipatory Planning for Multimodal AI Agentscited by 4
  11. 2026SemaClaw: A Step Towards General-Purpose Personal AI Agents through Harness Engineeringcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 79.

79 papers.

Sort:

By area:

  1. 2026Recursive Harness Self-Improvementcited by 22
  2. 2026SkillOpt-Lite: Better and Faster Agent Self-evolution via One Line of Vibecited by 18
  3. 2026Self-Improvements in Modern Agentic Systems: A Surveycited by 17
  4. 2026HarnessCompass: Guiding Automatic Harness Evolution toward Generalizable and Effective Agent Harnessescited by 13
  5. 2026Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectoriescited by 13
  6. 2026TTHE: Test-Time Harness Evolutioncited by 12
  7. 2026HarnessBank: Semantic Gene-Bank Search with Gated Verification for Agent-Harness Self-Evolutioncited by 11
  8. 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolutioncited by 10
  9. 2026AutoSaddler: Automatic Harness Optimization with Durable Updates from Agent Execution Tracescited by 9
  10. 2026Evo-Bench: Can Language Models Improve Agent Harness?cited by 8
  11. 2026Verify Smarter, Evolve Further: Efficient Harness Evolution through Behavior-Aware Verificationcited by 7
  12. 2026WikiSkill: Compiling Agent Experience into Persistent Knowledge for Skill Evolutioncited by 7
38 more
  1. 2026HarnessDev: Can LLMs Create and Evolve Their Own Agent Harness?cited by 7
  2. 2026SHE: Trajectory-driven Safety Harness Evolution for LLM Agentscited by 6
  3. 2026HarnessEvolve: Learning from Reference Trajectories for Reliable Agent Self-Evolutioncited by 6
  4. 2026SafeEvolve: Harness-Policy Co-Evolution from Agent Experience for Safety Alignmentcited by 6
  5. 2026AutoDesign: Meta-Harness Optimization for Long-Horizon Agentic Designcited by 5
  6. 2026The Last AI Built by Humans: Toward Genuine Recursive Self-Improvementcited by 5
  7. 2026Automated Discovery Has No Universally Superior Harnesscited by 4
  8. 2026DREvo: Distilling Recalibrated Historical Experience for Harness Self-Evolutioncited by 4
  9. 2026Hierarchical Self-Improvement: A Framework for Task-Specific Evolvable Agent Harnessescited by 4
  10. 2026Code Is the Body: Agent-Owned Software Bodies for Recursive Evolution and Descentcited by 3
  11. 2026PILOT in the Loop: Live Self-Improvement for Long-Horizon Agentscited by 3
  12. 2026Auditing Harness Tampering in Self-Improving Agentscited by 3
  13. 2026RRSI: Regularized Recursive Self-Improvement of Agent Harnessescited by 3
  14. 2026Harness-Zero: Harness Distillation via Agent-as-Harnesscited by 3
  15. 2026Self-Evolving Coding Agentscited by 2
  16. 2026Ecdysis: Efficient and Effective Training of Runtime Harnesses for LLM Agentscited by 2
  17. 2026ModularRSI: Modular and Generalizable Recursive Harness Self-Improvementcited by 2
  18. 2026EvolveNet: Collaborative Harness Evolution for Agent Self-Improvementcited by 1
  19. 2026EvoHarness-RL: Learning Self-Evolving Runtime Harness for Long-Horizon LLM Agentscited by 1
  20. 2026Beyond Final Scores: A Systematic Evaluation of Agents for Long-Horizon AI Research and Developmentcited by 1
  21. 2026Training Agents to Evolve with Their Harness: TaoLive Digital Avatar Agent Technical Reportcited by 1
  22. 2026What is Missing from AI Post-Training AI: An Empirical Analysiscited by 1
  23. 2026Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligencecited by 1
  24. 2026Agents in the Large: Perception-Centered Architecture for Persistent Agentscited by 1
  25. 2026MetaRSI / RSI2: A Meta-Recursive Self-Improving System for Recursive Self-Improving Systems Themselvescited by 1
  26. 2026NeoHorse-1: Towards Recursive Self-Improvement via Agentic Post-Training with Routing Harnesscited by 1
  27. 2026RobustSGPO: Search-Space Control for Agent Harness Evolutioncited by 1
  28. 2026More Programs or More Rolls? Separating Coverage from Specialization in LLM Harnessescited by 1
  29. 2026Agent-Native Immune System: Architecture, Taxonomy, and Engineeringcited by 0
  30. 2026From Prompt to Harness: Coderlet from Scratchcited by 0
  31. 2026SBCO: Self-Supervised, Verifier-Grounded Harness Optimization For Planning Agentscited by 0
  32. 2026StateM: Reaching 95.3% Raw Accuracy, or a 15 Frontier Run, on Terminal-Bench 2.1 via Harness Scalingcited by 0
  33. 2026ReForge: Keeping ABR Algorithms Never Finished with Verified Large Language Model Editscited by 0
  34. 2026Competing at Every Price Point with Agentic Evolution over a Menu of LLMscited by 0
  35. 2026CTIFoundry: An Agent-Native Corpus Scaffold for Cyber Threat Intelligencecited by 0
  36. 2026EvoUndo: Recoverability-Constrained Self-Evolution for LLM Agent Harnessescited by 0
  37. 2026CordisBench: Can Language Models Reason About Component Lifecycles in Dynamic Agent Harnesses?cited by 0
  38. 2026EvoRS: On-Policy Self-Evolution of Reward Systems for Open-Ended Reinforcement Learningcited by 0

50 most cited of 79 All 79 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2026Rethinking the Evaluation of Harness Evolution for Agents
  2. 2026VERSE: Verified Self-Evolving Optimizer for Agent Harnesses
  3. 2026HarnessOpt-Bench: Evaluating LLMs at Harness Optimization
  4. 2026Harness-Bench: Measuring Harness Effects across Models in Realistic Agent Workflows
  5. 2026Complex Agents, Shallow Tests: Demystifying and Enhancing Test Adequacy of Agent Harness in the Wild
  6. 2026Harness Updating Is Not Harness Benefit: Disentangling Evolution Capabilities in Self-Evolving LLM Agents
  7. 2026Adapting the Interface, Not the Model: Runtime Harness Adaptation for Deterministic LLM Agents
  8. 2026Better Harnesses, Smaller Models: Building 90% Cheaper Agents via Automated Harness Adaptation