AI agents can produce convincing answers even when their tools fail. How can we detect these failures before they become recurring problems?
I've been working on GlitchMuseum, an open-source toolkit for reproducible AI agent regression testing.
Getting started
Install GlitchMuseum:
npm install --save-dev --save-exact glitchmuseum@0.2.0
Run an example regression test:
npx --no-install glitchmuseum verify GM-001 --fixture corrected
The toolkit supports local trace imports, anonymization, regression contracts, interactive failure replay and GitHub Actions integration.
It also includes a working FastMCP example demonstrating how a caller should handle tool errors.
What I'd like to explore next
- Testing additional AI agent frameworks
- Improving interoperability
- Creating reproducible examples of real agent failures
- Making regression testing easier for independent developers
I'd appreciate technical feedback from developers working with AI agents, MCP and automated testing.
Resources
- Source code: https://github.com/fulminegit/glitchmuseum
- Interactive Lab: https://fulminegit.github.io/glitchmuseum/#/lab
- npm: https://www.npmjs.com/package/glitchmuseum
Disclosure: This article and the project were developed with AI assistance.
Top comments (0)