Agent Lightning v1.0: Towards Harnessed Agentic RL
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Modern agents operate inside agent harnesses that manage tools, context, and control flow, making the harness a critical part of the agent system. Our original Agent Lightning introduced a disaggregated architecture that connects arbitrary agents to RL training through an LLM endpoint proxy, an approach later adopted by frameworks such as verl Uni-Agent, AReaL 2.0, slime, and Polar. We refer to this paradigm as harnessed agentic RL, where the deploy-time harness directly participates in model post-training. Harnessed agentic RL differs fundamentally from traditional agentic RL: the harness, rather than the training engine, owns the environment interaction loop, while the trainer observes only sequences of LLM request-response pairs. This introduces challenges in retokenization, sample merging, advantage calculation, loss normalization, and backend scheduling, which can substantially affect training stability and effectiveness. We present Agent Lightning v1.0, a lightweight framework for harnessed agentic RL implemented in approximately 3,500 lines of code. It supports arbitrary agent harnesses and serves as a practical testbed for studying these challenges. We evaluate it on instruction-following, search, and coding agents, and provide a complete reproducible pipeline for coding-agent RL. Using only 6K training examples and modest compute, RL improves Qwen3.5-9B on SWE-bench Verified from 41.8% to 56.4%, a 14.6-point absolute gain. We release the complete workflow and training scripts to facilitate reproducible research on harnessed agentic RL.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 21 of its 33 references that are in the map. First posted on arXiv 18 Aug 2026.
Builds on
21 of 33 references.
Closest ancestors · 3
Same direction, newest first
- 2025SWE-smith: Scaling Data for Software Engineering Agents30 Apr
- 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents9 Apr
- 2024Training Software Engineering Agents and Verifiers with SWE-Gym30 Dec
Other references · 18
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2025Qwen3 Technical Reportcited by 8,820
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,444
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
6 more
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
- 2025AReaL: A Large-Scale Asynchronous Reinforcement Learning System for Language Reasoningcited by 250
- 2025Agent Lightning: Train ANY AI Agents with Reinforcement Learningcited by 109
- 2024Instruction Pre-Training: Language Models are Supervised Multitask Learnerscited by 63
- 2026Computer Environments Elicit General Agentic Intelligence in LLMscited by 11
- 2026Next-Generation Agentic Reinforcement Learning Systems Enable Self-Evolving Agentscited by 1
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026NeoHorse-1: Towards Recursive Self-Improvement via Agentic Post-Training with Routing Harnesscited by 4
- 2026Critical-State RL: Diagnosing Trainable States for Multi-Turn Tool Usecited by 0
- 2026RLHarness: Co-evolving Procedural Skills with Reinforcement Learning for Long-horizon Multimodal Reasoningcited by 0
- 2026SCLATE: a Substrate for Continual-Learning Agent Training and Evaluationcited by 0
- 2026QwenGyre: An Elastic Reinforcement Learning Framework for Training xLong-Horizon Agentscited by 0
- 2026Coding Agent Memory Post-training: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via Reinforcement Learningcited by 0
- 2026FromPitch2Board: Benchmarking LLM Agents in Long-Horizon Football Managementcited by 0
- 2026FromPitch2Board: Benchmarking LLM Agents in Long-Horizon Football Management28 Sep 2026
- 2026Coding Agent Memory Post-training: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via Reinforcement Learning28 Sep 2026
- 2026QwenGyre: An Elastic Reinforcement Learning Framework for Training xLong-Horizon Agents27 Sep 2026
- 2026SCLATE: a Substrate for Continual-Learning Agent Training and Evaluation26 Sep 2026
- 2026RLHarness: Co-evolving Procedural Skills with Reinforcement Learning for Long-horizon Multimodal Reasoning26 Sep 2026
- 2026Critical-State RL: Diagnosing Trainable States for Multi-Turn Tool Use21 Sep 2026
- 2026NeoHorse-1: Towards Recursive Self-Improvement via Agentic Post-Training with Routing Harness8 Sep 2026
Similar, not cited
Close in wording, no citation either way
- 2026HarnessBridge: Learnable Bidirectional Controller for LLM Agent Harness
- 2026Harness^2: Recursive Agent Harnessing for an Open World
- 2026EvoHarness-RL: Learning Self-Evolving Runtime Harness for Long-Horizon LLM Agents
- 2026Agent^2 RL-Bench: Can LLM Agents Engineer Agentic RL Post-Training?
- 2026HarnessOpt-Bench: Evaluating LLMs at Harness Optimization
- 2025SkyRL-Agent: Efficient RL Training for Multi-turn LLM Agent
- 2026Adapting the Interface, Not the Model: Runtime Harness Adaptation for Deterministic LLM Agents
- 2026Harness-R1: Learning to Edit Executable Runtime Harnesses from Agent Failure Trajectories