Skip to main content
Back

Hugging Face Packs Three Coding Agents Into One 956MB Adapter

A 956MB LoRA stitches three reinforcement-learning specialists into one rank-96 adapter that boosts Qwen3.8-27B across pi, Hermes Agent and OpenCode.

Pro

Model, Full Access
  • Hugging Face's harness-hub released a 956MB rank-96 LoRA for Qwen3.8-27B coding agents.
  • Merges three RL-trained specialists (pi, Hermes Agent, OpenCode) with zero extra training via rank concatenation.
  • SWE-bench Pro hard-51 jumps from 47.1% to 66.7% under OpenCode with thinking on.
  • Cuts tool calls 19-48% with thinking on, 53-73% with thinking off across six harness-benchmark pairs.
  • Works because the three adapters' weight updates are nearly orthogonal (cosine ~0.01).
  • Apache-2.0, ships as GGUF for llama.cpp, runs on top of any Qwen3.8-27B base.

Hugging Face’s harness-hub team has released a 956MB GGUF LoRA adapter that supports three coding-agent harnesses: pi, Hermes Agent, and OpenCode. Built by concatenating three separately trained reinforcement-learning adapters, it improved Qwen3.8-27B on 11 of 12 reported benchmark, harness, and reasoning-mode combinations, tying the base model on the remaining test.

The adapter card covers the original release, while the GGUF file targets llama.cpp deployments. Users still need a Qwen3.8-27B base model. The adapter carries an Apache-2.0 license and had recorded more than 1,700 downloads at publication.

One file, three harnesses

An agent harness is the software around a language model that supplies prompts, exposes tools, and returns tool results. The same model can behave differently across harnesses because each one structures reasoning, commands, and feedback differently.

The team trained one LoRA inside each target harness using reinforcement learning, then combined the three specialists without another training run. The training used AsyncGRPO, an experimental asynchronous variant of Group Relative Policy Optimization available through Hugging Face TRL.

Three rank-32 adapters become rank 96

LoRA stores low-rank changes to selected model weights while keeping the base checkpoint fixed. Each specialist uses rank 32, meaning its update operates through 32 learned dimensions.

The three updates have pairwise cosine similarities of about 0.01, indicating that their learned directions overlap very little. The team concatenated their matrices along the rank dimension at half weight each, producing one rank-96 adapter. Matrix concatenation reproduces the weighted sum of the three updates directly, so the merge adds neither approximation nor another optimization stage.

More solves, fewer tool calls

SWE-bench Pro measures whether an agent can resolve software issues in real repositories; the reported “hard 51” subset contains 51 tasks. Terminal-Bench 2.1 evaluates command-line task completion. Thinking mode allows the model to generate a reasoning trace before choosing actions.

SWE-bench Pro hard 51, thinking enabled
Harness Base Super-adapter Change
pi 74.5% 74.5% 0.0 points
Hermes Agent 45.1% 60.8% +15.7 points
OpenCode 47.1% 66.7% +19.6 points

Terminal-Bench 2.1 produced smaller gains with thinking enabled, but the adapter improved results under all three harnesses. Pass@1, the share of tasks solved in one sampled run, also rose across the aggregate evaluations:

  • Thinking disabled: Mean pass@1 increased from 39.5% to 49.0% across all six harness-benchmark combinations, while tool calls fell by 53% to 73% per task.
  • Thinking enabled: Mean pass@1 increased from 55.5% to 63.5%. Among tasks solved by both configurations, tool calls fell by 19% to 48%.
  • Overall: The super-adapter improved 11 of 12 reported combinations and tied the base model on one.

Lower call counts indicate more economical action selection, with fewer unnecessary shell commands and file reads. They can also reduce orchestration overhead in agent deployments.

Because the team selected the super-adapter’s scale using Terminal-Bench 2.1, that benchmark also served as model-selection data. Its reported gains may therefore be slightly optimistic.

Pick the adapter by workload

For teams running one harness with thinking disabled, the corresponding rank-32 specialist remains the stronger choice. The rank-96 super-adapter fits deployments that enable thinking or switch among pi, Hermes Agent, and OpenCode without maintaining separate merged checkpoints.

Workload Recommended adapter
One harness, thinking disabled Harness-specific specialist
Thinking enabled Super-adapter
Several supported harnesses Super-adapter

Run it through llama.cpp

The file, Qwen3.8-27B-super-adapter-lora-F16.gguf, loads on top of a Qwen3.8-27B GGUF base through llama.cpp. The authors recommend a Q8_0 base because the specialists were trained against BF16 weights. Q4_K_M quantization introduces more weight drift from that training configuration.

With the Hugging Face CLI and llama.cpp installed, download the base and adapter, then start the server:

hf download ggml-org/Qwen3.8-27B-GGUF Qwen3.8-27B-Q8_0.gguf --local-dir .
hf download harness-hub/Qwen3.8-27B-super-adapter-GGUF Qwen3.8-27B-super-adapter-lora-F16.gguf --local-dir .
llama serve -m Qwen3.8-27B-Q8_0.gguf --lora Qwen3.8-27B-super-adapter-lora-F16.gguf \
    -c 131072 --port 8080 --alias qwen3.8-super

Thinking is enabled by default. Long Hermes Agent and OpenCode sessions need a large context window because those harnesses return each turn’s reasoning to the model. The -c 131072 option sets a 131,072-token window for that accumulated history.

One base, swappable agent behavior

A full BF16 Qwen3.8-27B checkpoint occupies roughly 54GB, while the super-adapter occupies 956MB and leaves those base weights unchanged. Teams can keep one base checkpoint, attach the adapter for supported coding agents, and remove or replace it without modifying the underlying model.

Compute remains concentrated in the three specialist RL runs. Concatenation adds no distillation, checkpoint averaging, or follow-up training, making the adapter a practical deployment unit when independently trained updates occupy largely separate directions.

For bespoke agent stacks, the release provides a concrete workflow: train a LoRA inside the production harness, evaluate the specialist, measure overlap with other adapters, select scaling on validation data, and test the combined adapter on held-out tasks. Future combinations still require evaluation because adapters trained on overlapping behavior may interact more strongly than these three did.