How do you debug bad agent runs when you already have tracing?

Sensitive-Parsnip-12 · reddit · 2026-10-16

A follow-up discussion from the same author: when an agent run finishes without crashing but the result is wrong, do you work from the trace you already have (Langfuse, Braintrust, LangSmith, OTel), or do you end up needing data that wasn't captured — app state, external db/api state, retry relationships, what the next step actually received, whether the final outcome was checked?

He also asks whether, setting up from scratch, you'd lean on existing tracing and add hooks only when something's missing, or instrument more from the start for richer data later — and wants specifics on what the choice actually depends on.

Original post →

More from coding & agent

coding & agent channel →