mlsanityData to 24 Nov 2026

Self-Evolving Coding Agents via Harness-Policy Optimization

arXiv 2610.22791 ↗Submitted 16 Oct 2026cs.CL cs.AIcited by 2

On the map: LLM agents and tool use → Reinforcement learning for LLM agents

also in 1 more
Abstract (arXiv)

Large language model (LLM) agents have shown promising potential in coding tasks, and their performance is jointly determined by the policy model and the harness that mediates their interaction with the environment. Indeed, harness and policy are mutually reinforcing and evolving only one component is suboptimal---a harness tuned for one checkpoint may not target the failure modes of an updated policy, while policy learning remains limited to the trajectories elicited by a fixed harness. In light of this, we propose Self-HPO, a recursive self-improving framework for coding agents that alternates harness and policy optimization, using the evolving policy as its own harness proposer. Specifically, in each round, the current policy first analyzes its own failures and proposes new harness candidates (H-step). The policy is then updated through reinforcement learning (RL) under the selected harness (P-step), and hard tasks identified during training form the next harness search set, keeping harness optimization targeted to the policy's evolving failure modes. Across three coding benchmarks, Self-HPO consistently outperforms harness-only and policy-only baselines, improving Qwen3.5-35B-A3B's average resolve rate from 57.8% to 64.8%, with gains generalizing to out-of-distribution settings. Further analysis shows that both optimized components retain gains even when paired with their base counterparts, while their joint gain exceeds the sum of their individual gains. Self-HPO also improves reliability (Pass@1) and expands the capability frontier (Pass@k) over the base agent. Additionally, we show that with a stronger external model (e.g., Opus 4.8) as the harness proposer, the same framework yields a further performance boost.

Key facts. Cited by 2 papers in the map (data through 24 Nov 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 96 of its 100 references that are in the map. Submitted 16 Oct 2026.

Builds on

96 of 100 references.

Closest ancestors · 4

Same direction, newest first

  1. 2026Harness-Zero: Harness Distillation via Agent-as-Harness21 Sep
  2. 2026EnvHarness: Awakening Static Worlds for Agent Learning20 Aug
  3. 2023Voyager: An Open-Ended Embodied Agent with Large Language Models25 May
  4. 2023Reflexion: Language Agents with Verbal Reinforcement Learning20 Mar

Other references · 92

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,938
  4. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,810
  5. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  6. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
  7. 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 2,232
  8. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
  9. 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,383
  10. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,372
  11. 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 1,078
  12. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 1,067
38 more
  1. 2022STaR: Bootstrapping Reasoning With Reasoningcited by 1,047
  2. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 908
  3. 2024Self-Rewarding Language Modelscited by 745
  4. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 711
  5. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 699
  6. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 619
  7. 2024Self-Play Fine-Tuning Converts Weak Language Models to Strong Language Modelscited by 595
  8. 2025Agentic Context Engineering: Evolving Contexts for Self-Improving Language Modelscited by 530
  9. 2024Automated Design of Agentic Systemscited by 507
  10. 2024AFlow: Automating Agentic Workflow Generationcited by 506
  11. 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 502
  12. 2024Agent Workflow Memorycited by 482
  13. 2024WebVoyager: Building an End-to-End Web Agent with Large Multimodal Modelscited by 473
  14. 2023Scaling Relationship on Learning Mathematical Reasoning with Large Language Modelscited by 471
  15. 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 415
  16. 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 414
  17. 2025Absolute Zero: Reinforced Self-play Reasoning with Zero Datacited by 399
  18. 2023Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Modelscited by 389
  19. 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 371
  20. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 363
  21. 2026SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learningcited by 335
  22. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 287
  23. 2025R-Zero: Self-Evolving Reasoning LLM from Zero Datacited by 275
  24. 2024Iterative Reasoning Preference Optimizationcited by 261
  25. 2025ShinkaEvolve: Towards Open-Ended And Sample-Efficient Program Evolutioncited by 222
  26. 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generationcited by 213
  27. 2026Agentic Harness Engineering: Observability-Driven Automatic Evolution of Coding-Agent Harnessescited by 199
  28. 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agentscited by 193
  29. 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agentscited by 183
  30. 2025WebAgent-R1: Training Web Agents via End-to-End Multi-Turn Reinforcement Learningcited by 182
  31. 2025Agent S2: A Compositional Generalist-Specialist Framework for Computer Use Agentscited by 171
  32. 2026Self-Harness: Harnesses That Improve Themselvescited by 158
  33. 2026Learning to Discover at Test Timecited by 134
  34. 2026Hyperagentscited by 80
  35. 2025ThetaEvolve: Test-time Learning on Open Problemscited by 72
  36. 2026HarnessX: A Composable, Adaptive, and Evolvable Agent Harness Foundrycited by 68
  37. 2025FlowReasoner: Reinforcing Query-Level Meta-Agentscited by 67
  38. 2026Meta Context Engineering via Agentic Skill Evolutioncited by 65

50 most cited of 92 All 92 (JSON)

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Where Does Harness-Optimization Value Live? Localized Gains and the Budget-Splitting Trap in Self-Evolving LLM Agents
  2. 2026HarnessFlow: MCTS-Guided Harness Optimization for LLM Agents
  3. 2026Learning from Research: Toward Lifelong Agent Harness Evolution
  4. 2026Harness Evolution as Learning: Approximation, Generalization, and Optimization Limits of Self-Improving Personal Agents
  5. 2026JoMoHa: Joint Model--Harness Optimization with Reinforcement Learning
  6. 2026LEGO-RL: Harness-Native Reinforcement Learning for Coding Agents
  7. 2026Evo-Bench: Can Language Models Improve Agent Harness?
  8. 2025A Self-Improving Coding Agent