Back to browse
GitHub Repository

Real-time visualization of Claude Code agent orchestration — see your agents think, branch, and coordinate as they work.

974 starsTypeScript

Agent Flow: A beautiful way to visualize Claude Code actions

by daco·Mar 26, 2026·5 points·3 comments

AI Analysis

●●SolidSolve My ProblemSlick

Finally makes Claude Code's black box execution visible with real-time node graphs.

Strengths
  • Zero-latency HTTP hook server streams events directly from Claude Code sessions.
  • Interactive canvas shows agent branching, tool calls, and subagent coordination visually.
  • JSONL log file support enables replay and debugging of past agent sessions.
Weaknesses
  • Only works with Claude Code and VS Code, no support for other agents or editors.
  • Niche audience limits broader adoption beyond the agent-building community.
Target Audience

Developers building AI agents with Claude Code

Similar To

LangSmith · Braintrust · AgentOps

Post Description

Hey HN,

Claude Code is powerful, but its execution is a black box. You see the final result, not the journey. Agent Flow makes the invisible visible in realtime:

- Understand agent behavior: See how Claude breaks down problems, which tools it reaches for, and how subagents coordinate - Debug tool call chains: When something goes wrong, trace the exact sequence of decisions and tool calls that led there - See where time is spent: Identify slow tool calls, unnecessary branching, or redundant work at a glance - Learn by watching: Build intuition for how to write better prompts by observing how Claude interprets and executes them

It's also been really useful when building agents into your own product. Having a visual way to see how an agent actually behaves makes it much easier to iterate on prompts, tool design, and orchestration logic.

It's also been invaluable when building agents into your own product. I've been using it every day to understand how the Anthropic Agent SDK behaves, and seeing agent orchestration visually makes it so much easier to iterate on prompts, tool design, and coordination logic.

It's also interactive, and shows what's happening as Claude Code works: which agents are active, what tools they're calling, how they coordinate, and where time and tokens are being spent.

You can pan, zoom, click into any agent or tool call to inspect it.

It runs as a VS Code extension — opens as a panel right alongside your editor.

What you can see:

- Live agent spawning, branching, and completion - Every tool call with timing and token usage - Token consumption per task and per session - Parent-child agent relationships - File attention heatmaps (which files agents are reading/writing most) - Full transcript replay - Multi-session support for concurrent workflows

Currently works with Claude Code. Codex support and iTerm2 integration are next on the roadmap.

GitHub: https://github.com/patoles/agent-flow

Similar Projects

Developer Tools●●Solid

Npx Claude-traces, visualizer for Claude Code/Agent SDK traces

Runs with one npx command and immediately surfaces a helpful timeline view with token counts, tool I/O panes and subagent nesting — exactly the sort of visibility you want when an agent goes off the rails. Cleverly reads the local ~/.claude/projects traces so setup is trivial, but its usefulness is limited by being Claude-only and local; add search/aggregation or a team-sharing mode and this jumps up a tier.

Niche GemSolve My ProblemSlick
hahawhatsgood
204mo ago