OpenClaw-RL: Train Any Agent Simply by Talking
Yinjie Wang, Xuyang Chen, Xiaolong Jin, Mengdi Wang, Ling Yang · 2026 · 105 citationsRead the paper
Every agent interaction generates a next-state signal, namely the user reply, tool output, terminal or GUI state change that follows each action, yet no existing agentic RL system recovers it as a live, online learning source. We present OpenClaw-RL, a framework that employs next-state signals to optimize personal agents online through infrastructure and methodology innovations. On the infrastructure side, we extend existing RL systems to a server-client architecture where the RL server hosts the policy behind an inference API and user terminals stream interaction data back over HTTP. From each observed next state, the system extracts two complementary training signals, evaluative and directive, via a separate asynchronous server so that neither signal extraction nor optimization blocks inference. On the methodology side, we introduce a hybrid RL objective that unifies both signal types in a single update: directive signals provide richer, token-level supervision but are sparser, while evaluative signals are more broadly available. To stabilize distillation under teacher-student mismatch, we propose overlap-guided hint selection, which picks the hint whose induced teacher distribution maximally overlaps with the student's top-$k$ tokens, together with a log-probability-difference clip that bounds per-token advantages. Applied to personal agents, OpenClaw-RL enables an agent to improve simply by being used, recovering conversational signals from user re-queries, corrections, and explicit feedback. Applied to general agents, OpenClaw-RL is the first RL framework to unify real-world agent settings spanning terminal, GUI, SWE, and tool-call environments, where we additionally demonstrate the utility of next-state signals in long-horizon settings.
What the full text shows
Working prototype- Hybrid RL achieved the lowest number of sessions to align with user preferences across three personal agent roles. — 11.6 sessions (Student), 8.2 sessions (TA), 11.4 sessions (Teacher) vs. 15.4-34.0 for other methods (Simulated users (Qwen3-32B) interacting with Qwen3-4B-Thinking-2507 on GSM8K tasks)
- Jointly optimizing for multiple users simultaneously improves optimization efficiency compared to separate individual optimization. — Lower session counts in 'joint' column vs 'separate' column in Table 3 (Personal agent settings (Student, TA, Teacher))
- The framework successfully unifies RL across diverse agentic environments. (Terminal, GUI, SWE, and tool-call environments)
- Setup
- Models used include Qwen3-4B, Qwen3-8B, and Qwen3VL-8B; datasets include SETA RL, OSWorld-Verified, SWE-Bench-Verified, and DAPO RL data.
- How
- The framework uses a server-client architecture to stream interaction data via HTTP for online RL. It employs a hybrid RL objective combining dense scalar evaluative signals (from a PRM) and sparse token-level directive signals (via hint-conditioned distillation), stabilized by overlap-guided hint selection and log-probability-difference clipping.
- Limitations
- Susceptibility to poisoning from negative or adversarial user feedback · Privacy risks regarding the encoding of user-specific preferences and private information
Summarized by Gemma 4 from the open-access full text · 14 Nov 2026. Read it