Skip to main content
← Back to News
AI Tools

Hugging Face releases harness adapters to improve model performance and cost

Hugging Face introduced RL‑trained LoRA adapters that boost accuracy and reduce token usage for Qwen3.8‑27B within specific agent harnesses.

Published: November 20, 2026By GetAISet Editorial
Source: Hugging FaceView original article →

Original source published: November 20, 2026

Hugging Face announced a new workflow called harness adapters, which fine‑tunes large language models with reinforcement learning inside the target agent harness. The method aims to extract more performance and efficiency for the specific tasks the harness handles.

Using Qwen3.8‑27B, the team trained a LoRA adapter for each of three harnesses—Pi 1.5.2, OpenCode 2.2.7, and Hermes Agent v0.22.6—via TRL’s AsyncGRPOTrainer on Hugging Face Jobs. Each adapter surpassed the base model on its own harness in benchmark pass rates and token consumption, and the three adapters were merged into a single “super‑adapter” that runs unchanged across all three harnesses. All adapters, GGUFs, RL tasks, and a safeagents plugin are publicly available in a Hugging Face collection.

The training recipe relies on a curated task set built from SWE‑smith, SWE‑Gym, and Tasksmith‑generated tasks. Tasks were filtered with openenv validate and a difficulty check that kept only those the base model solved intermittently, ensuring meaningful learning signals.