Agent-R1: A Unified and Modular Framework for Agentic Reinforcement Learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Cheng, Mingyue, Yu, Shuo, Wang, Daoyu, Li, Qingchuan, Tao, Xiaoyu, Ouyang, Jie, Luo, Yucong, Zhou, Yitong, Liu, Qi, Chen, Enhong
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916069668552704
author Cheng, Mingyue
Yu, Shuo
Wang, Daoyu
Li, Qingchuan
Tao, Xiaoyu
Ouyang, Jie
Luo, Yucong
Zhou, Yitong
Liu, Qi
Chen, Enhong
author_facet Cheng, Mingyue
Yu, Shuo
Wang, Daoyu
Li, Qingchuan
Tao, Xiaoyu
Ouyang, Jie
Luo, Yucong
Zhou, Yitong
Liu, Qi
Chen, Enhong
contents Large language models (LLMs) have rapidly evolved from single-turn text generators into the foundation of increasingly capable agents. As these agents take on more complex reasoning, decision making, tool use, and long-horizon tasks, reinforcement learning (RL) is becoming increasingly important for shaping their behavior. This shift is especially visible in agentic RL, where models must interact with tools and environments across multiple rounds rather than produce a single standalone response. In this regime, the usual view of a trajectory as one ever-growing token sequence becomes increasingly inadequate: it makes context evolution rigid and creates representation mismatches between rollout and training. This paper presents Agent-R1, a unified and modular framework for agentic RL built around step-level trajectory representation, flexible context management, and layered interfaces for workflows, environments and optimization. The key idea is to treat each interaction step as the basic reinforcement-learning transition, while keeping the optimization layer flexible: once the interaction is modeled at the step level, the framework can support token-level credit assignment, step-level credit assignment, or other compatible designs. These design choices make the framework compatible with a range of optimization strategies rather than tying it to a single algorithm. Together, these components provide a principled, extensible, and reusable substrate for agentic RL.
format Preprint
id arxiv_https___arxiv_org_abs_2511_14460
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Agent-R1: A Unified and Modular Framework for Agentic Reinforcement Learning
Cheng, Mingyue
Yu, Shuo
Wang, Daoyu
Li, Qingchuan
Tao, Xiaoyu
Ouyang, Jie
Luo, Yucong
Zhou, Yitong
Liu, Qi
Chen, Enhong
Computation and Language
Large language models (LLMs) have rapidly evolved from single-turn text generators into the foundation of increasingly capable agents. As these agents take on more complex reasoning, decision making, tool use, and long-horizon tasks, reinforcement learning (RL) is becoming increasingly important for shaping their behavior. This shift is especially visible in agentic RL, where models must interact with tools and environments across multiple rounds rather than produce a single standalone response. In this regime, the usual view of a trajectory as one ever-growing token sequence becomes increasingly inadequate: it makes context evolution rigid and creates representation mismatches between rollout and training. This paper presents Agent-R1, a unified and modular framework for agentic RL built around step-level trajectory representation, flexible context management, and layered interfaces for workflows, environments and optimization. The key idea is to treat each interaction step as the basic reinforcement-learning transition, while keeping the optimization layer flexible: once the interaction is modeled at the step level, the framework can support token-level credit assignment, step-level credit assignment, or other compatible designs. These design choices make the framework compatible with a range of optimization strategies rather than tying it to a single algorithm. Together, these components provide a principled, extensible, and reusable substrate for agentic RL.
title Agent-R1: A Unified and Modular Framework for Agentic Reinforcement Learning
topic Computation and Language
url https://arxiv.org/abs/2511.14460