Automatically Find Agent Failure Modes with Issue Detection
Most agent failures do not throw errors. An agent loops, claims it completed an action it never took, or confidently reports a fact unsupported by its tools. Nothing crashes, dashboards stay green, and the problem only becomes visible when a user reports it.
The proven way to uncover these failures is error analysis: review real traces, record what went wrong, agree on names for recurring failure modes, and measure how often they happen. It works, but the process is slow and manual.
In this workshop, we’ll introduce Issue Detection, a new Mastra workflow for turning production traces into a structured failure taxonomy, a labelled dataset, and eventually a classifier that automatically tags new issues as they occur.
We’ll cover:
Finding traces worth reviewing by screening for suspicious behavior or sampling production runs
Reviewing failures with evidence using concise trace summaries, claims checks, and suggested issue tags
Building a shared taxonomy and dataset from real failures reviewed and settled by your team
Training and evaluating a classifier that detects recurring failure modes and automatically tags new traces
You’ll see how issue tags can reveal patterns such as looping, broken rules, incorrect tool arguments, unfinished work, and final answers that contradict what the agent actually did.
Join us for a live demo, real code, and the chance to ask questions directly to the engineers building Issue Detection.
Hosted by
Alex Booker, Head of Developer Experience and Education, Mastra
Abhi Aiyer, Co-Founder and CTO, Mastra
Recording and code examples will be available to everyone who registers.
