Hugging Face · Agent RL recipe

Introducing harness adapters

Hugging Face's harness-hub team explains how it trained one LoRA adapter for Qwen3.8-27B per coding-agent harness (Pi, OpenCode and Hermes Agent) with reinforcement learning run inside the unmodified harness, then merged the three into one super adapter. The shared recipe uses TRL's AsyncGRPOTrainer, OpenEnv and Harbor tasks; 858 of 1,127 Hub task candidates passed validation, and training keeps tasks the base model solves only some of the time. The authors report each adapter beats the base model under its own harness, with Pi on the 51 hardest SWE-bench Pro tasks rising from 39.2% to 64.7%, and the super adapter lifting mean pass@1 from 39.5% to 49.0% with thinking off while making 53–73% fewer tool calls. The adapters and GGUF files are on the Hub under Apache-2.0.

Open the source ↗

Similar Agents & Automation releases

More from Hugging Face

Published by Quanta AI Labs, an AI agency in India. Browse every week in AI News Weekly.