AI ShortsOpen the app
Research ยท

Hugging Face add-ons make open coding agents faster

Hugging Face published adapters that teach an open model to work better inside three coding-agent programs. On one public test, the pass rate rose from 39% to 55% while the model used about half as many steps. The numbers come from Hugging Face's own runs, and the team admits a tuning choice makes one score slightly optimistic.

The recipe trains one small adapter per agent program (Pi, OpenCode, Hermes Agent) on top of a frozen Qwen3.8-27B model. Training runs the real program and records what it does, using reinforcement learning on repository tasks. Each adapter took two NVIDIA B200 graphics cards.

On Terminal-Bench 2.1 with Pi, the pass rate went from 39% to 55%, and tokens per task fell from about 2.9K to 1.5K, mainly because the model calls fewer tools. On the hardest 51 SWE-bench Pro tasks it went from 39.2% to 64.7%.

Caveats from Hugging Face: the merge weight was tuned on one test, so the figures are slightly optimistic. Results shouldn't be compared across programs. A merged adapter is weaker than the matching single one, and Pi's creator disputed part of the explanation.

New to this? The key idea

Instead of retraining a whole model, you can train a small add-on layer (called a LoRA) that nudges it, like clip-on lenses for glasses. Here the add-on is trained inside the real agent program, so the model learns that program's habits.

Use it at work

Use it for: teams running an open model behind a coding agent who want better results without paying for a larger model. ML engineers with a few GPUs should care.

Try it: open the Hugging Face blog post and the Qwen3.8-27B harness-adapter collection on the Hub. Adapters, GGUF builds, training tasks and trajectories are published there. Start by loading the adapter that matches your agent program and rerun your own tasks.

Before you roll it out: licence not stated in the coverage, check the collection pages. Training used two B200 cards with thinking turned off, and the adapters sometimes emit short reasoning-like text before tool calls. If you use only one agent program, its own adapter beats the merged one. Copy this idea: train against the shipping harness, not a re-built copy of it.

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.