Direct answer
What is AI agent debugging?
AI agent debugging is the practice of tracing why an autonomous or semi-autonomous AI system made a specific decision. A useful debugging workflow captures the prompt, retrieved context, model response, tool calls, retries, errors, and side effects, then replays the failed path to identify the first unsupported assumption.