Diagnosing Failures in Production AI Agents

DoorDash · Summer 2026

Diagnosing a production AI agent failure often means piecing together evidence from transcripts, prompts, and code. This project explores how to do that systematically by grouping recurring failures, testing hypotheses against the source sessions, and checking proposed fixes for regressions. In a comparison using production traffic, both the structured pipeline and general-purpose agents found real issues. The structured pipeline made it easier for engineers to trace a diagnosis back to its evidence.

A two-stage diagram showing failure mining followed by a loop that tests proposed fixes.
Failure mining and tuning. Figure 9 from the DoorDash Engineering write-up.

← All projects