Back to the news feed

Hugging Face releases a harness-specific LoRA recipe for coding agents

Hugging Face released a reproducible RL recipe that trains separate LoRA adapters for Qwen3.8‑27B inside pi, Hermes Agent and OpenCode, along with a super-adapter that merges all three.

4 min readAI RadarSource: Hugging Face — harness adapters at scale
AI Radar cover illustration for Hugging Face releases a harness-specific LoRA recipe for coding agents

AT A GLANCE

Key points

  • Separate LoRA adapters for three coding-agent harnesses and a merged super-adapter were released.
  • Each specialist beat the base model under its own harness on both evaluations.
  • The full training recipe, tasks, evaluation artifacts and model assets are available on the Hub.

What is changing?

Hugging Face published a new harness-adapter study on November 20, 2026 aimed at specializing coding agents for the harnesses in which they operate. The team froze Qwen3.8‑27B’s base weights and trained one LoRA adapter each for pi, Hermes Agent and OpenCode, then merged the three into a single super-adapter. Models, datasets and evaluation artifacts are available through the Hugging Face Hub.

Instead of reimplementing a generic agent loop, training ran inside each harness’s actual workflow. According to the blog, data preparation, training and rollouts were executed on Hugging Face Jobs using TRL’s AsyncGRPOTrainer, OpenEnv and Harbor. The safeagents plugin inspected 1.3 million tool calls during training and blocked 647 suspicious calls; these are measurements reported by the Hugging Face team.

The team reports that every specialist adapter beat the base model under its own harness on both evaluations. With thinking disabled, for example, the pi adapter raised success on the 51 hard SWE-bench Pro tasks from 39.2% to 64.7% and gained 16.3 points on Terminal-Bench 2.1. On tasks solved by both systems, specialists made 56–72% fewer tool calls on SWE-bench Pro and 53–70% fewer on Terminal-Bench. Comparisons used one attempt with fixed step and token budgets inside each harness; results across different harnesses should not be read as a direct ranking.

The super-adapter, formed by merging all three adapters at half weight, beat the base model on all six harness–benchmark pairs with thinking off and lifted mean pass@1 from 39.5% to 49.0%. With thinking enabled, it beat the base model at the same effort on five pairs and tied the sixth. The authors note that the merge weight was selected on Terminal-Bench, which can make some results on that benchmark optimistic; for one harness with thinking off, they recommend the corresponding specialist.

The released collection includes specialist adapters for pi, Hermes Agent and OpenCode, GGUF variants, the super-adapter, RL tasks and the safeagents plugin. The super-adapter model card lists an Apache 2.0 license and provides usage paths for PEFT, vLLM, llama.cpp and the three agent harnesses. The work focuses on software-engineering and terminal tasks; in the out-of-distribution AutomationBench check, some adapters stayed close to the base model while the Hermes variant trailed it. Production decisions therefore still require evaluation on a team’s own repositories and tool distribution.

This report is prepared with AI assistance and checked against sources. Automated checks do not constitute human editorial review. Editorial approach

Explore the original sources

Source date: 20 November 2026.
Published by AI Radar: 21 Nov 2026, 04:20 (Istanbul, UTC+3).

FOLLOW THE TOPIC

Topics and tags

FROM NEWS TO MAKING

Put it into practice.

All guides →

Share your discovery.

Send this story to a friend.

Reader comments

What do you think about this development? Share your experience or question. Comments are published after editorial approval.

Your name/nickname and comment become public if approved. Read: Privacy notice.

10–2000 characters. Please leave out links and personal contact details.

Loading comments…

STAY ON THE RADAR

You might also like

@airadarhaber

Your radar is on Instagram, too.

Fresh AI developments, dedicated visuals and product examples. Explore our posts and catch up in Stories.

Follow on Instagram

GRAPHIC. DIGITAL. MOTION.

Let’s bring your next idea
to life.

Explore my graphic design, branding
and motion work.

Explore the portfolio