Train your own tool-calling router in ~35 lines with 180K open decisions
MaziyarPanahi · x · 2026-09-30
Maziyar Panahi shows how to train a tool gate in 35 lines: ModernBERT-base + Hugging Face TRL's RewardTrainer on 77K agentnextactiontype decisions (tool call vs text answer, 53/47 balanced).
He also released 180,000 typed, labeled Jev-format tool-calling decisions — whether to call a tool, which one, and whether args are complete — built on NVIDIA's open agent data with clean splits, so a tiny model can route instead of your LLM. Switch the filter to toolselection to train tool choice.
Related event: 180K-Example Tool-Calling Dataset Open-Sourced for Small Model Routers(3 posts)→
More from coding & agent
- Google Research open-sources PaperOrchestra, a multi-agent framework for writing AI papers — google-research · 2026-11-16
- ffmpeg-skill gives coding agents local video editing via 42 FFmpeg tools and MCP — kajisho5 · 2026-11-16
- Agents Now Reply to Slack Messages on Their Own, Resolving a Prod Incident Ghost-to-Ghost — iamrobotbear · 2026-11-16
- Engineer's Interview Prep Method: Use Claude to Find Which Answers Undersell Your AI Work — brandon_galang · 2026-11-16
- DeepSeek open-sources its app frontend "chat-demo", already at 3.9k stars — NielsRogge · 2026-11-16
- lemire: AI's real impact on coding is expanding the engineer's 'cognitive radius', not speed — lemire · 2026-11-16