AI ShortsOpen the app
Tools & Dev ยท

Hugging Face trains add-ons that cut coding agents' steps

Hugging Face released small add-on files, trained inside real coding-agent programs, for the open Qwen3.8-27B model. On a terminal test, the Pi agent's score rose from 39% to 55% while using about half the text. The results are the authors' own, and no licence is stated, so check each page.

Hugging Face published harness adapters: small LoRA patches trained with reinforcement learning, where the model earns rewards for finishing tasks, while running inside a specific agent program. Covered are Pi, OpenCode and Hermes Agent, on a frozen Qwen3.8-27B base.

Reported results: on Terminal-Bench 2.1 with Pi, the base model scored 39% using about 2.9K tokens per task, and the Pi adapter scored 55% using about 1.5K, mostly by making fewer tool calls. On the 51 hardest SWE-bench Pro tasks, Pi went from 39.2% to 64.7%. A merged adapter covering all three harnesses is weaker than a per-harness one: 64% versus 46% in one comparison from a commenter.

The authors flag caveats. Results should not be compared across harnesses, the merge weight was picked on the same test so numbers may be slightly optimistic, and on 300 AutomationBench tasks the adapters stayed close to the base model.

New to this? The key idea

A LoRA adapter is a small patch layered on a big model, like a lens clipped onto a camera. It changes behaviour without retraining the whole model, and it can be removed again.

Use it at work

Use it for: teams running an open model behind a coding agent who want fewer wasted tool calls.

Try it: the adapters, GGUF builds, training tasks and recipe are on the Hugging Face Hub. Start from the blog post and the Qwen3.8-27B harness-adapter collection, and test the adapter matching your agent on your own tasks.

Before you roll it out: licence not stated, so check each Hub page. Training used two NVIDIA B200 graphics cards per adapter. If you only use one harness, the per-harness adapter is the better pick.

Summaries are written by AI from the linked source. Always check the original.

Get AI Shorts by email

Every morning, the day's stories in one short email. Unsubscribe in one tap.