Model swap silently broke agent cancellations, so a developer built a behavior diff tool
Impossible-Alarm-738 · reddit · 2026-07-22
A model swap quietly broke an agent’s cancelsubscription tool calls, so the author built whatbroke, a local diff tool for agent behavior.
- It compares JSONL traces of real agent trajectories, not just text outputs.
- It tracks tool calls, arguments, order, cost, latency, and final output, then exits non-zero on breaking changes so it can run in CI.
- A proxy mode (whatbroke record) captures traces from any language by pointing the base URL at it.
- Because agent runs are nondeterministic, it supports multiple runs per scenario and reports a flap rate so pre-existing randomness gets downweighted.
- It is deterministic, fully offline, requires no API keys or accounts, and is MIT licensed.
Related event: New Tool Detects Silent Agent Regressions After Model Switches(2 posts)→
More from coding & agent
- Alex Townsend posts 200 open problems in numerical linear algebra for humans and AI agents — IgorCarron · 2026-09-11
- Kimi K2.8 Preview rolls out: near-K3 coding performance, 1M context for all tiers — teortaxesTex · 2026-09-11
- Looking for a classifier of software engineering task shapes to pick models per task — StewartalsopIII · 2026-09-11
- Steal this idea: prompt-to-hardware where agents assemble custom devices — paraschopra · 2026-09-11
- Model Is the Least Interesting Part: A Guide to Six Core AI Architectures from RAG to Multi-Agent — goyalshaliniuk · 2026-09-11
- Non-coder builds layered memory architecture: 20k tokens tracks a year of agent conversations — matteoianni · 2026-09-11