Agent Failure Root Cause Tracer

0•

Traces the first causal divergence in failing AI agent trajectories and builds robust two-layer regression test suites.

Agent Failure Root Cause Tracer provides a rigorous methodology for debugging complex AI agent execution failures by identifying the earliest point of divergence rather than treating cascading symptoms as root causes. Distilled from authoritative research in 'Understanding AI Agents', this skill guides engineers through reverse evidence chain analysis, differentiating between environment facts, model reasoning, and human policies. It helps teams construct two-layer regression suites—combining end-to-end outcome validation with trajectory prefix boundary tests—to ensure agent behavior improvements stick without introducing regressions.

Key Features

01Identifies the earliest causal divergence point across execution trajectories
02Validates failure hypotheses using counterfactuals and trajectory replays
03Distinguishes between environmental facts, model inferences, and manual policies
04Separates cascading symptoms from actual root cause failure layers
05Constructs two-layer regression tests for end-to-end and prefix boundaries
060 GitHub stars

Use Cases

01Constructing regression test suites after identifying flaky or failed agent trajectories
02Pinpointing whether agent breakdown originated in tool definitions, context truncation, or model generation
03Diagnosing multi-step agent workflow failures without misattributing root causes to terminal error logs