Hugging Face trains one LoRA per agent harness and lifts Qwen3.8-27B on SWE-bench Pro
Hugging Face published on 20 November a recipe it calls harness adapters: a LoRA adapter for an open model, trained with reinforcement learning inside the agent harness it will be used with. The team trained one adapter on top of Qwen3.8-27B for each of three harnesses - Pi, OpenCode and Hermes Agent - with the harness running as it ships and a proxy recording the exact tokens it produced. Training used TRL's AsyncGRPOTrainer with tasks from two Hub sources and a third set generated with Repo2RLEnv.
All three adapters beat the base model under their own harness on both benchmarks. On the 51 hardest SWE-bench Pro tasks, Pi went from 39.2% to 64.7%, Hermes from 29.4% to 43.1% and OpenCode from 35.3% to 51.0%. On the full Terminal-Bench 2.1, Pi gained 16.3 points and Hermes 14.1. On tasks both the adapter and the base model solved, the adapters made 56 to 72% fewer tool calls on SWE-bench Pro and 53 to 70% fewer on Terminal-Bench 2.1.
The three adapters were also merged into one super adapter that runs unchanged under all three harnesses and beats the base model in each, by 6 to 18 points on SWE-bench Pro. The authors warn that results cannot be compared across harnesses, because default settings differ - Pi does not keep previous reasoning turns, OpenCode and Hermes do. On 300 AutomationBench tasks run in that benchmark's own agent loop, the adapters stayed close to the base model, which the team reads as RL inside the harness neither transferring clearly nor breaking the model.

Why it matters
The result is about fit rather than size: the same 27B weights, frozen, did markedly better once a small adapter was trained for the specific loop they run in - and the gain did not carry over to a different kind of task.