Debugging Agents in Prod: Is Reproducing Bugs or Diagnosing Them Harder?

JuniorLeg6988 · reddit · 2026-08-11

The author explores two core debugging issues often conflated when running tool-using agents in production: reproduction (can you trigger the error on demand?) and diagnosis (can you pinpoint the exact step, context, or tool call that caused it?).

They ask the community which is the bigger bottleneck and whether anyone has tried feeding the execution trace to coding agents like Claude Code for automated debugging, and if that approach actually works.

Original post →

More from coding & agent

coding & agent channel →