mlsanityData to 7 Oct 2026

Harness Learning Enables Generalizable Test-Time Adaptation

arXiv 2609.35738 ↗First posted 28 Sep 2026cs.CL cs.LGcited by 0

On the map: LLM agents and tool use → Reinforcement learning for LLM agents also fits: Agent skill learning and evolution

Abstract (arXiv)

A language-model agent is jointly defined by its model and its harness, the executable program that organizes model calls, tool use, and information flow. Because different tasks call for different ways of organizing these operations, the harness needs to be adapted using feedback from the task at hand. We introduce harness learning, which trains a proposer model to revise a solver's harness using execution feedback. We formulate this process as meta-learning over executable programs, with harness revisions playing the role of weight updates in gradient-based adaptation. We train the proposer with reinforcement learning, using the task performance of revised harnesses as the reward. At test time, the proposer uses feedback from successive executions on a new task to refine the harness, without performing any parameter-space update. Experiments on reasoning and multi-hop question answering show that harness learning improves revision quality and that the ability to adapt at test time transfers to unseen tasks. Policies trained on individual revisions can continue improving harnesses over multiple rounds, while the benefits of training on revision sequences vary across settings. These findings suggest a path towards continually learning agents that turn accumulated experience into generalizable improvements.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 41 of its 47 references that are in the map. First posted on arXiv 28 Sep 2026.

Builds on

41 of 47 references.

Closest ancestors · 4

Same direction, newest first

  1. 2026MAGE: Meta-Reinforcement Learning for Language Agents toward Strategic Exploration and Exploitation4 Mar
  2. 2026AutoHarness: improving LLM agents by automatically synthesizing a code harness10 Feb
  3. 2023Voyager: An Open-Ended Embodied Agent with Large Language Models25 May
  4. 2023Reflexion: Language Agents with Verbal Reinforcement Learning20 Mar

Other references · 37

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  2. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
  3. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  4. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  5. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  6. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  7. 2020Meta-Learning in Neural Networks: A Surveycited by 944
  8. 2022STaR: Bootstrapping Reasoning With Reasoningcited by 895
  9. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
  10. 2024Self-Rewarding Language Modelscited by 654
  11. 2016Learning to learn by gradient descent by gradient descentcited by 616
  12. 2016RL2: Fast Reinforcement Learning via Slow Reinforcement Learningcited by 490
25 more
  1. 2024AFlow: Automating Agentic Workflow Generationcited by 395
  2. 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 294
  3. 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 248
  4. 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generationcited by 128
  5. 2025REASONING GYM: Reasoning Environments for Reinforcement Learning with Verifiable Rewardscited by 121
  6. 2024WorldCoder, a Model-Based LLM Agent: Building World Models by Writing Code and Interacting with the Environmentcited by 99
  7. 2025Self-Adapting Language Modelscited by 71
  8. 2026EvoX: Meta-Evolution for Automated Discoverycited by 45
  9. 2026Rethinking the Evaluation of Harness Evolution for Agentscited by 39
  10. 2026Harness Updating Is Not Harness Benefit: Disentangling Evolution Capabilities in Self-Evolving LLM Agentscited by 28
  11. 2026SIA: Self Improving AI with Harness & Weight Updatescited by 18
  12. 2026HarnessCompass: Guiding Automatic Harness Evolution toward Generalizable and Effective Agent Harnessescited by 13
  13. 2026Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectoriescited by 13
  14. 2026TTHE: Test-Time Harness Evolutioncited by 12
  15. 2025Feedback Friction: LLMs Struggle to Fully Incorporate External Feedbackcited by 11
  16. 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolutioncited by 10
  17. 2026WHALE: A Simple Recipe for Joint Harness-Weight Optimizationcited by 9
  18. 2026RubricEM: Meta-RL with Rubric-guided Policy Decomposition beyond Verifiable Rewardscited by 8
  19. 2026Evo-Bench: Can Language Models Improve Agent Harness?cited by 8
  20. 2026Do Agent Optimizers Compound? A Continual-Learning Evaluation on Terminal-Bench 2.0cited by 6
  21. 2026The Last Harness You'll Ever Buildcited by 5
  22. 2025AdaptFlow: Adaptive Workflow Optimization via Meta-Learningcited by 4
  23. 2026AgentOdyssey: Open-Ended Long-Horizon Text Game Generation for Test-Time Continual Learning Agentscited by 3
  24. 2026Ecdysis: Efficient and Effective Training of Runtime Harnesses for LLM Agentscited by 2
  25. 2026Continual Learning Mechanisms Compose for Long-Horizon Memorizationcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Grow the Harness, Not the Context: From Strategy-Free Scaffolds to Reusable Specialist Agents
  2. 2026DemoEvolve: Overcoming Sparse Feedback in Agentic Harness Evolution with Demonstrations
  3. 2026PluginRSI: Recursive Improvement of Agent Harnesses with Reusable Plugins
  4. 2026HarnessForge: Joint Harness and Policy Evolution for Adaptive Agent Systems
  5. 2026Learning from Research: Toward Lifelong Agent Harness Evolution
  6. 2026Recursive Harness Self-Improvement
  7. 2026Verify Smarter, Evolve Further: Efficient Harness Evolution through Behavior-Aware Verification
  8. 2026Evo-Harness: Context-to-Harness Skill Compilation for Self-Evolving Agents