whatbroke, a CLI that diffs an agent's behavior between two traced runs #12150
Closed
arthi-arumugam-git
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I made an open source CLI called whatbroke that diffs an AI agent's behavior between two traced runs. You change something (model, prompt, a tool description), run the same job again, and it reports the behavioral diff: tool calls dropped or added, arguments that changed, outputs that flipped, cost and latency moves.
If you trace Haystack pipelines through OpenTelemetry, you can export the spans as OTLP JSON and import them, no code changes. Langfuse exports and LangSmith run dumps work too, plus a plain JSONL format for recording traces directly.
Repo: https://github.com/arthi-arumugam-git/whatbroke
MIT, 87 tests, exit code 1 on breaking findings so it drops into CI. The case study in the repo shows a 3x smaller model silently passing a tool's own JSON schema as the tool arguments while the replies still read fine. Feedback welcome.
All reactions