OpenForgeRL: Train Harness-native Agents in Any Environment. Yu, X., Peng, B., Xu, R., Zou, H., Wu, Q., Cheng, H., Yao, W., Singh, N., Yu, Z., & Gao, J. arXiv preprint arXiv:2607.21557, 2026.
Paper abstract bibtex 1 download 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 and RL shape agent behavior.
@article{yu2026openforgerl,
title={OpenForgeRL: Train Harness-native Agents in Any Environment},
author={Yu, Xiao and Peng, Baolin and Xu, Ruize and Zou, Hao and Wu, Qianhui and Cheng, Hao and Yao, Wenlin and Singh, Nikhil and Yu, Zhou and Gao, Jianfeng},
journal={arXiv preprint arXiv:2607.21557},
year={2026},
url_Paper={https://arxiv.org/abs/2607.21557},
abstract={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 and RL shape agent behavior.}
}
Downloads: 1
{"_id":"KYAvoewjxYKo9L78z","bibbaseid":"yu-peng-xu-zou-wu-cheng-yao-singh-etal-openforgerltrainharnessnativeagentsinanyenvironment-2026","author_short":["Yu, X.","Peng, B.","Xu, R.","Zou, H.","Wu, Q.","Cheng, H.","Yao, W.","Singh, N.","Yu, Z.","Gao, J."],"bibdata":{"bibtype":"article","type":"article","title":"OpenForgeRL: Train Harness-native Agents in Any Environment","author":[{"propositions":[],"lastnames":["Yu"],"firstnames":["Xiao"],"suffixes":[]},{"propositions":[],"lastnames":["Peng"],"firstnames":["Baolin"],"suffixes":[]},{"propositions":[],"lastnames":["Xu"],"firstnames":["Ruize"],"suffixes":[]},{"propositions":[],"lastnames":["Zou"],"firstnames":["Hao"],"suffixes":[]},{"propositions":[],"lastnames":["Wu"],"firstnames":["Qianhui"],"suffixes":[]},{"propositions":[],"lastnames":["Cheng"],"firstnames":["Hao"],"suffixes":[]},{"propositions":[],"lastnames":["Yao"],"firstnames":["Wenlin"],"suffixes":[]},{"propositions":[],"lastnames":["Singh"],"firstnames":["Nikhil"],"suffixes":[]},{"propositions":[],"lastnames":["Yu"],"firstnames":["Zhou"],"suffixes":[]},{"propositions":[],"lastnames":["Gao"],"firstnames":["Jianfeng"],"suffixes":[]}],"journal":"arXiv preprint arXiv:2607.21557","year":"2026","url_paper":"https://arxiv.org/abs/2607.21557","abstract":"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 and RL shape agent behavior.","bibtex":"@article{yu2026openforgerl,\n title={OpenForgeRL: Train Harness-native Agents in Any Environment},\n author={Yu, Xiao and Peng, Baolin and Xu, Ruize and Zou, Hao and Wu, Qianhui and Cheng, Hao and Yao, Wenlin and Singh, Nikhil and Yu, Zhou and Gao, Jianfeng},\n journal={arXiv preprint arXiv:2607.21557},\n year={2026},\n url_Paper={https://arxiv.org/abs/2607.21557},\n abstract={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 and RL shape agent behavior.}\n}\n","author_short":["Yu, X.","Peng, B.","Xu, R.","Zou, H.","Wu, Q.","Cheng, H.","Yao, W.","Singh, N.","Yu, Z.","Gao, J."],"key":"yu2026openforgerl","id":"yu2026openforgerl","bibbaseid":"yu-peng-xu-zou-wu-cheng-yao-singh-etal-openforgerltrainharnessnativeagentsinanyenvironment-2026","role":"author","urls":{" paper":"https://arxiv.org/abs/2607.21557"},"metadata":{"authorlinks":{}},"downloads":1,"html":""},"bibtype":"article","biburl":"https://rick-xu315.github.io/assets/pub.bib","dataSources":["EqeiRs79xcAjEfgyn"],"keywords":[],"search_terms":["openforgerl","train","harness","native","agents","environment","yu","peng","xu","zou","wu","cheng","yao","singh","yu","gao"],"title":"OpenForgeRL: Train Harness-native Agents in Any Environment","year":2026,"downloads":1}