Hugging Face launches harness adapters to optimize model performance and cost within agent harnesses
New tool enables custom RL-trained adapters to improve accuracy and efficiency for specific agent harnesses and task distributions.
1 source · cross-referenced
- Hugging Face introduced harness adapters, a tool to adapt models to specific agent harnesses using reinforcement learning (RL).
- The adapters are trained inside the harness itself, improving performance and reducing token usage for tasks.
- A single merged 'super-adapter' can run across multiple harnesses without modification.
- Artifacts, including adapters, GGUFs, RL tasks, and a safeagents plugin, are available in a Hugging Face collection.
Hugging Face announced harness adapters, a tool designed to adapt models to specific agent harnesses using reinforcement learning (RL). The goal is to improve performance and cost efficiency by tailoring models to the unique requirements of a given harness and task distribution.
The adapters are trained inside the harness itself, leveraging OpenEnv and TRL’s AsyncGRPOTrainer to generate custom RL tasks directly within the target environment. This approach ensures that models are optimized for the specific tasks and workflows they will encounter in production.
In experiments with Qwen3.8-27B, the team demonstrated significant improvements by freezing the base model’s weights and adding a custom RL-trained LoRA adapter. For the pi harness, the Terminal-Bench 2.1 score increased from 39% to 55% pass@1, while average token usage per task decreased from 2.9K to 1.5K tokens. These gains were attributed to reduced reasoning steps, fewer tool calls, and improved first-time accuracy.
The team trained one LoRA adapter per harness (pi, Hermes Agent, OpenCode) using RL inside the harness. Each adapter outperformed the base model under its own harness on benchmarks for both performance and efficiency. Notably, the three LoRAs were merged into a single 'super-adapter' that operates unchanged across all three harnesses.
All artifacts—including adapters, GGUFs, RL tasks, and a safeagents plugin—are available in a dedicated Hugging Face collection. The release includes a reusable recipe for reproducing the process on custom task, harness, and model combinations.
The tool builds on earlier work, such as multi-harness RL and harness adapters, which showed that RL on a custom task distribution within a harness yields more accurate and efficient models. This update extends those findings to larger models (27B parameters) and harder real-world software engineering tasks across multiple harnesses.
- Dec 3, 2026 · The Verge — AI
OpenAI adds Live Dictation to ChatGPT, removing 10-minute voice recording limit
Trust79 - Dec 3, 2026 · Google AI — Blog
Google adds Tool Retrieval to the Gemini API to reduce token costs for agent workflows
Trust79 - Dec 3, 2026 · Hugging Face Blog
Hugging Face releases RoboTrack benchmark and two point-tracking models for robotic manipulation
Trust79