Introducing harness adapters: adapt your favorite model to your harness to improve performance and cost
Hugging Face's harness adapters show the cheapest agent upgrade may not be a bigger model, but a small LoRA teaching your model to stop overthinking in your harness.
1 min read
Hugging Face’s harness adapters show the cheapest agent upgrade may not be a bigger model, but a small LoRA teaching your model to stop overthinking in your harness.
Key points
- Hugging Face trained RL-based LoRA adapters for Qwen3.8-27B, one per agent harness: Pi, OpenCode and Hermes Agent.
- With the pi harness, Terminal-Bench 2.1 pass@1 rose from 39% to 55% while average tokens per task fell from 2.9K to 1.5K.
- Gains came mostly from the model reasoning less, calling fewer tools and getting tasks right the first time.
- The argument: general-purpose models leave performance on the table for any specific harness and task distribution.
- The team released a reusable recipe so developers can reproduce it on their own model, harness and task combinations.
Why it matters
A 27B model went from 39% to 55% while using half the tokens, without touching base weights. The frontier-model arms race just got a cheap, open-source flanking move.
Sources
Sources
ai-ml open-source developer-tools
Frequently Asked Questions
What are harness adapters?
Harness adapters are LoRA adapters trained with reinforcement learning inside a specific agent harness and on a specific task distribution, while the base model's weights stay frozen. Hugging Face says they make a model more accurate and efficient for that harness-task combination.
How much did harness adapters improve Qwen3.8-27B?
On Terminal-Bench 2.1 with the pi harness, Qwen3.8-27B improved from 39% to 55% pass@1 after adding an RL-trained LoRA adapter. Average token usage per task dropped from about 2.9K to 1.5K.
Why does this matter for teams building AI agents?
It shows that adapting a mid-sized open model to your own harness can raise accuracy and lower inference cost at the same time. Hugging Face released a reusable recipe so teams can try it on their own setups.