Harness Adapters - Fit Your Model to Your Harness

Video thumbnail: Harness Adapters - Fit Your Model to Your  Harness
Nov 23, 202616m 23s video lengthSam Witteveen

The Signal

Hugging Face reports that LoRA adapters trained inside agent harnesses lifted Qwen 3.8 27B, a general-purpose open model, with Pi, one harness, rising on SWE-bench Pro from 40% to 64% while tool calls fell 53 to 72% on tasks both versions solved. The tension is whether that is better problem-solving or less overthinking, since training-task correctness stayed flat.

The Case

  • Hugging Face, the open-model company behind the study, reports training three reinforcement-learning LoRA adapters, small added weight sets, for Qwen 3.8 27B, a general-purpose open model whose base weights stayed frozen, with one adapter each for Pi, Hermes Agent and OpenCode, agent harnesses that supply the tools, prompts and context the model acts through.2:17
  • The case for harness-specific tuning rests in part on a comparison attributed to HF: the same model and weights scored 62% under one harness and 33% under another. The video does not identify those harnesses, the benchmark or the setup. The transcript also uses PyHarness, Pi and PAI inconsistently for the first harness, and reports that PyHarness discards early reasoning turns while OpenCode and Hermes retain them.1:30
  • For training, HF reportedly ran each harness as it shipped, unmodified inside Docker, the container sandbox, captured the model's exact tokens through a proxy for serving in vLLM, the inference server, and trained with AsyncGRPO in TRL, the training library. Tasks from injected bugs in Python and Go repositories, real GitHub issues and merged pull requests were kept only if the base model sometimes solved them, because always-solved or never-solved tasks give GRPO, the reinforcement-learning method behind AsyncGRPO, little learning signal, and verified success earned a small bonus for fewer tool calls. Each adapter used two B200 GPUs, one for vLLM and one for training.9:11
  • Within-harness reported scores rose in every case: Pi from 40% to 64% on SWE-bench Pro, a software-engineering benchmark, and 40% to 56% on TerminalBench, a terminal-task benchmark, Hermes Agent from 29% to 43% and 45% to 59% in the same benchmark sequence, and OpenCode from 35% to 51% and 48% to 52% in that sequence. A Pi/PyHarness TerminalBench 2.1 example reports tokens falling from about 2,900 to 1,500 per task while the score rose from 39% to about 55%.
  • On tasks both base and adapter solved, HF reports 53-72% fewer tool calls. That scope matters: the saving applies only to co-solved tasks, and its value depends on local inference speed, cited at 40, 60 or 80 tokens per second, or on whether tools bill per call.12:50
  • In one cross-harness test, the Pi adapter under OpenCode scored 54%, above the OpenCode specialist at 52.4% and the base model at 44.8% under OpenCode. HF's merged SuperAdapter, combining all three adapters, reports an average rise from 39.5% to 49% across what the video calls six harness and benchmark combinations, but the exact six are not clearly defined. That single test does not establish general transfer.13:13
  • What drove the gains remains unresolved. The video says training-task correctness stayed roughly flat while rollouts got a lot shorter, so much of the benefit may be less overthinking and tool use rather than better solving. The evidence covers one model and selected harnesses and benchmarks, with no independent replication, total training cost, confidence intervals, TerminalBench 4 figures, thinking-on versus thinking-off numbers, or comparison with short-reasoning fine-tunes such as Thinking Cap, and the narrator's 'clearly it does' endorsement adds no evidence beyond HF's reported figures.14:20

The 1 Minute Signal Take

Treat this as a promising, narrow recipe rather than a general win for tuned harnesses. If you run an open model, the useful test is your harness and your tasks, scored for success, tokens and tool calls together, with a direct check of whether a short-reasoning fine-tune gets the same gain cheaper.

Pro Analysis

Why it matters

The video reframes agent performance as a joint property of model and harness, not model alone. If the same weights can score 62% in one harness and 33% in another, teams buying or deploying a model without testing its exact harness may be leaving large, avoidable losses on the table.

Strategic implications

Frontier labs shipping Claude Code, Codex and similar bundles have an incentive to co-tune model and harness together, while open-model users often assemble mismatched pairs. HF's LoRA adapters offer a cheaper-looking alternative: keep Qwen 3.8 27B frozen and adapt behaviour for Pi, Hermes Agent or OpenCode. The catch is that the cheapest gain may be behavioural efficiency, not new capability.

Evidence & Hype Audit

Evidence is concrete but narrow and self-reported. Specific figures are given for one model, three harnesses and selected benchmarks, with no independent replication, confidence intervals or total training cost beyond two B200 GPUs per adapter. Narrator claims such as "clearly it does" work and that frontier labs broadly build models and harnesses together go beyond the data shown.

Counterarguments

The cautionary view is that adapters mostly learned to think less: training-task correctness stayed roughly flat while rollouts shortened and tool calls fell 53-72%. Without comparisons to ThinkingCap and other short-reasoning fine-tunes, or thinking-on versus thinking-off results, the adapters may not beat simpler interventions. One cross-harness win for Pi under OpenCode does not prove general transfer.

Who should care

Open-model platform teams, agent builders choosing between Pi, Hermes Agent and OpenCode, and anyone paying per token or per tool call should care. So should teams considering replacing a current model, since harness compatibility and token use may matter as much as raw intelligence.

What to do next

  • Evaluate candidate models in the actual target harness, not in a generic loop.
  • Track task success, tokens per task and tool calls together.
  • Test each LoRA adapter in its matching harness against the base model before deployment.
  • Test SuperAdapter and cross-harness use empirically against the specialist adapter.
  • Benchmark against ThinkingCap and other short-reasoning fine-tunes with thinking on and off.
  • Reproduce the recipe only on held-out, deployment-relevant tasks with verifiable rewards.
Time saved:11m 22s

Share this

Tags

Written by: 1 Minute Signal Editorial Team