What problem does it solve? When an AI agent fails, gives wrong answers, or frustrates users, teams struggle to pinpoint why. This Skill performs root cause analysis on specific AI agent sessions or failure patterns by combining session metadata, full conversation transcripts, and span-level execution traces from Amplitude Agent Analytics. ## Core Features & Use Cases - Session Deep-Dives: Retrieves detailed session enrichment data, conversation transcripts, and execution traces for up to 5 sessions in parallel. - Failure Classification: Categorizes failures as tool errors, LLM failures, orchestration issues, user confusion, or data/context problems. - Pattern Detection: Groups failing sessions by agent, topic, or tool to determine whether an issue is one-off or systemic. - Use Case: A user reports that the Chart Agent keeps timing out. The Skill queries recent failed sessions, traces the spans to find a tool timeout after 30 seconds, confirms the pattern across sessions, and recommends adding retry logic with exponential backoff. ## Quick Start Ask the assistant to investigate why session abc-123 failed and identify the root cause using Amplitude Agent Analytics.