L0: Reinforcement Learning to Become General Agents

Junjie Zhang, Jingyi Xi, Zhuoyang Song, Junyu Lu, Yuhua Ke +5 more
6/30/2025
cs.CL

Official code: cmriat/l0 (363 stars, Apache-2.0, last commit 2025-07-04).

Abstract

Training large language models (LLMs) to act as autonomous agents for multi-turn, long-horizon tasks remains significant challenges in scalability and training efficiency. To address this, we introduce L-Zero (L0), a scalable, end-to-end training pipeline for general-purpose agents. Featuring a low-cost, extensible, and sandboxed concurrent agent worker pool, L0 lowers the barrier for applying reinforcement learning in complex environments. We also introduce NB-Agent, the agent scaffold within L0, which operates in a "code-as-action" fashion via a Read-Eval-Print-Loop (REPL). We evaluate L0 on factuality question-answering benchmarks. Our experiments demonstrate that a base model can develop robust problem-solving skills using solely Reinforcement Learning with Verifiable Rewards (RLVR). On the Qwen2.5-7B-Instruct model, our method boosts accuracy on SimpleQA from 30 % to 80 % and on HotpotQA from 22 % to 41 %. We have open-sourced the entire L0 system, including our L0 series models, the NB-Agent, a complete training pipeline, and the corresponding training recipes on (https://github.com/cmriat/l0).

View on arXivView PDF

Code Implementations(1)

cmriat/l0Official100%
Apache-2.0

A scalable, end-to-end training pipeline for general-purpose agents

36355PythonJun 28, 20251 years agoApache-2.0

Cite this paper

@article{zhang2025reinforcement,
  title  = {L0: Reinforcement Learning to Become General Agents},
  author = {Junjie Zhang and Jingyi Xi and Zhuoyang Song and Junyu Lu and Yuhua Ke and Ting Sun and Yukun Yang and Jiaxing Zhang and Songxin Zhang and Zejian Xie},
  year   = {2025},
  eprint = {2506.23667},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.23667v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.23667.svg)](https://codeofpaper.com/paper/2506.23667)

Discussion