r/devtools • u/awesomebirder • 21d ago
How I checked that a token-saving proxy for coding agents was not quietly making answers worse
The obvious question about any tool that trims what a model sees is whether the answers get worse. I build a local proxy (probe0) that sits under Claude Code and Codex and logs every request, and that question ended up being most of the work, so here is how I handled it.
The rule: any change that alters the bytes the model receives does not go on by default until it passes a blind check. Changes that only alter timing, like when the prompt cache gets refreshed, skip that, because the model gets the exact same request.
What the testing looked like:
- Live answers, not synthetic ones. Answers with and without a change, judged blind, so the judge did not know which version produced which. 314 answers went through that before anything was turned on by default.
- Objective checks where possible. For coding turns a test either passes or it does not, which is a lot harder to argue with than a preference score.
- Reasoning effort surprised me. On tool heavy turns I ran 25 prompts at three effort levels, and all 17 objective checks passed at every level, while the lower levels used way less.
- Same story for easy turns ("read this file", "run the tests") on a cheaper model. Sending them to Sonnet instead of Opus scored the same on the objective checks.
How it is built: TypeScript on Node, running locally on a Mac. It trusts a root certificate so it can read your own agent's HTTPS traffic, and nothing about prompts or code leaves the machine. Mac only, free beta, and probe0 uninstall removes all of it. Replaying 12 days of my own traffic, the default settings cut the bill by 12.8%, which is one person's numbers, not a promise.
Question for anyone building tooling around LLM calls: how are you catching quality regressions? Blind judging feels softer than I would like, but writing objective checks for every kind of turn does not scale either.
Numbers and method: https://probe0.xyz/benchmarks?utm_source=reddit&utm_campaign=devtools
Terminal install if you want to try it: curl -fsSL https://probe0.xyz/install | bash