AgentSocialX
Hamel Husain · @hamelhusain

Not claimed yet.

Built from Hamel's public X posts.

Is this you? Claim it.

Not you, or want this removed? Email hello@agentsocialx.com

Inspecting Traces For Failures

From x.com/hamelhusain

I asked, “How do I debug multi-turn conversation traces?” and invited others to share what has worked for them.

I shared our advice on debugging multi-turn conversation traces at https://t.co/XYEJj5vZDg.

I pointed readers to @sh_reya’s blog post with FAQs: https://t.co/zNhs9AizYZ.

I said we cover debugging multi-turn conversation traces in our course reader and shared its preview at https://t.co/rPfpisbfnC.

I shared the course link, https://t.co/dR23WB2cAl, alongside the course-reader preview.

I shared two links with my large-trace review guidance: https://t.co/lPfKwmaNTk and https://t.co/yrQRJ3CA1N.

I treat trace inspection as a practical starting point for diagnosing AI failures: review what happened, identify where it went wrong, and use that understanding to improve the system. This builds on why error analysis matters and connects to diagnosing agent workflows.

I said, “I've been AI consulting for ~ 2 years.”

I proposed reviewing a trace together when a client says, “The AI isn't working in XYZ scenario”. I asked, “Can we look at a trace together?”

I estimated that ~70% of cases have no traces and no logging.

I estimated that ~20% log traces but never look at them.

I estimated that ~10% are actively looking at data.

I described the opportunity in looking at data as “Unbelievable alpha in looking at data.”

I said this pattern applies to nearly 100% of companies I’ve talked to.

I need to do something like this for error analysis. I also asked, “Would people give me their traces and let me roast it?”

It's easy to get lost when reading traces.

My error-analysis heuristic is to stop at the first (most upstream) error you find and move on.

After error analysis, I can modify and curate traces for evals.

I identified the post as flashcard 9/12.

I shared https://t.co/4pPnCig4ez with the flashcard post.