Claw-R1: A Step-Level Data Middleware System for Agentic Reinforcement Learning

Daoyu Wang, Mingyue Cheng, Qingchuan Li, Shuo Yu, Jie Ouyang +1 more
6/8/2026
1 citation
cs.LGcs.CL
rl

Official code: AgentR1/Claw-R1 (192 stars, Python, MIT, last commit 2026-06-09).

Abstract

Agentic reinforcement learning (RL) has become an important post-training paradigm for turning LLMs from static chatbots into interactive agents, giving rise to representative applications such as OpenClaw. Existing work mainly focuses on policy optimization algorithms and training frameworks, but pays less attention to the full data lifecycle of agent-environment interactions, from data production to training consumption.

Show full abstract

To bridge this gap, we present Claw-R1, an interactive step-level data middleware system for agentic RL. Claw-R1 connects heterogeneous agent runtimes with RL training backends through two core components: a Gateway Server and a Data Pool. The Gateway Server captures multi-turn interaction steps through a unified LLM API entry point, while the Data Pool organizes them into step-level records consisting of prompt IDs, response IDs, rewards and other metadata. In our demo, users can interactively inspect live trajectories, examine the state, action, and reward of each step, curate data by quality and readiness, and configure training-ready batches for different downstream RL algorithms. Overall, Claw-R1 treats agent interaction traces as managed data assets rather than temporary runtime logs. Through this demonstration, we hope to encourage the community to recognize the importance of data management in agentic RL. Our code is available at https://github.com/AgentR1/Claw-R1 and the demonstration video can be found at link https://youtu.be/Pw47dAOw6B0.

View on arXivView PDF

Code Implementations(1)

AgentR1/Claw-R1Official100%
MIT

Claw-R1: Empowering OpenClaw with Advanced Agentic RL.

1929Python, JavaScriptMar 3, 20265 months agoMIT
agentagentic-rlopenclaw

Similar Papers

Cite this paper

@article{wang2026clawr,
  title  = {Claw-R1: A Step-Level Data Middleware System for Agentic Reinforcement Learning},
  author = {Daoyu Wang and Mingyue Cheng and Qingchuan Li and Shuo Yu and Jie Ouyang and Qi Liu},
  year   = {2026},
  eprint = {2606.09138},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.09138v1}
}

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/2606.09138.svg)](https://codeofpaper.com/paper/2606.09138)

Discussion