Skip to content
AI Learning Ground Start learning

Research ·

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

{"summary": "Hugging Face shows that RL-trained LoRA \"harness adapters\" boost Qwen3.8-27B on agentic coding: Terminal-Bench 2.1 with the pi harness rises from 39% to 55% while average token use drops from 2.9K to 1.5K per task.", "description": "Hugging Face published a recipe

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

{"summary": "Hugging Face shows that RL-trained LoRA \"harness adapters\" boost Qwen3.8-27B on agentic coding: Terminal-Bench 2.1 with the pi harness rises from 39% to 55% while average token use drops from 2.9K to 1.5K per task.", "description": "Hugging Face published a recipe for training harness adapters: LoRA adapters created with reinforcement learning for a specific model, agent harness, and task distribution. Because models are tuned for general performance rather than any single harness, pairing a model with a harness leaves accuracy and efficiency unrealized for your actual workloads. Training inside the harness closes that gap. With Qwen3.8-27B frozen and a custom adapter added, its Terminal-Bench 2.1 score on the pi harness went from 39% to 55% pass@1, and average token usage fell from 2.9K to 1.5K per task, mostly because the model reasons less, calls tools less often, and succeeds on the first attempt more.", "the team trained one adapter per harness for Pi, OpenCode, and Hermes Agent, running RL inside the harness itself so the harness runs exactly as shipped, with a proxy recording tokens between the harness and vLLM. Training used TRL's AsyncGRPOTrainer with OpenEnv and Harbor, with datasets, training, and rollouts on the Hub via Jobs. Tasks came from SWE-smith, SWE-Gym (via TaskTrove), and Tasksmith, filtered by an eligibility screen and a difficulty check against the base model. Each adapter beats the base model under its own harness on both benchmarks, and

References

Read the full story at Hugging Face ↗Like, save or discuss on Buzz

#open-weights #tooling #research