One LoRA adapter for Qwen/Qwen3.8-27B behind three coding agents:
pi, Hermes Agent and
OpenCode. It merges three adapters, each trained with reinforcement learning inside one of those
harnesses on software-engineering and terminal tasks. The merge itself involves no training.
[Image blocked: No description]
[!Tip]
Use it with thinking on. With thinking on, the super-adapter beats the base model thinking at the same effort
(xhigh) on five of six harnessβbenchmark pairs and ties the sixth: mean pass@1 55.5% β 63.5% across pi, Hermes Agent
and OpenCode on SWE-bench Pro and Terminal-Bench 2.1. It also makes 19β48% fewer tool calls per task. If you use a
single harness with thinking off, its specialist adapter is the better choice (see below).
- SWE-bench Pro (hard 51), thinking on: 74.5% β 74.5% under pi, 45.1% β 60.8% under Hermes Agent, 47.1% β 66.7%
under OpenCode.
- Terminal-Bench 2.1, thinking on: 52.9% β 57.6% under pi, 58.6% β 64.4% under Hermes Agent, 54.7% β 58.1% under
OpenCode.
- Thinking off: it beats the base model on all six pairs (mean 39.5% β 49.0%; 71 tasks newly solved vs 34 lost,
p < 0.001), with 53β73% fewer tool calls per task.
[!Note]
All results are under each harness: one attempt per task, a 100-step budget, a 131,072-token context window, text
only (the vision tower is not served), sampling at temperature 0.8 with top-p 1.0. Base model and adapter always run
under identical settings. These numbers are not comparable with the ones on the
Qwen3.8-27B card, which uses other harnesses (Terminus, Claude Code), larger
budgets and the full SWE-bench Pro.
The full recipe is in the release blogpost.
Pick your setup
[blocked]
Results
[Image blocked: No description]
[Image blocked: No description]
The runs are compared on the tasks all of them graded under each harness: 50β51 of SWE-bench Pro, 82β85 of
Terminal-Bench 2.1. "Specialist" is that harness's own adapter
(pi,
Hermes Agent,
OpenCode), with thinking off. "Thinking" is the chat
template's thinking mode at its default reasoning effort (xhigh). In parentheses: the change in median tool calls per
task against the base model with the same thinking setting, on the tasks both runs solve.
Full paired results (intervals and sign tests against the base model)
One attempt per task, paired against the base model under the same harness and the same thinking setting, on the tasks
both runs graded. The interval is 95%; the p-value is an exact sign test on the tasks that changed outcome.
Thinking on
Thinking off
Each benchmark has few tasks, so most single rows are within noise; the pooled results are not.
- SWE-bench Pro (hard 51): the 51 hardest tasks of SWE-bench Pro, 2 h and 100 agent steps per task.
- Terminal-Bench 2.1: all 89 tasks of Terminal-Bench 2.1, 1 h and 100 agent steps per task. A few tasks are left out of each comparison because their environment failed to build or their verifier timed out for one of the two runs.
Work per solved task (model calls, tool calls and generated tokens)
Medians per task, super-adapter / base model, over the tasks both solved: same tasks, same outcome, so the numbers
measure only how much work each needed. Generated tokens are everything the model writes (visible content, reasoning and
tool calls).
- With thinking off, the super-adapter reaches the same answers in a third to half of the base model's tool calls,
with about half the tokens.
- With thinking on, it still saves a third to a half of the calls and tokens on SWE-bench Pro. On Terminal-Bench, where
tasks are shorter, it makes somewhat fewer calls for about the same number of tokens.
- Some pi sessions have no recorded counts and are left out; they are mostly the base model's longest thinking-on
sessions, so the pi savings with thinking on are, if anything, understated.
[blocked]
Super-adapter or specialist?
With thinking off, each harness's own specialist is ahead of the super-adapter on four of six pairs (35 tasks newly
solved vs 55 lost against the specialists, pooled, p = 0.045), by the most under pi: 64.0% vs 46.0% on SWE-bench Pro,
56.5% vs 48.2% on Terminal-Bench 2.1. Sharing one adapter across three harnesses costs pi the most of its gain.
- One harness, thinking off: use that harness's specialist.
- Several harnesses, or thinking on: use the super-adapter.
[blocked]
Context window
All models were evaluated with a 131,072-token context window and no context compaction. A session that outgrew the
window ended there and was scored as a failure (0), for every model alike. With thinking on, Hermes Agent and OpenCode
send each turn's reasoning back to the model, so long thinking-on sessions under those two harnesses sometimes ran out of
context, for the base model and the super-adapter alike. Qwen3.8-27B's native window is 262,144 tokens: if your hardware
allows it, serve with a larger --max-model-len for long thinking-on sessions.
Evaluation checks
- Infrastructure. During evaluation, the public tunnel between the sandboxes and the model server went down a few
times, failing rollouts for reasons unrelated to the model. We check every rollout for this and reran all affected
ones, on both sides; the numbers above are the corrected ones.
- Budget. The base model often works until it runs out of its 100 model calls. The budget is the same for both, so
the comparison is fair, but part of the gain is finishing the work within it.
- Test files. SWE-bench Pro's grader resets all test files and applies the official tests before running them, and
Terminal-Bench's tests are copied in only at grading, so an agent editing tests cannot affect a grade.
[blocked]
Evaluation trajectories
Every evaluation attempt behind this card, solved or not, is in the
harness-hub/harness-adapters-trajectories
bucket, with each attempt's grade, trajectory, harness log and verifier output, scrubbed of secrets. The files carry
canary strings: keep them out of training data.
[blocked]
Use
Serve the adapter with vLLM and point a harness at it
1. Serve the adapter with vLLM
The adapter has rank 96; vLLM only accepts some rank limits, so --max-lora-rank is the next one up, 128. Thinking is
on by default in the chat template, which is the recommended setting. To turn it off, add
--default-chat-template-kwargs '{"enable_thinking": false}'. Thinking-on runs were evaluated with at most 32,768
output tokens per model call. Prefix caching on this hybrid model needs --mamba-cache-mode align; without it, every
agent turn re-reads its whole history.
2. Point a harness at it
pi
Install pi (Node.js 22.19 or newer):
Add the server to ~/.pi/agent/models.json:
"api": "openai-completions" matters: without it pi uses the Responses API, which this adapter was not evaluated with.
Hermes Agent
Install Hermes Agent:
Add the server to ~/.hermes/config.yaml:
Hermes Agent needs at least 64,000 tokens of context.
OpenCode
Install OpenCode 2 (evaluation used @opencode/cli 2.2.7):
Add the server to ~/.config/opencode/opencode.json:
[blocked]
Use with llama.cpp
Serve the GGUF adapter with llama.cpp
The GGUF version is in harness-hub/Qwen3.8-27B-super-adapter-GGUF. It runs on top of a GGUF of the base model:
Then use any harness configuration from the vLLM section with the base URL http://localhost:8080/v1.
The adapter was built from adapters trained on the BF16 weights: the closer the base GGUF is to them, the closer you get
to the evaluated behavior. Q8_0 is a good default; lower-bit quants drift further. The GGUF version has not been
re-evaluated.
[blocked]
Merge the adapter into the base model
Get a standalone model, with no LoRA at serving time
The adapter can be merged into the base weights with PEFT. The result is a regular Qwen3.8-27B checkpoint (about 54 GB
in BF16) that any engine serves without LoRA support. Merge on CPU if the GPU is needed for serving afterwards:
Then serve it like the base model, without the LoRA flags:
[blocked]
How it was made
The merge, and the three adapters behind it
The super-adapter merges the three released specialists, each at weight Β½:
A LoRA update is scale Β· B @ A. The three adapters are merged exactly, by concatenation (PEFT's
combination_type="cat"): their A matrices stacked along the rank dimension, their B matrices likewise, each times
its weight. The result has rank 96 (3 Γ 32) and applies Β½ Β· (ΞW_pi + ΞW_hermes + ΞW_opencode), which averaging the A
and B matrices would not.
The three updates are nearly orthogonal (cosine similarity about 0.01β0.02 per layer), so each keeps most of its effect
in the sum. Weights of β
, Β½ and 1 were compared on all of Terminal-Bench 2.1 with earlier (step-120) adapters; Β½ gave the
best balance across the three harnesses, so the Terminal-Bench results above are slightly optimistic. SWE-bench Pro played
no part in the choice.
The three specialists share one training recipe:
The specialists were trained with thinking off; the super-adapter's thinking-on behavior was never trained, only
evaluated. See each specialist's card for its training details.
For a full write-up, please refer to the release blogpost.