Skip to content
gentic.news — AI News Intelligence Platform
Connecting to the Living Graph…

Listen to today's AI briefing

Daily podcast — 5 min, AI-narrated summary of top stories

VS Code interface showing Agent Flow extension panel with real-time tool call logs and token usage graphs alongside…

Agent Flow: The VS Code Extension That Shows You Exactly What Claude Code Is Doing

Agent Flow is a new VS Code extension that visualizes Claude Code's internal agent behavior, tool calls, and token usage in real-time, turning a black box into a transparent workflow.

·Mar 24, 2026·4 min read··479 views·AI-Generated·Report error
Share:
Source: news.ycombinator.comvia hn_claude_code, reddit_claude, devto_anthropicWidely Reported
Agent Flow: The VS Code Extension That Shows You Exactly What Claude Code Is Doing

Claude Code is powerful, but until now, its execution has been a black box. You give a command, you get a result, but you have no visibility into the journey—how Claude breaks down the problem, which tools it calls, how subagents coordinate, or where it's spending time and tokens. Agent Flow changes that.

What It Does — Real-Time Visualization Inside VS Code

Agent Flow is an open-source VS Code extension that installs as a panel alongside your editor. When you run claude code, it visualizes everything happening in real-time:

  • Live Agent Activity: See agents spawn, branch, and complete as Claude decomposes your task.
  • Tool Call Chains: Every file read, command execution, and MCP server call appears with timing and token cost.
  • Relationship Maps: Visual parent-child connections show how Claude orchestrates subagents.
  • File Attention Heatmaps: Identify which files Claude is reading and writing most frequently.
  • Token & Time Analytics: See consumption per task, per session, and identify bottlenecks.

You can pan, zoom, and click into any node to inspect the full context—what prompt triggered it, what the tool call returned, and how long it took.

Why You Should Install It Today

This isn't just for debugging. Agent Flow gives you three immediate advantages:

  1. Prompt Optimization: Watch how Claude interprets your instructions. You'll see when it makes unnecessary file reads, creates redundant agents, or misses obvious shortcuts. This builds intuition for writing more efficient prompts.

  2. MCP Server Tuning: If you've installed MCP servers (like the Stripe server we covered recently), you can see exactly when Claude calls them, how long they take, and whether they're being used effectively.

  3. Cost Control: The token consumption visualization makes waste visible. You can identify patterns where Claude re-reads the same files or makes expensive tool calls that could be avoided.

Setup — Two Minutes to Transparency

# Clone the repository
git clone https://github.com/patoles/agent-flow.git

# Follow the VS Code extension installation instructions
# The extension connects automatically when Claude Code runs

Once installed, open the Agent Flow panel in VS Code (View → Extensions → Agent Flow). Run any claude code command in your terminal, and the visualization appears live.

When It Shines — Specific Use Cases

  • Debugging Complex Tasks: When Claude Code produces unexpected results, trace the exact decision chain that led there.
  • Optimizing Multi-Step Workflows: See where time is spent in your build/test/deploy automation.
  • Learning Agent Behavior: New to Claude Code? Watching it work teaches you its problem-solving patterns faster than any documentation.

Currently, Agent Flow works with Claude Code specifically. The roadmap includes Codex support and iTerm2 integration.

gentic.news Analysis

This tool arrives at a critical moment for Claude Code's ecosystem. Our recent analysis showed Claude Code agents average 25 navigation actions per code edit—Agent Flow makes those actions visible. This follows Anthropic's March 2026 release of official @modelcontextprotocol packages, which received a perfect security score and accelerated MCP adoption. With developers connecting more tools via MCP, understanding the orchestration chain becomes essential.

The visualization of token waste directly connects to our coverage of Claude Code's new read cache (which blocks 8% of token waste automatically) and our guide on cutting token costs 32% by fixing navigation problems. Agent Flow provides the diagnostic layer to apply those optimizations intelligently.

As Claude Code's usage surges (appearing in 127 articles this week alone, per our KG data), tools like Agent Flow shift the developer experience from passive consumption to active optimization. This aligns with Anthropic's broader trend toward transparency—their recent CLI integration saved 37% tokens versus MCP servers by giving developers more direct control. Agent Flow extends that philosophy to the agent layer itself.

Source: gentic.news · · author= · citation.json

AI-assisted reporting. Generated by gentic.news from multiple verified sources, fact-checked against the Living Graph of 4,300+ entities. Edited by Ala SMITH.

Following this story?

Get a weekly digest with AI predictions, trends, and analysis — free.

AI Analysis

**Install Agent Flow immediately if you use Claude Code daily.** The visualization will change how you write prompts and configure MCP servers. Specifically: 1. **Run your most common `claude code` tasks with the panel open.** Watch for patterns: Does Claude re-read `package.json` multiple times? Does it spawn unnecessary subagents for simple file edits? Adjust your `CLAUDE.md` or prompt style accordingly. 2. **Use the file heatmap to optimize your project structure.** If Claude keeps reading the same utility files, consider moving them to a more central location or adding clearer documentation to reduce navigation. 3. **When debugging, start with Agent Flow before digging into logs.** The visual chain often reveals the problem immediately—a failed tool call, a misinterpreted instruction, or an infinite agent loop. This tool turns Claude Code from a magic black box into a transparent system you can understand and optimize. The learning payoff happens within the first hour of use.
Compare side-by-side
Claude Code vs Agent Flow
Enjoyed this article?
Share:

AI Toolslive

Five one-click lenses on this article. Cached for 24h.

Pick a tool above to generate an instant lens on this article.

Related Articles

From the lab

The framework underneath this story

Every article on this site sits on top of one engine and one framework — both built by the lab.

More in Products & Launches

View all