Workflow · AI agent debugging workflow
AI agent debugging workflow
Use an AI agent to debug by proving the root cause before editing files or guessing fixes.
Quick answer
A good debugging agent reproduces the issue, narrows the failing path, proves the root cause and only then applies a small fix.
Workflow
Start from the error, collect logs, inspect recent changes, create a minimal reproduction and run the smallest check that proves the fix.
Failure mode
The failure mode is patching the symptom before proving why the behavior changed.
FAQ
Should an agent edit immediately when debugging?
No. It should first prove the root cause with logs, code path evidence or a failing test.