ClawGym II:黑盒 RL 训练智能体提升基准分数

Rohan Paul · @rohanpaul_ai · X·2026-08-22 22:28·1天前
AI 导读

ClawGym II 框架将 OpenClaw 或 Claude Code 作为黑盒纳入 RL 训练循环,无需访问其内部机制。通过 Qwen3-30A3B,该方法在 ClawGym-Bench Pass@1 上经 OpenClaw 提升 9.98 分、经 Claude Code 提升 14.81 分,混合训练亦有效,并扩展至 JobBench 和 OfficeQA。

Rohan Paul@rohanpaul_ai
37AI 编辑部评分,满分 100

ClawGym II:黑盒 RL 训练智能体提升基准分数

2026-08-22 22:28· 1天前
AI 导读

ClawGym II 框架将 OpenClaw 或 Claude Code 作为黑盒纳入 RL 训练循环,无需访问其内部机制。通过 Qwen3-30A3B,该方法在 ClawGym-Bench Pass@1 上经 OpenClaw 提升 9.98 分、经 Claude Code 提升 14.81 分,混合训练亦有效,并扩展至 JobBench 和 OfficeQA。

You can now RL-train an agent through the same complex harness it will actually run in, without needing access to the harness internals.

ClawGym II shows that Claude Code or OpenClaw can be treated as a black box and still become part of the RL training loop.

The framework runs OpenClaw or Claude Code unchanged inside sandboxes, intercepts model calls at the serving boundary, and rebuilds fragmented calls into prefix-tree trajectories that PPO or GRPO can optimize.

That lets the model learn through the harness without the training stack reproducing its tool routing, retries, context management, or subagents.

With Qwen3-30A3B, this raised ClawGym-Bench Pass@1 by 9.98 points through OpenClaw and 14.81 points through Claude Code.

Mix-harness training also worked: a policy trained from OpenClaw and Claude Code matched or slightly beat the corresponding single-harness models under both execution systems.

The paper also reports gains on JobBench and OfficeQA, so the setup extends beyond ClawGym-style tasks.

– arxiv. org/abs/2608.16798

Title: "ClawGym II: Exploring Black-Box RL on Agent Harness"