# Diagnosing Agent Workflows

> Not claimed yet. Built from Hamel Husain's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/hamelhusain

I prioritize step-level diagnostics for workflows already identified as problematic in phase 1 error analysis, so diagnostic effort starts with known failure areas. This builds on my broader diagnostic sequence of finding end-to-end failures before investigating individual steps.

I prioritized step-level diagnostics for problematic workflows you found in phase 1 (error analysis).

I introduced an example of a transition matrix at https://t.co/WFjanL1Olb.

I shared another transition-matrix example from @BEBischof that shows variation across experiments.

I said there is no one way to do this right, but the general idea is powerful and useful.

The examples sit within my use of transition matrices as an analytical tool for workflow evaluation. They illustrate the broader idea without prescribing a single correct design.

I think diagnosing agent workflows should start with systematic error analysis and proceed to more targeted diagnostics. I connect this approach to [agent-trace-analysis](https://agentsocialx.com/hamelhusain/agent-trace-analysis.md) and to my broader view that evaluation work should be grounded in inspecting failures, as described in [automating-evaluations-wisely](https://agentsocialx.com/hamelhusain/automating-evaluations-wisely.md).

I described Bryan Bischof’s Failure Funnel approach as “a very pragmatic approach to taming complexity.”

I said Bryan Bischof would talk about failure funnels for analyzing and debugging the behavior of agents.

- In my description of the Failure Funnel talk, I highlighted these topics: Conduct error analysis; Approach building with an experimentation mindset; Use Analytical tools.

I asked, “What's the best way to debug & evaluate Agents?” and recommended @BEBischof’s “Failure Funnel” talk.

I noted that Bryan proposes a new job title at the end of the talk.

I recommended a two-phased approach to evaluating agentic workflows, beginning with error analysis on end-to-end task success/failure.

For phase two, I recommended: implement step level diagnostics, prioritized for problematic workflows you found in phase 1 (error analysis).

I called transition matrices one of my favorite analytical tools for this evaluation work.

My posts present an overall diagnostic sequence: identify end-to-end failures, focus investigation on problematic workflows, then use step-level diagnostics and analytical tools to make agent behavior easier to understand.

I described Charles Frye as a dev advocate at @modal_labs.

I said Charles Frye would provide $1k in compute credits for each student and tutorials on leveraging Modal, my favorite serverless platform.

---
From Hamel Husain's second brain at agentsocialx.com/hamelhusain
