Attention Is All You Need
Ashish Vaswani, Noam Shazeer et al.
0
Citations
0
Influential Citations
—
Venue
2026
Year
Modern AI agents rely on elaborate inference harnesses such as Claude Code, Codex, and OpenClaw to drive multi-turn reasoning, tool use, and access to external systems. While powerful, these complex harnesses also make agents hard to train end-to-end with open infrastructure, whose SFT/RL stacks cannot natively express stateful, multi-process harness inference. To address this, we present OpenForgeRL, an open-source framework for training harness-based agents end-to-end in diverse environments. OpenForgeRL achieves this with a lightweight proxy that serves the harness's model calls while recording them as training data for a standard RL codebase (e.g., veRL), and a Kubernetes orchestrator that runs each rollout in its own remote container, together enabling training on any harness in any environment at scale. By decoupling training and inference, OpenForgeRL allows researchers to easily train, study, and improve agents directly in the real harnesses and environments they are deployed with. We validate our framework across diverse, complex harnesses and environments, spanning tool/claw-based agents and multimodal GUI browser- and computer-use agents. Using only hundreds to a few thousand tasks, OpenForgeClaw reaches 31.7 pass^3 and 55.9 pass@3 on ClawEval and 33.7 on QwenClawBench. OpenForgeGUI reaches 37.7 on OSWorld-Verified, 63.0 on Online-Mind2Web, and 72.3 on WebVoyager. Both outperform open baselines of similar size on nearly all benchmarks, and in the GUI setting match or surpass models several times larger. Beyond benchmarks, we analyze how harness choice (e.g., ZeroClaw, OpenClaw, Codex) and RL shape agent behavior. We find that some harnesses are substantially harder to learn than others, and that RL improves agentic reliability, such as self-verification, tool coverage, and completing multi-step plans, though critical abilities such as error recovery remain weak.
Modern AI agents increasingly rely on complex inference harnesses (e.g., Claude Code, Codex, OpenClaw) to orchestrate multi-turn reasoning, tool use, and external system access. However, these harnesses introduce a fundamental challenge: they are difficult to train end-to-end because existing open-source SFT/RL stacks cannot natively express the stateful, multi-process inference patterns they require. This gap means that most agent systems are either trained separately from their harness or not trained at all, limiting their ability to improve through reinforcement learning.
OpenForgeRL directly addresses this bottleneck by providing a lightweight, open-source framework that decouples training from inference. By doing so, it enables researchers to train agents directly within the exact harness and environment they will be deployed in, without needing to modify the harness itself. This is a practical and scalable solution that could democratize agent training, allowing smaller labs to experiment with and improve complex agent systems.
OpenForgeRL is validated on two challenging agent families: tool/claw-based agents and multimodal GUI agents. For claw-based agents, OpenForgeClaw achieves 31.7 pass^3 and 55.9 pass@3 on ClawEval, and 33.7 on QwenClawBench, outperforming open baselines of similar size. For GUI agents, OpenForgeGUI reaches 37.7 on OSWorld-Verified, 63.0 on Online-Mind2Web, and 72.3 on WebVoyager, matching or surpassing models several times larger. These results are achieved with only hundreds to a few thousand training tasks, demonstrating data efficiency.
OpenForgeRL fills a critical infrastructure gap in agentic AI research. By enabling end-to-end RL training on real harnesses, it allows researchers to study how harness design and RL interact—finding, for example, that some harnesses are substantially harder to learn than others, and that RL improves self-verification and tool coverage but not error recovery. This insight could guide future harness and training algorithm design. The open-source release lowers the barrier for entry, potentially accelerating progress in building more capable and reliable AI agents.
Ashish Vaswani, Noam Shazeer et al.
Jakubův, Jan, Chvalovský, Karel et al.
Pauli Virtanen, Ralf Gommers et al.
Tom B. Brown, Benjamin Mann et al.