Release2026-11-20

Hugging Face introduced harness adapters to optimize models for specific agent harnesses. It trained one LoRA adapter per harness for Qwen3.8-27B using RL inside Pi, Hermes Agent, and OpenCode. Each adapter outperformed the base model in its harness for both performance and efficiency. The adapters were merged into a single super adapter compatible with all three harnesses. All artifacts are available in a Hugging Face collection. The base model’s Terminal-Bench 2.1 score for Pi improved from 39% to 55% pass@1. Average token usage dropped from 2.9K to 1.5K per task. The team filtered 59,000 Hub tasks down to 278 for training. A difficulty check ensured only tasks with variable success rates were included.

What changed

Models were trained for general performance, not harness-specific optimization.

What it unlocks

Training a custom LoRA adapter to improve a model's accuracy and efficiency within a specific agent harness.

  • 59,000 Hub tasks filtered to 278
  • 39% to 55% Terminal-Bench 2.1 pass@1 for Pi harness
  • 2.9K to 1.5K average tokens per task
  • 171 qualified tasks after difficulty check

What you need to act on it

  • Qwen3.8-27B base model
  • Pi, Hermes Agent, or OpenCode harness
  • Hugging Face Jobs for training
  • TRL's AsyncGRPOTrainer

Send this to someone who needs it

Shares the story and its sources. Nothing about you.

What does this mean for your job?

This is the story as everyone gets it. Once a week we send you the version written for your role — what changed, why it matters for the work you actually do, and one thing to try. Free while we tune it.