Lean4AgenticRL: Advancing Agentic RL with Verifiable Multi-level Process Rewards
On the map: LLM agents and tool use → Software engineering coding agents also fits: Reinforcement learning for LLM agents
Abstract (arXiv)
Enhancing the agentic capabilities of Large Language Models (LLMs) to tackle complex software engineering (SWE) and general terminal-usage problems is a pressing challenge. Current state-of-the-art LLMs often go through large-scale agentic Reinforcement Learning (RL). However, they mostly rely on high-level outcome rewards, with minimal consideration of low-level toolcall and mid-level workflow-stage rewards, which makes the training less effective. To overcome this limitation, we propose **Lean4AgenticRL**, which, to the best of our knowledge, is the first framework that grounds multi-level process rewards in the unified Lean4 formalization schema for open-ended agentic RL. **Lean4AgenticRL** first builds a *problem-specific workflow* system that balances the agent's own capability and controllability during execution, laying the foundation for further verification. Subsequently, our workflow formalization and multi-level reward annotation methods enable agent behavior verification within a general harness system. It provides multi-level rewards to support more effective agentic RL with the workflow-stage-normalized GRPO algorithm. Using **Lean4AgenticRL**, we train **LAR-9B/27B**, a family of models with enhanced agentic capability. Extensive experiments indicate that our model outperforms the leading model of similar size. **LAR-27B** achieves **77.3%** on TerminalBench-2.1. On average, our models outperform the base model by **9.89%** and surpass the second-best model of comparable size we know by **5.07%**. These results indicate the potential of integrating formal methods in enhancing open-ended agentic RL.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 36 of its 66 references that are in the map. Submitted 15 Oct 2026.
Builds on
36 of 66 references.
Closest ancestors · 5
Same direction, newest first
- 2026Lean4Agent: Formal Modeling and Verification for Agent Workflow and Trajectory2 Jun
- 2026AgentSPEX: An Agent SPecification and EXecution Language14 Apr
- 2026GLM-5: from Vibe Coding to Agentic Engineering17 Feb
- 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents26 May
- 2024Training Software Engineering Agents and Verifiers with SWE-Gym30 Dec
Other references · 31
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 3,138
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,602
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
- 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,281
- 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 1,106
- 2025Group-in-Group Policy Optimization for LLM Agent Trainingcited by 582
- 2025ToolRL: Reward is All Tool Learning Needscited by 395
- 2025DeepSeek-Prover-V2: Advancing Formal Mathematical Reasoning via Reinforcement Learning for Subgoal Decompositioncited by 335
- 2025DeepResearcher: Scaling Deep Research via Reinforcement Learning in Real-world Environmentscited by 311
19 more
- 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 287
- 2024VinePPO: Refining Credit Assignment in RL Training of LLMscited by 225
- 2025Kimina-Prover Preview: Towards Large Formal Reasoning Models with Reinforcement Learningcited by 203
- 2025WebAgent-R1: Training Web Agents via End-to-End Multi-Turn Reinforcement Learningcited by 182
- 2026OpenClaw-RL: Train Any Agent Simply by Talkingcited by 99
- 2025AgentPRM: Process Reward Models for LLM Agents via Step-Wise Promise and Progresscited by 90
- 2024TheoremLlama: Transforming General-Purpose LLMs into Lean4 Expertscited by 63
- 2025VeriGuard: Enhancing LLM Agent Safety via Verified Code Generationcited by 55
- 2025Agentic Reinforcement Learning with Implicit Step Rewardscited by 52
- 2026Tmax: A simple recipe for terminal agentscited by 47
- 2026Towards Verifiably Safe Tool Use for LLM Agentscited by 42
- 2024StepTool: Enhancing Multi-Step Tool Usage in LLMs via Step-Grained Reinforcement Learningcited by 27
- 2025MA-LoT: Model-Collaboration Lean-based Long Chain-of-Thought Reasoning enhances Formal Theorem Provingcited by 25
- 2026ToolGate: Contract-Grounded and Verified Tool Execution for LLMscited by 21
- 2026Verifiable Process Rewards for Agentic Reasoningcited by 16
- 2026Goedel-Code-Prover: Hierarchical Proof Search for Open State-of-the-Art Code Verificationcited by 15
- 2025GAR: Generative Adversarial Reinforcement Learning for Formal Theorem Provingcited by 8
- 2026Multi-Turn Reinforcement Learning for Tool-Calling Agents with Iterative Reward Calibrationcited by 8
- 2026PhysProver: Advancing Automatic Theorem Proving for Physicscited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Agent-RLVR: Training Software Engineering Agents via Guidance and Environment Rewards
- 2026AgenticQwen: Training Small Agentic Language Models with Dual Data Flywheels for Industrial-Scale Tool Use
- 2026Belayer: Efficient Fault Tolerance for LLM Agentic RL Training
- 2025Generalizable End-to-End Tool-Use RL with Synthetic CodeGym
- 2025VerlTool: Towards Holistic Agentic Reinforcement Learning with Tool Use
- 2025Agentic Reasoning and Tool Integration for LLMs via Reinforcement Learning
- 2026Beyond Static Evaluation: Building Simulation Environments for Scalable Agentic Reinforcement Learning
- 2026AstraFlow: Dataflow-Oriented Reinforcement Learning for Agentic LLMs