Agent Flow: A beautiful way to visualize what Claude Code does
TL;DR Highlight
Agent Flow visualizes Claude Code execution in real time — trace tool call chains, time distribution, and subagent coordination for debugging and prompt improvement
Who Should Read
Developers using Claude Code to build agents or integrate them into products
Core Mechanics
- Agent behavior understanding: see how Claude breaks down problems, which tools it selects, and how subagents coordinate
- Debugging support: trace the exact sequence of decisions and tool calls that led to a failure
- Product development: visual tool behavior makes it easier to iterate prompts, tool design, and orchestration logic
Evidence
- Developer uses it daily for iterating on prompts, tool design, and orchestration logic in their own products
How to Apply
- Use Agent Flow to visualize Claude Code execution when debugging agents — trace the exact tool call chain that led to a failure
- Before writing new agent prompts, observe how existing prompts are interpreted and executed to build intuition