Post Content
[[{“value”:”Hugging Face’s harness adapters are small LoRA add-ons trained with reinforcement learning for one coding agent. With thinking off, the pi adapter takes Qwen 3.8 27B from 39% to about 65% on the hardest 51 SWE-bench Pro tasks. I explain how a harness adapter works, how you could train your own (RL inside the real agent, hidden tests, a fewer-steps bonus, and the safeagents guard against reward hacking), and what happened when I tested it on two DGX Sparks against the plain model and maximum thinking.
LINKS:
Hugging Face harness-hub: https://huggingface.co/harness-hub
Qwen3.8-27B-pi-adapted (model card): https://huggingface.co/harness-hub/Qwen3.8-27B-pi-adapted
Blog, “Harness adapters: Safe RL for efficient agentic development”: https://huggingface.co/blog/harness-hub/harness-adapters
safeagents plugin: https://huggingface.co/harness-hub/qwen-safeagents-plugin
Training script (TRL, examples/async_grpo_harbor): https://github.com/huggingface/trl
pi coding agent: https://pi.dev
RELATED VIDEOS:
I Trained Qwen 4B With RL to Catch Qwen 27B: https://youtu.be/Pl_2TelxjdY
Qwen 3.8-27B in DeepSeek Harness: https://youtu.be/UK2xbBmxywg
What is an Agent Harness?: https://youtu.be/nWzXyjXCoCE
whryte, local speech-to-text for Mac: www.whryte.com
Website: https://engineerprompt.ai/
RAG Beyond Basics Course:
https://prompt-s-site.thinkific.com/courses/rag
Signup for Newsletter, localgpt:
https://tally.so/r/3y9bb0
Let’s Connect:
🦾 Discord: https://discord.com/invite/t4eYQRUcXB
☕ Buy me a Coffee: https://ko-fi.com/promptengineering
|🔴 Patreon: https://www.patreon.com/PromptEngineering
💼Consulting: https://calendly.com/engineerprompt/consulting-call
📧 Business Contact: engineerprompt@gmail.com
Become Member: http://tinyurl.com/y5h28s6h
00:00 – The problem with open models & harnesses
00:57 – Quick demo: Pi agent with & without adapter
02:11 – What is an agent harness?
03:49 – What are harness-specific LoRA adapters?
04:58 – How to train a harness adapter
05:40 – Avoiding reward hacking with Safe Agent
06:40 – Hugging Face benchmark results (SWE-bench & TerminalBench)
07:33 – Hands-on testing & token efficiency
08:53 – TerminalBench tests & tool name experiment
09:28 – Failure cases & limitations”}]] Read More Prompt Engineering
#Promptengineering #AI