Skip to content

AI Compass / News

Harness adapters: an open model retrained for one specific agent tool

General Costs

Hugging Face has introduced small add-on modules that tune the open model Qwen3.8-27B to a particular agent tool. The authors say it then solves more tasks in fewer steps. The numbers and their limits.

Source: Introducing harness adapters: adapt your favorite model to your harness to improve performance and cost (Hugging Face Blog),

Technical drawing: a large block labelled Qwen3.8-27B with a lock, with three slim modules labelled LoRA attached to it. An arrow leads from each module to its own frame: Pi, OpenCode and Hermes Agent.Technical drawing: a large block labelled Qwen3.8-27B with a lock, with three slim modules labelled LoRA attached to it. An arrow leads from each module to its own frame: Pi, OpenCode and Hermes Agent.

What happened: On 20 November 2026, a team at Hugging Face introduced “harness adapters”. A harness is the environment wrapped around the model: it decides which tools the agent gets and how it reads files and runs commands. The authors’ idea is that a model isn’t equally well tuned for every one of these tools, so they train a small add-on for each.

How it works: A LoRA adapter is a small add-on module placed on top of a base model that stays unchanged. Only the adapter learns. Here the base model is the open Qwen3.8-27B. Training used reinforcement learning: the model solves programming tasks inside the real tool and is rewarded when its solution passes the check, with a small bonus for using tools sparingly. There is one adapter each for three agent tools, Pi, OpenCode and Hermes Agent, plus a “super adapter” that merges all three.

What the authors measured:

What this means for you: If you run an open model with one particular agent tool, there is now a third option besides “bigger model” and “better prompt”: a small adapter trained for exactly that tool. Fewer tool calls and tokens mean shorter run times and lower compute costs, most clearly with thinking off. The gain only applies in the tool the adapter was trained for, though.

What you can do:

  1. Check whether it fits: The adapters exist only for Qwen3.8-27B and only for Pi, OpenCode and Hermes Agent. If you use something else, they won’t help you directly.
  2. Try it out: The adapters and their GGUF versions, the training tasks and a safety plugin are in a collection on Hugging Face. The blog doesn’t state a licence; the super adapter’s model page lists Apache 2.0. For the other adapters, check their own pages. There is no hardware guidance for readers.
  3. Measure with your own tasks: run a few typical tasks with and without the adapter before you switch.

Context: All figures come from the authors themselves. The samples are small: 51 tasks on SWE-bench Pro and 89 on Terminal-Bench, one attempt each. On AutomationBench, a test with tasks outside the training set, the blog says the differences are within the noise, except perhaps for the Hermes adapter, which trails the base model by a few points there. Results can’t be compared directly across the three tools. The authors also raise an open question themselves: with thinking off, the retrained model tends to write a short piece of text before a tool call, which sometimes looks like reasoning. They still consider their results valid, but plan follow-up work to look into this behaviour.

My workshops show you how to bring AI into your team. See the workshops