Targeted Optimisation Over Token Overhead
The Qwen3.8-27B-pi-adapted LoRA adapter targets a core bottleneck in agentic workflows: excessive reasoning traces that burn context limits and time budgets. Trained with reinforcement learning techniques (including TRL and GRPO) specifically for the pi coding agent harness, the adapter is optimised to execute software engineering and terminal tasks directly.
Performance and Benchmark Highlights
- Reduced Timeouts and Steps: On SWE-bench Pro, 20 of the base model's 31 failed attempts timed out after reaching the 100-step ceiling, whereas none of the adapter's failures did. On tasks both models solve, the adapter requires less than half the turns.
- Reasoning Parity Without Hidden Chains: On Terminal-Bench 2.1, the adapter with thinking disabled matches the base model running at its highest reasoning effort (
xhigh)—56.6% vs 54.2% across paired tasks. On SWE-bench Pro, it achieves 64.7% versus 74.5%, but generates around 4.5× fewer tokens.
- Direct Tool Orchestration: Rather than relying on massive hidden
<think> blocks, the adapter produces concise natural-language reasoning (approx. 160 tokens per turn) directly between tool invocations.
Deployment Considerations
When deploying via vLLM, reasoning should remain disabled (enable_thinking: false). Because the underlying model features a hybrid architecture, --mamba-cache-mode align must be specified alongside prefix caching to avoid re-evaluating the full history on each agent step. Compatibility is also provided for GGUF in llama.cpp and transformers serve.