Introducing harness adapters: adapt your favorite model to your harness to improve performance and cost

Hugging Face · 2026-11-20 · Models

Hugging Face introduces harness adapters: small LoRA adapters trained with reinforcement learning inside a specific agent harness, so a model such as Qwen3.8-27B is tuned to how it is actually used. The team trained one adapter each for the pi, Hermes Agent and OpenCode harnesses, running each harness as it ships. On pi, the Terminal-Bench 2.1 score rose from 39% to 55% pass@1 with frozen base weights, while average token use fell from 2.9K to 1.5K per task.

The training tasks combined two Hugging Face Hub sources with tasks generated by Tasksmith, and each task was screened with openenv validate and checked against the base model. The three adapters were also merged into one super adapter that runs unchanged across all three harnesses. Datasets, training and agent rollouts all run on Hugging Face Jobs, and the post shares a reusable recipe and a collection of artifacts.

Why it matters: It offers a reusable, reproducible recipe that could let developers gain both accuracy and efficiency from RL tuned to their own harness and tasks, without changing the base model's weights.

Summary written by AI from the source. Check the original before relying on it.

Read the full story at Hugging Face

More in Models

Open the live interactive page

Apiron Intelligence. Headlines link to their original publishers.