Metraipolis › archive › dc_8e1ab4b658a3

ClawGym II: Exploring Black-Box RL on Agent Harness — arXiv:2608.16798

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.16798
License (as archived)
CC0-1.0
Archived
2026-10-18T18:07:32.972Z
SHA-256 of the archived text
97a42092e74f1d4bef46bcab882600f96a726d4e77a522c8ef3221cff393d1be
Stable URL of this page
https://metraipolis.com/documento/dc_8e1ab4b658a3

How to cite

ClawGym II: Exploring Black-Box RL on Agent Harness — arXiv:2608.16798 — arXiv (en), https://arxiv.org/abs/2608.16798 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_8e1ab4b658a3 (Metraipolis archive dc_8e1ab4b658a3, sha256 97a42092e74f1d4bef46bcab882600f96a726d4e77a522c8ef3221cff393d1be)
BibTeX
@misc{dc8e1ab4b658a3,
  title = {ClawGym II: Exploring Black-Box RL on Agent Harness — arXiv:2608.16798},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.16798},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_8e1ab4b658a3; sha256 97a42092e74f1d4bef46bcab882600f96a726d4e77a522c8ef3221cff393d1be},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.16798. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Agent harnesses have substantially improved performance on long-horizon tasks by coordinating agent interactions with the environment. However, reinforcement learning through complex harnesses remains largely unexplored, as scaling such training to long-horizon agent tasks introduces fundamental challenges. In this work, we present a unified black-box RL framework for stable and scalable optimization of general agents through complex harnesses. Concretely, we first build a sandbox-based execution infrastructure that isolates task environments and harnesses within temporary sandboxes for large-scale concurrent rollouts. We then decouple policy optimization from opaque harness execution and place a serving proxy at the model boundary to capture model calls. To reconstruct multi-turn trajectories and improve training efficiency, we organize the captured calls into prefix trees and further adapt both critic-based PPO and critic-free GRPO to optimize over the recovered tree structure. Meanwhile, we maintain training-inference consistency throughout the optimization process. Finally, we introduce mix-harness training, allowing a single model to be jointly optimized by heterogeneous harnesses. With Qwen3-30A3B, black-box RL improves Pass@1 on ClawGym-Bench by 9.98 and 14.81 points through OpenClaw and Claude Code, respectively, while remaining stable over 200-400 optimization steps. Moreover, the framework yields consistent gains on more challenging tasks such as JobBench and OfficeQA. Overall, our framework enables effective, stable, and scalable optimization of general agents through black-box harnesses, supporting unified training across heterogeneous execution systems.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-18 in cs.AI).
Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2608.16798 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-18T16:29:14.158Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-18?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).