Skip to content
AIBRAINWORX / OpenSourceCoder.comLOCAL-FIRST. BUILT IN THE OPEN.
Developer & Agent Tools / Text & Coding LLMs

harness-hub Releases OpenCode-Adapted LoRA for Qwen3.8-27B Under Apache-2.0

An Apache-2.0 LoRA adapter trained with asynchronous GRPO enables Qwen3.8-27B to match high-effort reasoning accuracy inside OpenCode while cutting token output by six to eight times.

Listen to this articleBrowser Voice
Ready
Official company logo or product image for harness-hub-qwen3-8-27b-opencode-adapted-lora-release
Official image or organization logo from huggingface.co; identification only, no endorsement.
Event / context: 2026-11-16. Source check: October 28, 2026.

Harness-Adapted LoRA Targets Agent Efficiency Over Raw Reasoning

On November 16, 2026, Hugging Face publisher harness-hub released harness-hub/Qwen3.8-27B-opencode-adapted, an Apache-2.0 LoRA adapter built on top of Qwen/Qwen3.8-27B. Rather than releasing a standalone general-purpose checkpoint, the developer trained the adapter with reinforcement learning specifically to serve as the backing model for the OpenCode coding agent on multi-step software engineering and terminal workflows.

The core engineering premise behind the release is eliminating the latency and token overhead of extended chain-of-thought reasoning blocks inside iterative agent loops. According to the model card, disabling the base model's explicit thinking mode with this adapter delivers task completion rates on par with running the unadapted base model at its maximum xhigh reasoning effort, while generating six to eight times fewer tokens per task. The repository notes that enabling thinking mode on the adapted checkpoint yields no statistically meaningful advantage and recommends leaving it disabled.

Training Scope, Architecture, and OpenCode Benchmark Claims

According to its Hugging Face metadata, the Safetensors PEFT adapter was trained using reinforcement learning tags associated with trl, grpo, async-grpo, harbor, and openenv, targeting a rank-32 LoRA configuration. The published weights represent training step 150, which the author selected by tracking intermediate checkpoints across SWE-bench Pro and an 18-task validation subset of Terminal-Bench 2.1. Although Qwen/Qwen3.8-27B carries an image-text-to-text architecture, the adapter evaluations were executed strictly in text-only mode with the vision tower disabled.

Under identical OpenCode harness settings—one attempt per task, a 100-step cap, temperature 0.8, and top-p 1.0—harness-hub reports substantial gains in both pass rate and execution brevity over the unadapted base model:

  • SWE-bench Pro (hard 51 subset, 2-hour cap): With thinking off, the adapter scored 51.0% compared to 35.3% for the base model (+15.7 percentage points across 51 tasks, solving 11 new tasks and losing 3; exact sign test p = 0.057). The base model with xhigh thinking reached 47.1%, while the adapter with thinking enabled reached 54.9%.
  • Terminal-Bench 2.1 (1-hour cap): Across 84 paired tasks with thinking off, the adapter scored 52.4% versus 46.4% for the base model (+6.0 points; 13 newly solved, 8 lost; p = 0.38). On the 66 tasks not used for checkpoint selection, the adapter reached 59.1% against 45.5% (+13.6 points; p = 0.035). Across 83 tasks graded in all four configurations, base thinking scored 55.4% compared to 53.0% for the adapter without thinking.
  • Token and turn reduction: On mutually solved SWE-bench Pro tasks, the adapter averaged 13 turns and 1.9k median generated tokens versus 48 turns and 6.8k tokens for the base model without thinking, and 51 turns and 33.5k tokens (including 28.2k reasoning tokens) when the base model used thinking. Overall median generation dropped from 31.8k to 3.9k tokens on SWE-bench Pro and from 15.8k to 2.6k tokens on Terminal-Bench 2.1.

In a documented SWE-bench Pro trajectory on a Flipt CUE schema validation task, the unadapted base model became stuck repeating dependency commands until hitting the 100-step limit, whereas the adapted model wrote the schema, validator, and tests, corrected an API error, and passed in 17 tool calls. Hidden <think> tags appeared in fewer than one turn in 1,000, with the adapter instead emitting brief plain-text planning notes averaging roughly 45 tokens between targeted tool invocations.

Deployment Options Across vLLM, PEFT, and Local Runtimes

For engineering teams operating self-hosted coding agents, shipping a lightweight PEFT adapter rather than a full 27-billion-parameter fork simplifies deployment and multi-tenant serving. Developers can load the adapter dynamically onto an existing Qwen/Qwen3.8-27B instance using Hugging Face peft, merge the weights into the base checkpoint, or convert quantizations for local engines including llama.cpp, Ollama, and LM Studio.

The model card provides a production-oriented vllm serve configuration specifying --enable-lora with --max-lora-rank 32, --language-model-only, --enable-prefix-caching, --mamba-cache-mode align, --tool-call-parser qwen3_xml, --reasoning-parser qwen3, and a 131,072-token context window. Passing --default-chat-template-kwargs '{

Automated Vertex AI (gemini-4-hydrogen) primary-source report; reviewed 2026-11-22.

Follow your curiosity.

Pass the signal.