ModHarness-RL: Recasting Harnesses as Learnable and Evolving Programs for Agentic RL
On the map: LLM agents and tool use → Reinforcement learning for LLM agents
Abstract (arXiv)
Agentic reinforcement learning (RL) increasingly relies on a harness, the scaffold around the model that decides what it sees of its own interaction and what guidance it receives. Most existing approaches train under a hand-written harness that stays fixed throughout. However, an effective harness depends on the domain, the data and the model, and keeps changing as the model trains. We introduce ModHarness-RL, which recasts the harness as programs that are learned from data and evolve as the model trains with RL. ModHarness-RL records the interaction as structured State, a set of typed blocks, and two core components of the harness are programs over these blocks, a Compression program that assembles the accumulated history into the model's context and a Steering program that supplies guidance when behavior deviates. During RL training, candidate programs are proposed from recent trajectories, verified by execution, and replayed over past trajectories, so the harness tracks how the model's behavior shifts. We study CodeSearch in depth and further analyze ALFWorld and BIRD SQL, with models from 1.5B to 8B. The proposed Compression and Steering mechanisms improve held-out performance over the fixed-harness baseline in most settings. These results suggest that a harness for agentic RL can be learned from the task's data and evolved with the model.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 32 of its 42 references that are in the map. Submitted 13 Nov 2026.
Builds on
32 of 42 references.
Closest ancestors · 5
Same direction, newest first
- 2026VACE: Validation-Gated Alternating Co-Evolution of Agent Models and Harnesses29 Sep
- 2025Agentic Policy Optimization via Instruction-Policy Co-Evolution1 Dec
- 2025Group-in-Group Policy Optimization for LLM Agent Training16 May
- 2025RAGEN: Understanding Self-Evolution in LLM Agents via Multi-Turn Reinforcement Learning24 Apr
- 2025ToolRL: Reward is All Tool Learning Needs16 Apr
Other references · 27
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 10,542
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,469
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,255
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 2,083
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,602
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,401
- 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,368
15 more
- 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 747
- 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 371
- 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 363
- 2026SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learningcited by 335
- 2025WebAgent-R1: Training Web Agents via End-to-End Multi-Turn Reinforcement Learningcited by 182
- 2025ReSum: Unlocking Long-Horizon Search Intelligence via Context Summarizationcited by 172
- 2025Reinforcement Learning for Self-Improving Agent with Skill Librarycited by 111
- 2025SQL-R1: Training Natural Language to SQL Reasoning Model By Reinforcement Learningcited by 78
- 2025Breaking the Exploration Bottleneck: Rubric-Scaffolded Reinforcement Learning for General LLM Reasoningcited by 70
- 2026SIA: Self Improving AI with Harness & Weight Updatescited by 40
- 2026HarnessForge: Joint Harness and Policy Evolution for Adaptive Agent Systemscited by 32
- 2026Co-Harness: Co-Evolving Harnesses and Model Weights for LLM Agentscited by 32
- 2026WHALE: A Simple Recipe for Joint Harness-Weight Optimizationcited by 23
- 2026CodeScout: An Effective Recipe for Reinforcement Learning of Code Search Agentscited by 12
- 2026SkillForge: Co-Evolving Skills and Agents via Dynamic Skill Lifecyclescited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Harness Scaling for Generalizable Agentic Reinforcement Learning
- 2026CoHARL: Co-Evolving Agent Policies and Executable Harnesses with Reinforcement Learning
- 2026Skill Reuse as Compression in Agentic RL
- 2026Agent Lightning v1.0: Towards Harnessed Agentic RL
- 2025Agent-R1: A Unified and Modular Framework for Agentic Reinforcement Learning
- 2026HarnessX: A Composable, Adaptive, and Evolvable Agent Harness Foundry
- 2026ClawGym II: Exploring Black-Box RL on Agent Harness
- 2026EvoHarness-RL: Learning Self-Evolving Runtime Harness for Long-Horizon LLM Agents