Distilling GLM-5.2 Traces into Qwen3.5-4B via OpenCode Harness
NielsRogge · x · 2026-08-10
A developer shared a weekend project demonstrating how to distill model capabilities into a smaller agent. By extracting traces from GLM-5.2 using the OpenCode harness, they fine-tuned a Qwen3.5-4B model via Q-LoRA SFT.
Because the model is trained directly against the harness, it effectively learns to utilize OpenCode's built-in tools. The project currently relies solely on SFT without RL, and the resulting model is deployed on Hugging Face Inference Endpoints.
Related event: Fine-Tuning AI Coding Agents with OpenCode and TRL(2 posts)→
More from coding & agent
- 6 MCP servers ate 30k tokens before the first prompt: a Claude Code slimming recipe — for-entire-phonly · 2026-11-30
- Redditor ships 14-rule Lumen Anchor Protocol claiming math-anchored hallucination and jailbreak immunity — Teralitha · 2026-11-30
- Developer explains agent memory design: append-only storage plus quarantine to handle collisions — rchardkovacs · 2026-11-30
- WorkflowArena: 145 long-horizon tasks benchmark multi-agent orchestration across nine models — jiqizhixin · 2026-11-30
- Using Perplexity's Decider Model as a Reranker: Binary and Scale-Based Reranking — bo_wangbo · 2026-11-30
- VASP: visual-anchored agent tops scientific poster generation with 94.3 mAP figure extraction — Huihan Wang · 2026-11-30