Coding agent harnesses like Pi, OpenCode, Hermes, and Claude Code handle tool definitions, system prompts, and execution loops differently. harness-hub targets this divergence by training lightweight LoRA adapters with reinforcement learning inside the native, unmodified harness.
Performance and Token Efficiency
Evaluations using Qwen3.8-27B inside the Pi harness highlight substantial efficiency gains:
- Accuracy improvements: Accuracy on Terminal-Bench 2.1 jumps from 39.5% to 55.8%, and on SWE-bench Pro from 29.4% to 62.7%.
- Reduced overhead: Tool calls decrease by 55% to 62%. Crucially, with thinking disabled, the adapter reaches 62.7% on SWE-bench Pro (compared to 64.7% for the base model with thinking enabled), while median token consumption drops from 34.4k to 7.9k.
Tooling and Local Deployment
Every adapter includes GGUF builds for llama.cpp, allowing streamlined local execution. The organisation also publishes dataset resources (traj2envs-rl), safety benchmarks (safeagents-judge-bench), and toolkits like Repo2RLEnv and safeagents to allow developers to train adapters for custom agent harnesses.