Who it is forAn engineer on a team running an AI agent in production who has just seen a real run fail and wants that exact failure to never come back.
The problemHand-writing eval datasets is a guess about what might break, and dashboard numbers move without stopping a release.
The outcomeThe failing run is frozen into a hermetic case with recorded fixtures, and CI fails any pull request that reproduces it.
What you need first
- Docker and Docker Compose
- For local development: uv, Node 20+ and pnpm
- A GitHub repository with pull requests, if you want the CI gate
- Python, to install the tracelyai-sdk package
Steps
- Run
docker compose --profile demo up -d --build --waitin the cloned Tracely repository. - Open http://localhost:3001 and find a failing run in the traces view.
- Promote the failing trace to a regression case in one click.
- Run
pip install "tracelyai-sdk[openai]"in your agent project and send traces to the Tracely ingest endpoint. - Add the Tracely GitHub Action so
tracely gateruns on every pull request.
Prompt for your agent
In the Tracely-ai repository, start the demo stack with `docker compose --profile demo up -d --build --wait`, then promote one failing trace in the UI at http://localhost:3001 to a regression case. Report the case name and confirm the case shows a fail-to-pass contract. Verify that the case appears in the cases list before finishing.
Caveat. The README says the case replays against recorded fixtures with no model spend, but you still need your own agent wired to send traces before any failure appears.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for jwuthri-cloud/Tracely-ai and "Turn a failing agent trace into a PR-blocking test"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer