LangChain's write-up: fine-tuning an open model on docs-agent production traces
adnan_hashmi · x · 2026-12-03
LangChain Labs published a write-up on turning Chat LangChain's production traces into post-training data, fine-tuning GLM 5.3 Flash, and deploying it as the docs agent's main model.
Key takeaways:
- Production traces let you build a benchmark you can hill-climb for post-training
- Offline evals need headroom to show whether training actually moved the model
- Training and eval environments must match production
- Online evals build confidence before full traffic
Results: on a benchmark of 128 real user questions (1 for correct and complete, 0 if short, -0.5 for confidently wrong, averaged over 8 attempts), the fine-tune scores 0.735 vs 0.679 base, close to GPT-6.1 Sol's 0.748, at 83% lower cost. In production alongside base GLM 5.3 Flash and the replaced Gemini 3.5 Flash Lite, it gave the most doc-grounded answers with a 36% follow-up rate (vs 41% for Gemini), answering about half as fast but costing $12 per 1,000 questions vs $20.
Related event: LangChain Fine-tunes GLM 5.3 Flash on Production Traces, Cutting Costs 83%(5 posts)→
More from coding & agent
- Excalidraw bakes MCP into its CLI: install once, use across all your agents — dsp_ · 2026-12-03
- Engineer shows 6-month workflow delta to explain '100x productivity with AI agents' — RichardsonDx · 2026-12-03
- Pi ships revamped docs for running local models via llama.cpp and the Llama app — pcuenq · 2026-12-03
- Microsoft launches ChatGPT plugin for Fabric IQ with read-only MCP access to Power BI — adnan_hashmi · 2026-12-03
- Local GPUs' real value is background batch compute, not realtime inference — austinvhuang · 2026-12-03
- Where's the Line? Reddit Debates When a Chatbot Qualifies as an AI Agent — jordanconnelly2010 · 2026-12-03