DEV Community

fulminegit
fulminegit

Posted on

GlitchMuseum: An Open-Source Toolkit for AI Agent Regression Testing — Contributors Wanted

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
Enter fullscreen mode Exit fullscreen mode

Run an example regression test:

npx --no-install glitchmuseum verify GM-001 --fixture corrected
Enter fullscreen mode Exit fullscreen mode

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

Disclosure: This article and the project were developed with AI assistance.

Top comments (0)