推出 Harness 适配器:将你喜欢的模型适配到 Harness,以提升性能并降低成本
原题Introducing harness adapters: adapt your favorite model to your harness to improve performance and cost
读前速览
本文介绍 Harness 适配器——一种基于 LoRA 的强化学习微调方法,可针对特定智能体 Harness 优化语言模型;与基础模型相比,该方法在 Terminal-Bench 2.1 上实现了 52.5% 的 pass@1,工具调用次数减少了 47%。
Harness 适配器通过强化学习针对特定智能体 Harness 优化模型
通过在 Harness 环境中使用 AsyncGRPOTrainer 训练 LoRA 适配器,模型能够针对目标 Harness 获得更好的性能和效率。相比之下,通用模型无法充分发挥潜力,导致性能有所损失。
任务验证流程确保训练数据的高质量
作者使用 openenv validate 和难度检查,将 Hub 上的 1,127 个候选任务筛选为 278 个合格任务,确保任务能提供有意义的学习信号,而不是让基础模型总能解出或完全无法解出。
超级适配器将多个 Harness 适配器合并为一个模型
3 个 LoRA 适配器以权重 ½ 拼接后,在所有 Harness 上实现了 52.5% 的 pass@1,每项任务调用工具 25.9 次。这表明这些相互正交的更新能够有效组合,且不会彼此干扰。
训练使用 safeagents 防止有害行为
safeagents 插件会在训练期间阻止不当行为;随着优化步骤推进,被拦截的工具调用次数持续减少,表明模型的安全性逐步提升。
完整摘要
本文介绍 Harness 适配器,这是一种在特定智能体 Harness 中使用强化学习微调语言模型的方法,旨在同时提升准确性和效率。作者使用来自多个来源且经过验证的强化学习任务,针对 3 种 Harness(Pi、OpenCode、Hermes Agent)训练了 Qwen3.8-27B 的 LoRA 适配器。适配后的模型在 Terminal-Bench 2.1 上达到 48.8-55.2% 的 pass@1,每项任务平均调用工具 25.9-35.6 次,而基础模型为 49.2 次。将 3 种适配器合并而成的超级适配器,在所有 Harness 上实现了 52.5% 的准确率。训练流程使用了 AsyncGRPOTrainer、用于安全防护的 safeagents,以及多来源任务验证流程。
目录 · 20 节
模型并未针对所有框架以及你正在执行的任务进行全面优化,而是以通用性能为目标。因此,当你将模型与框架结合使用时,对于你实际执行的任务,就无法充分发挥性能和效率。借助强化学习,你可以训练一个定制的框架适配器,让模型在特定框架与任务组合中发挥出全部潜力。Models are not fully optimized for all harnesses and the tasks you’re doing. Instead, they target general performance. So when you combine a model and harness, you’re leaving performance and efficiency on the table for the stuff you’re actually doing. With RL, you can train a custom harness adapter that squeezes everything out of your model for your harness and task combination.
以 Qwen3.8-27B 为例,它在 Terminal-Bench 2.1 上使用 pi harness 时的得分为 39%,每个任务平均使用 2.9K 个 token。如果冻结这些权重,并添加一个定制的、经 RL 训练的 LoRA 适配器,就能将 pass@1 提升到 55%,平均 token 用量降至 1.5K。这主要是因为模型推理更少、调用工具更少,而且首次尝试的表现更好。Take Qwen3.8-27B, its Terminal-Bench 2.1 score with the pi harness is 39% which uses on average 2.9K tokens per task. If we freeze those weights and add a custom RL-trained LoRA adapter we can get 55% pass@1, with average token usage of 1.5K. Most of this is down to the model reasoning less, calling less tools, and performing better first time.
我们之前的工作(多框架强化学习、框架适配器)表明,针对你自己的任务分布、在你自己的运行框架中进行强化学习,能够得到更准确、更高效的模型。这些实验涵盖了数据分析和代码构建任务。在这里,我们希望进一步探索:这一结果是否也适用于 27B 模型,是否能在更困难的现实软件工程任务上成立,以及能否跨三个运行框架——Pi、OpenCode 和 Hermes Agent——得到验证。最重要的是,我们希望分享一套可完全复用的方案,让你能在自己的任务、框架和模型组合上复现这一成果。Our earlier work (multi-harness RL, harness adapters) showed that RL on your own task distribution, inside your own harness, gives a more accurate and more efficient model. Those experiments covered data-analysis and code-building tasks. Here we wanted to push this further by exploring whether the result holds at 27B, on harder real-world software engineering tasks, across three harnesses: Pi, OpenCode and Hermes Agent. And most of all, share a fully reusable recipe, so you can reproduce this on your own task, harness, model combinations.
简而言之 TL;DR
- 我们针对每种智能体运行框架(pi、Hermes Agent、OpenCode)分别训练了一个 Qwen3.8-27B 的 LoRA 适配器,并在框架内部进行 RL。We trained one LoRA adapter for Qwen3.8-27B per agent harness (pi, Hermes Agent, OpenCode), with RL inside the harness itself.
- 数据集、训练以及智能体的 rollout 都通过 TRL 的 AsyncGRPOTrainer、OpenEnv 和 harbor,在 Hub 的 Jobs 中完成。Datasets, training and agent rollouts all happen on the Hub in Jobs using TRL's
AsyncGRPOTrainer, OpenEnv and harbor. - 在两个基准测试中,每种 harness 适配器在各自的 harness 下,无论是性能还是效率,都优于基础模型。Each harness adapter beats the base model under its own harness on both benchmarks, for both performance and efficiency.
- 这三个 LoRA 还合并成了一个超级适配器,可在 pi、Hermes Agent 和 OpenCode 下无需修改即可运行。The three LoRAs are also merged into a single super adapter that runs unchanged under pi, Hermes Agent and OpenCode.
- 所有工件(适配器、GGUF、RL 任务、safeagents 插件)都可以通过这个 Hugging Face 集合浏览。All artifacts (adapters, GGUFs, RL tasks, safeagents plugin) can be browsed through this Hugging Face collection.
在智能体运行框架内训练 Training inside agent harnesses
我们利用 OpenEnv 中的 Harbor 集成以及 TRL 的 OpenEnv 指南,在我们为最终训练选定的各个 harness 中训练模型。我们已为所有 RL 任务构建了开箱即用的 Docker 镜像,其中预先安装了目标 harness。在最终的 Docker 镜像中,我们使用 Pi 1.5.2、OpenCode 2.2.7 和 Hermes Agent v0.22.6。下图摘自前文提到的博客文章,清晰地解释了整个流程:We leverage the Harbor integration in OpenEnv and TRL’s OpenEnv guide to train the model inside the harnesses we chose for the final training. We have built ready-to-use docker images for all our RL tasks that come with the target harnesses already pre-installed inside. In our final docker images, we use Pi 1.5.2, OpenCode 2.2.7 and Hermes Agent v0.22.6. The diagram below from the aforementioned blogpost explains well the entire protocol:
大多数 RL 框架训练的都是 agent loop 的重新实现:agent 按照框架自有的接口编写,例如 verl 的 AgentLoop、SkyRL-Gym 环境、rLLM 的 agent 和环境类、slime 的自定义 rollout 函数,或你自己的 Python agent 中的 ART 客户端。在这种方式下,harness 完全按照发布时的原样运行,训练器则从它实际生成的 token 中学习,这些 token 由 harness 与 vLLM 之间的代理记录下来。近期的工作也朝着同一方向发展:Agent Lightning v1.0 通过代理让部署时的 harness 保持在环路中(“harness 化的 agentic RL”);SkyRL 的 Harbor 集成则基于 Harbor 试验进行训练,并将其中的聊天历史转换为 token,供训练器使用。Most RL frameworks train a re-implementation of the agent loop: the agent is written against the framework's own interface, such as verl's AgentLoop, SkyRL-Gym environments, rLLM's agent and environment classes, slime's custom rollout functions, or ART's client inside your own Python agent. Here the harness runs exactly as it ships, and the trainer learns from the exact tokens it produced, recorded by a proxy between the harness and vLLM. Recent work moves in the same direction: Agent Lightning v1.0 keeps the deploy-time harness in the loop through a proxy ("harnessed agentic RL"), and SkyRL's Harbor integration trains on Harbor trials, converting their chat histories into tokens for the trainer.
在 Hugging Face 上生成自定义强化学习任务 Generating custom RL tasks on Hugging Face
在这个配方中,我们使用 Hub、OpenEnv 和 Repo2RLEnv,为智能体编程创建了一个定制数据集。我们将现有强化学习环境中的任务检索、使用 Repo2RLEnv 生成任务、使用 OpenEnv 验证任务,以及采样整合到一个数据管道中。由此,我们构建出一组质量最高、经过验证且与任务相关的数据,用于提升 Qwen3.8-27B 的智能体编程能力。在本节中,我们将介绍如何构建这个数据管道,方便你在自己的领域中尝试。For this recipe we created a custom dataset for agentic coding with the Hub, OpenEnv, and Repo2RLEnv. We combined together task retrieval of existing RL envs, task generation with Repo2RLEnv, task validation with OpenEnv, and sampling into a single data pipeline. This gave us the highest quality set of validated and relevant tasks to improve Qwen3.8-27B on agentic coding. In this section, we’ll walk through how we built it, so you can try it out on your own domains.
强化学习训练需要一些智能体可以尝试的任务、一个为每次尝试评分的验证器,以及验证器判断正确的证据。如果验证器接受错误答案,就会教会模型错误的行为。如果任务本来就能轻松完成,就无法教会模型任何东西。RL training needs tasks the agent can attempt, a verifier that scores each attempt, and evidence that the verifier is right. A verifier that accepts wrong answers teaches the wrong behavior. A task that is already feasible will not teach the model anything.
本节介绍了我们如何从三个来源构建任务集:其中两个来自 Hugging Face Hub,第三个则由 Repo2RLEnv 中的流水线 Tasksmith 生成。每个任务都通过 openenv validate 进行资格筛选,并使用基础模型 Qwen3.8-27B 接受相同的难度检查。This section describes how we built the task set from three sources: two on the Hugging Face Hub and a third generated with Tasksmith, a pipeline in Repo2RLEnv. Every task passes an eligibility screen with openenv validate, and the same difficulty check against the base model, Qwen3.8-27B.

三个来源 Three sources
每项任务都采用 Harbor 格式,Terminal-Bench 2.1 也使用这种格式。对 Hub 中的 Harbor 环境进行广泛搜索后,我们找到了约 59,000 项任务,但其中包含重复项、评估集以及标记为不可用于训练的任务。我们筛选出两个专为训练构建的 Hub 来源,并自行生成了第三组:Each task uses the Harbor format, which Terminal-Bench 2.1 also uses. A broad search of the Hub for Harbor environments returned about 59,000 tasks, but they included duplicates, evaluation sets and tasks marked as not for training. We filtered down to just two Hub sources built for training and generated a third set ourselves:
- SWE-smith(Python、Go)会向真实的 Python 和 Go 代码库中注入错误,方式包括由 LLM 重写代码或进行诸如翻转运算符之类的变异。能够捕获每个错误的测试会成为该任务的测试。它扩大了数据规模。
- SWE-Gym 以 TaskTrove 中 Harbor 任务的形式打包,将真实的 GitHub 问题及其已合并的修复转化为任务,从而引入真实世界的 bug。SWE-Gym, packaged as Harbor tasks in TaskTrove, turns real GitHub issues and their merged fixes into tasks. It adds real-world bugs.
- Tasksmith 根据已合并的拉取请求生成任务。LLM 代理会编写指令和测试,Tasksmith 则检查结果:参考实现和有效的替代方案必须通过测试,而未修复的代码和已知错误的解决方案必须无法通过测试。Tasksmith generates tasks from merged pull requests. An LLM agent writes the instruction and tests, and Tasksmith checks the result: the reference and a valid alternative must pass, while the unfixed code and a known-wrong solution must fail.
我们使用 Tasksmith 针对能力短板进行训练。我们梳理了目标基准测试所考查的技能(Terminal-Bench 2.1、SWE-bench Pro 的困难子集和 DeepSWE),随后挑选了能够锻炼这些技能的拉取请求,例如 HTTP 流式传输、文件系统操作和序列化。在 30 个已合并的拉取请求中,Tasksmith 在 10 个 Python 仓库里生成了 24 个通过其检查的任务,其中 17 个在第二次运行时通过。Tasksmith 的检查不能取代我们的检查,因此这些任务会和其他任务一样经过相同的流水线。We used Tasksmith to target gaps. We mapped the skills that our target benchmarks test (Terminal-Bench 2.1, the hard subset of SWE-bench Pro, and DeepSWE), then chose pull requests that exercise them, such as HTTP streaming, filesystem operations and serialization. From 30 merged pull requests, Tasksmith produced 24 tasks in 10 Python repositories that passed its checks, 17 of them on a second run. Its checks do not replace ours, so these tasks go through the same pipeline as the rest.
使用 openenv validate 进行验证 Validation with openenv validate
首先进行元数据筛选,保留训练拆分中采用宽松许可证的任务。筛选会剔除重复项、标记为不可用于训练的任务、目标基准中的 253 个任务,以及来自这些基准所用仓库的任何任务。随后,我们在全新的试验中对每个任务运行了 openenv validate 的语义检查:A metadata screen runs first. It keeps tasks from training splits with permissive licenses. It drops duplicates, tasks marked as not for training, the 253 tasks in our target benchmarks, and any task from a repository those benchmarks use. We then ran the semantic checks from openenv validate on every task in fresh trials:
- 参考解决方案获得最高奖励(semantic.oracle_max)。The reference solution earns the maximum reward (
semantic.oracle_max). - 什么都不做的得分明显更低(semantic.floor_gap)。Doing nothing scores clearly lower (
semantic.floor_gap). - 没有任何金丝雀的得分高于什么都不做(semantic.canary_floor)。No canary scores more than doing nothing (
semantic.canary_floor). - 重放参考内容会得到相同的奖励(runtime.episode_determinism)。A replay of the reference gives the same reward (
runtime.episode_determinism).
每次试验都作为独立的 Hugging Face Job 运行,这让我们能够一次验证数十项任务。openenv validate 为任何 Harbor 任务提供了相同的选项:Each trial ran as its own Hugging Face Job, which let us validate dozens of tasks at once. openenv validate offers the same option for any Harbor task:
openenv validate path/to/task --sandbox hf-sandbox
1,127 个 Hub 候选项中有 858 个通过。错误答案测试发现了缺陷,包括一个会接受不完整实现的 Tasksmith 任务,以及一个会接受已知错误答案的 Terminal-Bench 2.1 验证器(regex-log)。大多数失败都由基础设施问题导致,例如镜像无法启动。失败的任务会保留在拒绝集划分中,并记录未通过的检查项。858 of 1,127 Hub candidates passed. Wrong-answer controls caught defects, including a Tasksmith task that accepted an incomplete implementation and a Terminal-Bench 2.1 verifier (regex-log) that accepted known-wrong answers. Most failures were infrastructure problems, such as images that did not start. Failed tasks stay in a rejected split with the failing check recorded.
使用基础模型进行难度检查 Difficulty check with the base model
有效任务仍可能毫无学习价值。GRPO(组相对策略优化)会将每次尝试与同一任务的其他尝试进行比较并评分,因此,如果某项任务的所有尝试都通过,或都失败,就不会产生学习信号。训练前,Qwen3.8-27B 对每项任务尝试了 4 次;对于每个仓库中分层抽样选出的 6 项任务,则各尝试了 8 次。A valid task can still teach nothing. GRPO (group relative policy optimization) scores each attempt against the other attempts at the same task, so a task where every attempt passes, or every attempt fails, gives no learning signal. Before training, Qwen3.8-27B attempted each task 4 times, or 8 times for a stratified sample of six tasks per repository.
在 442 个评分任务中,Qwen3.8-27B 每次都能解决 151 个,从未解决过 120 个。它有时能解决的 171 个任务构成了合格集。下图展示了得分如何集中在两端,以及不同来源的任务有何差异。该模型每次都能解决大多数 Go 任务;在超过三分之一的 SWE-smith Python 任务中,它每次尝试都失败;而在 73% 的 SWE-Gym 任务中,它的表现处于中间水平。Of 442 scored tasks, Qwen3.8-27B solved 151 every time and 120 never. The 171 tasks it solved only sometimes form the qualified set. The figure below shows how the scores pile up at both ends and how they differ by source. The model solves most Go tasks every time, fails every attempt on more than a third of the SWE-smith Python tasks, and lands in the middle on 73% of the SWE-Gym tasks.

Qwen3.8-27B 在 442 项评分任务上的结果。绿色表示已达标的任务,即模型有时能解出,但并非每次都能解出。Qwen3.8-27B results on 442 scored tasks. Green marks the qualified tasks, which the model solves on some attempts but not all.
本示例展示了我们如何对 1,127 个任务进行筛选和验证,最终选出 278 个任务直接纳入最终数据集。随后,流水线使用 Tasksmith 修复并增加了其余 522 个被拒绝任务的复杂度,并再次进行验证。This example shows how we filtered and validated 1,127 tasks to 278 which we included directly in the final dataset. The pipeline then took the remaining 522 rejected tasks, repaired and complexified them with Tasksmith and repeated validation.
使用短时间训练运行测试过滤器 Testing the filters with short training runs
该流水线应用了两种筛选:验证会剔除有问题的任务,难度检查则保留基础模型有时能解出的任务。本节将测试这些筛选是否会改变模型学到的内容。我们进行了四次短期训练,每次最多 50 步,分别使用流水线不同阶段的任务,并将训练结果与基础模型在 Terminal-Bench 2.1 上的表现进行了比较。The pipeline applies two filters: validation removes broken tasks, and the difficulty check keeps tasks the base model solves only sometimes. This section tests whether those filters change what the model learns. We trained four short runs of up to 50 steps, each on tasks from a different stage of the pipeline, and compared them with the base model on Terminal-Bench 2.1.
每次运行都使用 LoRA 和 GRPO,通过 TRL 的 AsyncGRPOTrainer,在 32 项任务上训练 Qwen3.8-27B。四次运行使用相同的智能体框架(OpenCode,最多调用模型 48 次)、相同的设置和一台 8×H200 Hugging Face 作业;奖励则取决于验证器判定通过还是失败。各次运行的任务集筛选方式不同:Each run trains Qwen3.8-27B with LoRA and GRPO, using TRL's AsyncGRPOTrainer, on 32 tasks. All four use the same agent harness (OpenCode with up to 48 model calls), the same settings and one 8×H200 Hugging Face Job, and the reward is the verifier's pass or fail. The task sets differ in how they were filtered:
- 未验证:24 个任务已接受,另有 8 个未通过验证。Unvalidated: 24 accepted tasks plus 8 that failed validation.
- 已验证:已接受 32 个任务,选择时未考虑难度。Validated: 32 accepted tasks, chosen without regard to difficulty.
- 未限定:32 个已接受的任务,基础模型总是能解决或从不解决。Unqualified: 32 accepted tasks that the base model always or never solves.
- 合格:基础模型在某些尝试中能够解决的 32 项已接受任务。Qualified: 32 accepted tasks that the base model solves on some attempts.
下图展示了这些任务对模型学习的影响。表格列出了每次运行的步数以及我们评估的检查点。图表追踪了不同验证状态的任务子集的训练奖励。The figure below shows how the tasks impacted model learning. The table lists each run's steps and the checkpoint we evaluate. The chart tracks training reward across subsets of tasks with differing validation status.
数据集 The dataset
harness-hub/agentic-coding-envs 收录了来自 35 个代码库的 871 个任务。Hub 中每个代码库的任务数上限为 40 个,因此不会有任何单个项目占据主导地位。下表展示了各来源的贡献。该数据集有两个视图:所有已接受的任务,以及用于 GRPO 训练的合格子集。被拒绝的尝试会保存在单独的配置中。harness-hub/agentic-coding-envs holds 871 tasks from 35 repositories. Hub tasks are capped at 40 per repository, so no single project dominates. The table below shows what each source contributes. The dataset has two views: every accepted task, and the qualified subset for GRPO training. Rejected attempts stay in a separate config.
| Source | Task type | Tasks | Qualified |
|---|---|---|---|
| SWE-smith | Injected bugs in Python and Go | 717 | 144 |
| SWE-Gym (TaskTrove) | Real GitHub issues | 130 | 27 |
| Tasksmith | Generated from merged pull requests | 24 | 22 |
| Total | 871 | 171 |
用于更高效 GRPO 训练的 AsyncGRPOTrainer AsyncGRPOTrainer for more efficient GRPO training
我们采用了 TRL 中稳定版的 AsyncGRPOTrainer。该训练器的主要优势在于,无需等到所有 rollout 全部完成,就可以进入下一步训练优化。We leveraged the stable version of AsyncGRPOTrainer from TRL, with the main advantage of the trainer being that it does not wait until all rollouts are completed before moving to the next training optimization step.
如需更详细地了解训练器及其构建模块,请参阅 AsyncGRPO 博客文章。For more detailed reading on the trainer and its building blocks, please refer to the AsyncGRPO blogpost.
训练设置 Training setup
为了获得最终的 harness 适配器,我们使用 TRL 的 AsyncGRPOTrainer,在 Qwen/Qwen3.8-27B 的基础上训练了 LoRA 适配器。我们使用 all-linear 标志将适配器挂载到模型上。为了最大限度地提高训练效率,我们在 rollout 阶段关闭了思考模式,并在开启和关闭思考模式两种情况下评估最终适配器,以便进行更广泛的比较。To obtain our final harness adapters, we trained LoRA adapters on top of Qwen/Qwen3.8-27B using TRL's AsyncGRPOTrainer. The adapters were attached to the model using the all-linear flag. To maximize the training efficiency, thinking mode was turned off during rollout stages, and we evaluated our final adapter with and without thinking for broader comparison.
最终奖励函数由验证器的正确性得分以及一项较小的工具效率奖励(0.1)组成;这一数值取自上一版 harness 适配器的早期实验,结果显示 0.1 的效果最佳。The final reward function consists of the verifier's correctness, combined with a small tool-efficiency bonus (0.1, derived from early experiments from the previous iteration of harness adapters which showed that 0.1 worked best).
我们在 Termgrade 环境中进行了小规模学习率扫描,训练了 50 步(学习率分别为 1e-5、5e-5 和 1e-4),发现 1e-5 几乎没有改变训练正确率(从 0.52 降至 0.50);1e-4 不但没有改善效果,反而导致 rollout 崩溃(每次 rollout 的轮次数从 18 降至 6,同时熵上升);只有 5e-5 带来了明显提升(截至第 40 步,从 0.49 提升至 0.60)。随后,较长时间运行 5e-5 时出现了不稳定迹象(rollout 长度不断缩短、熵持续上升),因此我们最终将正式运行的学习率定为 2e-5。We performed a small LR sweep on 50 steps using Termgrade environments (1e-5, 5e-5 and 1e-4) and noticed that 1e-5 barely moved training correctness (from 0.52 to 0.50), 1e-4 collapsed the rollouts instead of improving them (turns per rollout moved from 18 to 6, with entropy rising), and only 5e-5 clearly improved (from 0.49 to 0.60 by step 40). Longer 5e-5 runs then showed signs of instability (collapsing rollout lengths, rising entropy), so we settled on 2e-5 for the final runs.
训练基础设施 Training infrastructure
每个 harness 适配器均使用 NVIDIA 2xB200 GPU 进行训练,其中一块 GPU 分配给 vLLM 服务器,另一块分配给训练进程。我们首先进行了一些压力测试,以尽可能提高单个优化步骤中可训练的 RL 任务数量。为此,我们将 AsyncGRPOTrainer 的 --token-budget 参数调至当前配置所能达到的上限。下图展示了每种 harness 每步的组数变化情况(蓝色:Pi,绿色:OpenCode,橙色:Hermes)。Each harness adapter was trained using NVIDIA 2xB200 GPUs, with one GPU allocated for the vLLM server and the other allocated for the training process. We first performed some stress testing to maximize the amount of RL tasks that can be trained within a single optimization step. For that, we ‘maxed out’ the --token-budget argument from AsyncGRPOTrainer to its limit for the setup that we had. The chart below shows the evolution of the number of groups per step for each harness (in blue: Pi, green: OpenCode and orange: Hermes).
随着模型在训练过程中不断变得更好,它能够在每个训练步骤中拟合越来越多的组,从而使模型在每次优化步骤中获得的信号更加多样化。As the model gets better and better during training, it is able to fit more and more groups during each training step, which diversifies the signals that the model gets at each optimization step.
最终混合物 Final mixture
最终的数据混合包含来自 harness-adapters RL 环境的 750 个任务,以及来自 termgrade 的 300 个任务。为了在训练过程中最大限度地提高采样任务的多样性,我们对数据采样策略进行了少量定制,具体说明如下:The final data mixture consists of 750 tasks from harness-adapters RL environments and 300 tasks from termgrade. In order to maximize the diversity of the sampled tasks during training, we have slightly customized the data sampling strategy, which will be explained below:
训练前,会将任务按固定顺序排列,并按所属系列交错编排(对于我们生成的 RL 环境,系列即其代码仓库。对于 Termgrade,由于每个任务都被视为独立系列,因此我们只按名称排序),这样每个训练步骤都会尽可能混合多个代码仓库,同时遵循混合数据的分布。Before training, the tasks are put in a fixed order that interleaves them by family (i.e., their repository for our generated RL environments. For Termgrade, we just sorted them by name since each task is considered as its own family), so every training step mixes as many repositories as possible while following the distribution of the mixture.
SafeAgents 处于循环中 safeagents in the loop
我们还接入了 safeagents 工具,以阻止模型在训练期间出现任何不当行为。最终插件(由针对 RL 任务和测试路径的正则表达式及模式规则组成)托管在 harness-hub/qwen-safeagents-plugin 中。若有人想复现该训练配置,可以直接使用最新版 safeagents。We also plug the safeagents tool, in order to block any misbehavior from the model during training. The final plugin (which consists of the regex and pattern rules specific to the RL tasks and test path) is hosted in harness-hub/qwen-safeagents-plugin and can be used out of the box using the latest version of safeagents in case anyone wants to reproduce the training setup.
在训练过程中,被 safeagents 拦截的工具数量持续减少,这表明模型在每次优化后都变得“越来越安全”。下图展示了各个 harness 适配器在不同训练步骤中,每 1000 次工具调用被 safeagents 拦截的调用次数。The number of blocked tools from safeagents decreases consistently during training, which indicates that the model gets ‘safer and safer’ after each optimization step. Below is a diagram of the safeagents blocked calls per 1000 tool calls, by training step, for each harness adapter.

超级适配器:将所有适配器合并为一个 Super-adapter: merging all adapters into one
模型合并通常能结合各模型的能力,同时保留它们各自的大部分能力。训练好三个 harness 适配器后,我们提出了两个问题:合并会损失准确率吗?单个“超级适配器”能否在每种 harness 下都兼具准确性和效率?Merging models often combines their capabilities while keeping most of what each one could do. Once the three harness adapters were trained, we asked two questions. Does merging them cost accuracy? And can a single "super-adapter" be accurate and efficient under every harness?
我们首先逐层比较了这三个适配器的权重更新。任意两个适配器之间的余弦相似度约为 0.01–0.02:训练过程中,每个适配器都几乎沿着彼此正交的方向推动模型。这是合并适配器最理想的情况,因为各自的更新几乎不会相互干扰。We started by comparing the weight updates of the three adapters, layer by layer. The cosine similarity between any two of them is about 0.01–0.02: each adapter pushed the model in a nearly orthogonal direction during training. That's the best case for merging, since the updates barely interfere.
我们沿秩维度拼接这三个 LoRA 适配器(PEFT 的 combination_type="cat")。合并后的适配器秩为 96(3 × 32),其作用恰好等于 w · (ΔW_pi + ΔW_hermes + ΔW_opencode)。关于合并的先前研究(task arithmetic、TIES、KnOTS)发现,将每个更新的缩放系数设为小于 1 的值效果最佳,因此我们使用 step-120 适配器,在每种执行框架下的全部 89 项 Terminal-Bench 2.1 任务上比较了三种权重:We concatenate the three LoRA adapters along the rank dimension (PEFT's combination_type="cat"). The merged adapter has rank 96 (3 × 32) and applies exactly w · (ΔW_pi + ΔW_hermes + ΔW_opencode). Prior work on merging (task arithmetic, TIES, KnOTS) finds that scaling each update below 1 works best, so we compared three weights on all 89 Terminal-Bench 2.1 tasks, under each harness, with the step-120 adapters:
- ⅓(平均值):每个 harness 只保留自身更新的三分之一。⅓ (the average): each harness keeps only a third of its own update.
- ½:每次更新的强度减半。½: each update at half strength.
- 1(简单求和):每次更新都完整应用。1 (the plain sum): every update applied in full.
| Weight | pi | hermes | opencode | All three harnesses | Tool calls per task |
|---|---|---|---|---|---|
| base model | 39.1% | 46.0% | 44.8% | 43.3% | 49.2 |
| ⅓ (average) | 49.4% | 51.2% | 47.1% | 49.2% | 35.6 |
| ½ | 48.8% | 53.5% | 55.2% | 52.5% | 25.9 |
| 1 (sum) | 40.2% | 62.8% | 47.1% | 50.0% | 13.4 |
直接求和会导致更新过度应用。智能体的任务执行变得非常短(每项任务调用工具 13 次,而基础模型为 49 次);虽然 Hermes 的峰值达到 62.8%,pi 却退回到基础模型的水平。取平均会削弱每个 harness 自身更新的效果。½ 带来了最佳平衡,因此我们使用已发布的检查点(pi 第 160 步、hermes 第 160 步、opencode 第 150 步),以 ½ 的权重构建了最终的 super-adapter。The plain sum over-applies the updates. The agents become very short (13 tool calls per task, against 49 for the base model), and while Hermes peaks at 62.8%, pi falls back to the base model's level. The average dilutes each harness's own update. ½ gives the best balance, so we built the final super-adapter from the released checkpoints (pi step 160, hermes step 160, opencode step 150) at weight ½.
适配器合并评估结果 Adapter merging evaluation results
在各测试框架下,针对每次运行都进行评分的任务(SWE-bench Pro 上为 50–51,Terminal-Bench 2.1 上为 82–85),每个任务尝试一次(括号内为相对于基础模型的效率提升):Under each harness, on the tasks every run graded (50–51 on SWE-bench Pro, 82–85 on Terminal-Bench 2.1), one attempt per task (in parentheses, the efficiency gain with respect to the base model):
| Harness | Benchmark | Qwen3.8-27B | Qwen3.8-27B-<harness>-adapted | Qwen3.8-27B-super-adapter | Qwen3.8-27B, thinking | Qwen3.8-27B-super-adapter, thinking |
|---|---|---|---|---|---|---|
| pi | SWE-bench Pro (hard 51) | 40.0% | 64.0% (−60%) | 46.0% (−73%) | 74.0% | 74.0% (−48%) |
| hermes | SWE-bench Pro (hard 51) | 29.4% | 43.1% (−56%) | 47.1% (−60%) | 45.1% | 60.8% (−36%) |
| opencode | SWE-bench Pro (hard 51) | 35.3% | 51.0% (−72%) | 45.1% (−63%) | 47.1% | 66.7% (−31%) |
| pi | Terminal-Bench 2.1 | 40.0% | 56.5% (−56%) | 48.2% (−56%) | 52.9% | 57.6% (−25%) |
| hermes | Terminal-Bench 2.1 | 44.7% | 58.8% (−70%) | 55.3% (−53%) | 58.8% | 63.5% (−19%) |
| opencode | Terminal-Bench 2.1 | 47.6% | 52.4% (−53%) | 52.4% (−68%) | 54.9% | 58.5% (−22%) |
“Thinking”是聊天模板在默认推理强度(xhigh)下的思考模式。专家模型在关闭思考模式的情况下接受训练并提供服务。"Thinking" is the chat template's thinking mode at its default effort (xhigh). The specialists were trained and served with thinking off.
在关闭思考模式时,super-adapter 在全部六组 harness–benchmark 配对任务上的表现均优于基础模型(pass@1 平均值从 39.5% 提升至 49.0%;新解出的任务有 71 个,失去的任务有 34 个,p < 0.001)。With thinking off, the super-adapter improves on the base model on all six harness–benchmark pairs (mean pass@1 39.5% → 49.0%; 71 tasks newly solved vs 34 lost, p < 0.001).
尽管它在训练时完全没有开启思考模式,但它仍是我们在思考模式下评估过的最强模型。与以相同思考强度运行的基础模型相比,它在六组对比中赢了五组,另一组打平(平均得分从 55.5% 提升至 63.5%;新增解决 67 题,失分 37 题,p = 0.004)。提升最大的是 SWE-bench Pro:在 hermes 下提高 16 个百分点,在 opencode 下提高 20 个百分点。在 pi 的 SWE-bench Pro 测试中,由于仅靠思考模式就已达到 74%,两者打平。Despite not being trained at all with thinking on, it's the strongest model we evaluated with thinking mode. Against the base model thinking at the same effort, it wins on five of six pairs and ties the sixth (mean 55.5% → 63.5%; 67 newly solved vs 37 lost, p = 0.004). The largest gains are on SWE-bench Pro: +16 points under hermes and +20 under opencode. Under pi on SWE-bench Pro, where thinking alone already reaches 74%, it ties.
关闭思考时,使用专用的 harness 适配器。每个 harness 自带的适配器在六组对比中有四组领先;在 pi 上的优势最大(SWE-bench Pro 上为 64.0% 对 46.0%,Terminal-Bench 上为 56.5% 对 48.2%)。将一个模型拆分到三个 harness 上,对 pi 的收益影响最大。如果只使用一个 harness,并且保持思考关闭,就选择它的专用适配器。Use the specialist harness adapters when thinking off. Each harness's own adapter is ahead on four of six pairs, by the most under pi (64.0% vs 46.0% on SWE-bench Pro, 56.5% vs 48.2% on Terminal-Bench). Splitting one model across three harnesses costs pi the most of its gain. If you only use one harness and keep thinking off, take its specialist.
super adapter 的效率也高得多。在基础模型和 super-adapter 都能解决的任务中,关闭思考模式时,它每项任务的工具调用次数减少了 53–73%,生成的 token 数减少了 44–60%;在 130 项任务中,有 111 项的工具调用次数更少。开启思考模式后,在 SWE-bench Pro 上,它仍能将工具调用次数减少 31–48%,将 token 数减少 24–43%。在 Terminal-Bench 上,工具调用次数减少 19–25%,token 数则基本保持不变。The super adapter is also much more efficient. On the tasks both the base model and the super-adapter solve, with thinking off, it makes 53–73% fewer tool calls and generates 44–60% fewer tokens per task, with fewer tool calls on 111 of 130 tasks. With thinking on, it still cuts tool calls by 31–48% and tokens by 24–43% on SWE-bench Pro. On Terminal-Bench, tool calls drop by 19–25% and token counts stay about the same.
½ 权重是在使用 step-120 适配器进行 Terminal-Bench 2.1 测试时选定的,因此 Terminal-Bench 的数据略显乐观;SWE-bench Pro 完全没有参与这项选择。完整的成对测试结果见 super-adapter 的模型卡。The ½ weight was chosen on Terminal-Bench 2.1 with the step-120 adapters, so the Terminal-Bench numbers are slightly optimistic; SWE-bench Pro played no part in the choice. Full paired results are in the super-adapter's model card.
最终结果 Final results
本节报告训练期间发生的情况,以及这些适配器在其自身测试框架内外的留出基准测试中的表现。This section reports what happened during training, then how the adapters score on held-out benchmarks inside and outside their own harnesses.
训练结果 Training results
训练累计进行了 598 步,共训练了 78,114 个样本,恰好相当于 1.67 亿个训练词元。Training ran for a cumulative total of 598 steps, with a total of 78,114 samples trained, which consists exactly of 167M trained tokens.
在训练过程中,我们看到一个明确信号:模型学会用越来越少的步骤解决任务,且没有明显的饱和迹象。尽管有时会出现明显的上升趋势,但训练正确率总体上似乎保持平稳。这可以解释为:模型在训练过程中会遇到新任务,而随着轨迹变短,单步 token 预算所能容纳的组数增加了一倍多。准确率的提升体现在下文的留出基准测试中。During training, we see a clear signal that the model learns to solve tasks in fewer and fewer steps, with no clear sign of saturation. Despite having some clear increasing trend sometimes, training correctness seems to overall stay flat. This can be explained by the fact that the model meets new tasks during training, but the number of groups that fit in a step’s token budget more than doubles as trajectories get shorter. The accuracy gains show up on the held-out benchmarks in the section below.
另一方面,safeagents 成功拦截了多次可疑尝试。在三次训练运行中,共检查了 130 万次工具调用,并拦截了 647 次工具调用。On the other hand, safeagents was able to block multiple suspicious attempts. Across the three training runs, a total of 1.3M tool calls have been checked, and a total of 647 tool calls have been blocked.
评估结果 Evaluation results
本节介绍评估设置、测试框架内的结果、跨测试框架的迁移情况,以及分布外检查。This section covers the evaluation setup, the in-harness results, transfer across harnesses, and an out-of-distribution check.
评估设置 Evaluation setup
我们在每个适配器所训练的框架中对其进行评估,使用两项智能体编程基准测试:Terminal-Bench 2.1 的全部 89 个任务(每项任务限时 1 小时,最多 100 个智能体步骤)以及 SWE-bench Pro 中难度最高的 51 个任务(限时 2 小时,最多 100 个智能体步骤)。我们将每项任务的最大 token 数限制为 131072。我们不调整智能体设置,所有框架均使用默认配置。例如,Pi 不会保留之前轮次的推理内容,而 OpenCode 和 Hermes 会保留;这主要会因上下文迅速溢出而影响 SWE-bench Pro 的结果。因此,不同框架之间的结果无法直接比较(使用 Pi 不一定比使用 Hermes 或 OpenCode 得到更好的结果),但在同一框架内比较结果并据此得出结论是合理的。We evaluate each adapter inside the harness it was trained in, on two agentic coding benchmarks: all 89 tasks of Terminal-Bench 2.1 (1 hour and 100 agent steps per task) and the 51 hardest tasks of SWE-bench Pro (2 hours and 100 agent steps). We cap the maximum number of tokens per task to be 131072. We do not tune the agent settings and use the default setup for all harnesses. For example, Pi does not keep previous reasoning turns while OpenCode and Hermes do, which mainly affects the SWE-bench Pro results due to rapid context overflow. Therefore you cannot compare the results across different harnesses (using Pi does not necessarily lead to better results than Hermes or OpenCode), but it is fair to compare results within the same harness and draw conclusions.
每次 rollout 都使用与训练相同的 Harbor 和 OpenEnv 技术栈,在 HF 沙箱中运行;每项任务仅尝试一次,温度设为 0.8,并关闭思考模式。每个 LoRA 检查点都会合并到基础权重中,再由 vLLM 在单张 GPU 上单独提供服务,并使用与基础模型评估时相同的并发度。Every rollout runs through the same Harbor and OpenEnv stack as training, in HF sandboxes, with one attempt per task at temperature 0.8 and thinking off. Each LoRA checkpoint is merged into the base weights and served alone with vLLM on a single GPU, at the same concurrency as the base model's eval.
对于所有评测基准,我们都会报告 pass@1,以及所有任务和已解决任务的工具调用次数和总轮数。For all the evaluation benchmarks, we report the pass@1 as well as the number of tool calls, total turns, for all tasks and for solved tasks.
为保持开放,所有用于最终评估的模型轨迹都会上传到这个公开存储桶:harness-hub/harness-adapters-trajectories。For openness, all model trajectories for final evaluations are pushed in this public bucket: harness-hub/harness-adapters-trajectories.
最终评估结果 Final evaluation results
三种专用适配器在各自的评测框架下、两项基准测试中,表现都优于基础模型。在 SWE-bench Pro(hard 51)上,pi 从 39.2% 提升至 64.7%(提高 25.5 个百分点:新解出 15 个任务,失去 2 个,p = 0.002);hermes 从 29.4% 提升至 43.1%,opencode 从 35.3% 提升至 51.0%。在完整的 Terminal-Bench 2.1 上,pi 提高 16.3 个百分点(16 个对比 2 个,p = 0.001),hermes 提高 14.1 个百分点(19 个对比 7 个,p = 0.03)。opencode 的整体成绩提高 6.0 个百分点;在未参与其检查点选择的 66 个任务上,则提高 13.6 个百分点(12 个对比 3 个,p = 0.035)。All three specialist adapters beat the base model under their own harness, on both benchmarks. On SWE-bench Pro (hard 51), pi goes from 39.2% to 64.7% (+25.5 points: 15 tasks newly solved vs 2 lost, p = 0.002), hermes from 29.4% to 43.1%, and opencode from 35.3% to 51.0%. On the full Terminal-Bench 2.1, pi gains +16.3 points (16 vs 2, p = 0.001) and hermes +14.1 (19 vs 7, p = 0.03). Opencode gains +6.0 overall, and +13.6 on the 66 tasks that played no part in choosing its checkpoint (12 vs 3, p = 0.035).
这些适配器执行任务的效率也高得多:在它们和基础模型都能完成的任务中,它们在 SWE-bench Pro 上每项任务的工具调用次数减少了 56%–72%,在 Terminal-Bench 2.1 上减少了 53%–70%。单一的超级适配器在全部三种评测框架下也都胜过基础模型(SWE-bench Pro 上高出 6 至 18 个百分点,Terminal-Bench 2.1 上高出 5 至 10 个百分点),工具调用次数也同样大幅减少(53%–73%)。关闭思考时,它保留的各个专用适配器带来的提升较少,在 pi 下尤其如此;但开启思考后,在六组“评测框架–基准测试”组合中,有五组的表现超过了以相同投入进行思考的基础模型(见“超级适配器”部分)。每张模型卡都列出了完整的配对结果。The adapters also solve tasks much more efficiently: on the tasks both they and the base model solve, they make 56–72% fewer tool calls per task on SWE-bench Pro and 53–70% fewer on Terminal-Bench 2.1. The single super-adapter beats the base model under all three harnesses too (+6 to +18 points on SWE-bench Pro, +5 to +10 on Terminal-Bench 2.1), with just as large a cut in tool calls (53–73%). It keeps less of each specialist's gain with thinking off, most under pi, but with thinking on it beats the base model thinking at the same effort on five of six harness–benchmark pairs (see the super-adapter section). Each model card has the full paired results.
这种效率和性能能力能否跨不同的测试框架迁移? Does the efficiency and performance ability transfer across harnesses?
为回答这个问题,我们还评估了 Hermes Agent 和 OpenCode 下的 pi harness 适配器。To answer this question, we also evaluated the pi harness adapter under Hermes Agent and OpenCode.
在 OpenCode 下,它在 Terminal-Bench 2.1 上的表现追平了 OpenCode 自身的专家模型(44.8% → 54.0%,而专家模型为 46.4% → 52.4%)。在 Hermes 下,它保留了专家模型约三分之二的提升(46.3% → 56.1%,而专家模型为 44.7% → 58.8%),且两种情况下的工具调用次数都减少了约 45%。因此,新习得的能力似乎能够迁移到不同的评测框架中。Under OpenCode it matches OpenCode's own specialist on Terminal-Bench 2.1 (44.8% → 54.0%, against 46.4% → 52.4%). Under Hermes it keeps about two-thirds of the specialist's gain (46.3% → 56.1%, against 44.7% → 58.8%), with the same ~45% cut in tool calls in both. Therefore it seems that the newly learned capabilities are transferred across harnesses.
分布外任务及设置的评估 Evaluation on out-of-distribution tasks and setup
如果我们在分布外任务中进行评估,而这些任务不属于适配器训练时使用的测试框架,会发生什么?What happens if we evaluate in out-of-distribution tasks, outside the harnesses the adapters have been trained with?
我们使用 AutomationBench 自带的智能体循环,而非 Pi、Hermes 或 OpenCode,在 300 个 AutomationBench 任务上运行了全部五个模型。这些任务用于评估业务自动化工作流。这样一来,我们就能交叉检验两个不同的问题:模型能否解决 SWE 相关任务之外的问题?当模型脱离其训练时所用的测试框架后,会发生什么?We ran all five models on 300 AutomationBench tasks which consists of business-automation workflows evaluations, with AutomationBench's own agent loop instead of Pi, Hermes or OpenCode. This way, we can cross check two different questions: can the model solve problems outside SWE-related tasks? What happens when the model is being put outside the harness it has been trained with?
结果表明,这些适配器的表现与基础模型接近。Pi 和 OpenCode 略胜一筹(pass@1 分别为 27.0% 和 25.3%,而基础模型为 23.0%),合并后的适配器表现持平(23.7%),Hermes 则落后几个百分点(17.7%)。除了 Hermes 的差异可能较为明显外,其余差异都在噪声范围内。因此,在这些测试框架中进行的 RL,既没有明显迁移到这个截然不同的场景,也没有损害模型在该场景中的表现。Results show that the adapters stay close to the base model. Pi and OpenCode are slightly ahead (27.0% and 25.3% pass@1 against 23.0%), the merged adapter is level (23.7%), and Hermes is a few points behind (17.7%). The differences are within noise, except perhaps Hermes, therefore RL inside the harnesses neither transfers clearly to this very different setting nor breaks the model on it.
| Model | pass@1 (all assertions met) | vs base | Partial credit (share of assertions met) | vs base |
|---|---|---|---|---|
| base | 23.0% | 62.2% | ||
| pi 160 | 27.0% | +4.0 | 66.2% | +4.0 |
| opencode 150 | 25.3% | +2.3 | 65.2% | +3.0 |
| merged | 23.7% | +0.7 | 60.6% | −1.6 |
| hermes 160 | 17.7% | −5.3 | 56.6% | −5.6 |
开放性问题:模型真正学会了做什么? Open question: What did the model really learn to do?
我们感谢用户和社区提供的反馈。社区的初步测试和结果总体上似乎非常积极,我们希望未来继续朝这个方向发展。我们也看到了一些令人意外的结果,例如有用户反馈称,这些 harness 适配器在 Qwen3.8 衍生模型(如 Swift-1.5)下运行得非常好。We appreciate the feedback from the users and the community, initial testing and results from the community seemed overall extremely positive, and we wish to continue in this direction in the future. We also saw some surprising results, such as users reporting that the harness adapters work really well under Qwen3.8 derivatives, such as Swift-1.5.
这是一个我们在发布后思考的开放性问题。仔细检查评测基准生成的轨迹后,我们发现,在非思考模式下,模型倾向于在提出工具调用之前先生成一些简短文本;而基础模型则几乎不会在工具调用之前生成任何文本。This question is an open question we thought about, post-release. After inspecting carefully the generated trajectories from the evaluation benchmarks, it turns out the model, under non-thinking mode, tends to generate some short text before proposing a tool call, as opposed to the base model which generates the tool calls barely without any text beforehand.
这种现象可以看作某种“推理泄漏”:模型通过生成一些有时看起来像推理轨迹的文本(例如:“……等等?……让我看看”等),学会从非思考版本“逃逸”到思考版本。最近的一篇论文也很好地描述了 LLM 在 RL 阶段的行为。This phenomenon can be seen as a sort of ‘reasoning leakage’, where the model learns to ‘escape’ from its non-thinking version to its thinking version by generating some text that can sometimes look like reasoning traces (e.g.: ..wait? ..let me see, etc.). A recent paper also describes behavior from LLMs during the RL stage very well.
这会使我们的模型结论站不住脚吗?我们认为不会,因为最终结果仍然有效;在完全相同的条件下(固定 token 预算),我们的适配器确实远胜于基础非思考模型,并且与思考版本表现相当,同时 token 效率高得多。社区的积极反馈也进一步证实了这一点。Does this invalidate our models? We do not think so, as the final results are still valid; under the exact same conditions (fixed token budget) our adapters do outperform the base non-thinking model (by far) and match the performance of the thinking version, while being much more token efficient. This has been further confirmed by the positive feedback from the community.
不过,这也意味着我们需要开展适当的后续工作:尝试将同一套流程重新应用于纯思考模型,并探索混合思考/非思考训练,以便更好地理解强化学习训练对混合思考模型的影响。待得出确切结论后,我们会与社区分享后续发现(以及 harness 适配器)。However this raises the need of a proper follow up work, where we will try to re-apply the same pipeline for pure thinking models, as well as exploring hybrid thinking / non-thinking training, to better understand the behavior of RL training on hybrid thinking models. We will share with the community our next findings (and harness adapters), once we get conclusive results.
结语与未来方向 Closing words and future directions
在这项工作中,我们展示了:在目标测试框架内对模型进行 RL 训练,能够训练出效率更高、因而最终准确度更高的模型(前提是在相同条件下进行评估)。这一观察与 Hugging Face 团队此前的多项工作相一致,也延续了这些工作,例如 multi-harness-RL 或 harness adapters 的早期迭代。Throughout this work, we demonstrated that RL training your model inside your target harness leads to more efficient and therefore more accurate final models, when evaluated under the same conditions. This observation is in line and in continuation with several previous work from Hugging Face teams, such as multi-harness-RL or the early iterations of harness adapters.
未来,我们将探索把这一方案应用于更多模型,同时进一步研究混合思考/非思考模型的训练策略。In the future, we will explore applying this recipe to more models, while better studying the training strategies for hybrid thinking / non-thinking models.
我们也向社区公开分享完整的配方和流程,以便复现所有内容,并邀请大家基于自己的代码库或任何相关材料构建自己的强化学习任务,再将同样的训练配方和理念应用到自己喜欢的模型和运行框架中,打造更高效的智能体模型。我们希望这篇博文能成为一个起点,帮助开发者今后构建并分享自己的运行框架适配器。We also share to the community openly the full recipe and pipeline to reproduce everything, and invite everyone to build their own RL tasks, derived from their own codebase, or any relevant materials, and apply the same training recipe and ideas to their favorite model and harness for more efficient agentic models. We hope this blogpost will serve as a starting point for builders to build and share their own harness adapters in the future.