
Agent Flow is a free, Apache-2.0 licensed VS Code extension and browser app that draws a Claude Code or Codex session as a live node graph of tool calls, branching, sub-agents, and return flows.

**It is the category's closest view of a session's reasoning structure, and the one to read the privacy cell for before installing: the published `npx agent-flow-app` build ships anonymous usage telemetry on by default, while the VS Code extension and the dev build emit nothing.**

## What it is

Agent Flow auto-detects Claude Code sessions in `~/.claude/projects/` and Codex sessions in `~/.codex/sessions/` and watches both at once, or one runtime when `agentVisualizer.runtime` is set.
Claude Code events arrive through a lightweight HTTP hook server that the extension configures on the first open of its panel, and Codex events come from tailing the `rollout-*.jsonl` files (respecting `CODEX_HOME`), which also surfaces the token counts Codex writes itself.
The canvas pans and zooms over the node graph, with multi-session tabs, a timeline and transcript panel, and a file attention heatmap.
It can also tail any JSONL event log (`agentVisualizer.eventLogPath`), so a recorded event stream can be replayed or watched the same way.
The author built it while developing Antics, an AI-driven game creation platform, because debugging agent behavior was painful, and it runs as the `agent-flow-app` npm package or the marketplace extension published by Simon P.

## Status

**Active through November: created 2026-03-21, at v0.9.6 on 2026-11-20, with main's newest commit the same day.**
1,834 stars, 227 forks, and 5 open issues, with 10 contributors, as of 2026-12-05.
The npm package counts 13 versions since 2026-03-27, and the VS Code Marketplace lists 4,243 installs and 3 ratings as of 2026-12-05.
v0.9.6 fixes a collapse in the graph: parallel calls to the same tool were matched by agent and tool name and merged into one node, so several `Read` calls starting together showed only the first file, until tool call events began carrying the call's id.

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=patoles/agent-flow&type=date&theme=dark&legend=top-left" />
  <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=patoles/agent-flow&type=date&legend=top-left" />
  <img alt="Star History Chart" src="https://api.star-history.com/chart?repos=patoles/agent-flow&type=date&legend=top-left" />
</picture>

Its Show HN of 2026-03-30 reached 9 points and 3 comments, all praise (an easy VS Code install, readable Japanese text, a long-wanted view of agents), and a resubmission on 2026-04-21 drew 1 point.
Both were submitted by the account daco, whom the commenters address as the tool's author, so the thread is not independent coverage.
The one Hacker News search I ran surfaced those two stories and nothing else.

## Strengths

- The node graph shows the execution structure a terminal hides: which tool a decision reached for, where a branch returned, and how sub-agents coordinated.
- Two runtimes from the box, with Codex token counts read from Codex's own event stream.
- The JSONL event-log input turns it into a replayer for a recorded stream, not only a live viewer.
- The README documents its telemetry precisely: what is sent, how to turn it off, and where to inspect the payload.

## Cautions

- Anonymous usage telemetry is on by default in the `npx agent-flow-app` build, opt-out through `AGENT_FLOW_TELEMETRY=false` or `DO_NOT_TRACK=1`; the events are aggregate counts, OS and architecture, model ids, and error class names, and the README says prompts, paths, tool calls, and environment variables never leave.
- Opening the panel configures Claude Code hooks on first use, a write into the harness's settings that happens without asking.
- It covers two runtimes and shows no cost in dollars, no search, and no history beyond the session's own timeline.
- The v0.9.6 fix shows a tool still finding its data model: the graph misrendered parallel tool calls until call ids were carried.
- Footprint is maker-made: two self-submitted stories and three appreciative comments, with no skeptical thread and no independent review I could find.

## Pricing

Free and Apache-2.0 licensed, with no paid tier; the author's commercial product is the Antics platform it was built for.

## Compared to

- [agents-observe](../agents-observe/index.md): the hook-fed dashboard with multi-agent trees and cost breakdowns across sessions; Agent Flow goes deeper on one session's decision graph and reports no cost.
- [claude-replay](../claude-replay/index.md): the after-the-fact replay compiled into one shareable HTML file; Agent Flow is the live view, with replay only through its JSONL input.
- [Agenttrail](../agenttrail/index.md): the map of which files and tasks a session touches against a plan; Agent Flow shows the reasoning and tool-call tree instead.

## Bottom line

**Recommended for an engineer debugging why a Claude Code or Codex session took the path it took, who will use the VS Code extension or set `DO_NOT_TRACK=1` before running the npx build.**
Not for anyone who needs a cost report, a cross-session record, or a tool that never touches the harness's hook settings.

## Changes

- 2026-12-05 - Created from the cross-category walk's routing of the 1shiharat/awesome-agent-clients list, admitted at 1,834 stars above the zero-coverage band on two self-submitted Show HN stories; the default-on npx telemetry, the automatic hook configuration, the two-runtime limit, and the v0.9.6 parallel-call fix recorded; eleven fetched sources.

## See also

- [Session Analytics Feature Matrix](../session-analytics-feature-matrix/index.md) - the category comparison this note joins
- [agents-observe](../agents-observe/index.md) - the hook-fed dashboard with the cost breakdowns Agent Flow omits
- [claude-replay](../claude-replay/index.md) - the shareable after-the-fact replay of the sessions Agent Flow watches live
- [Agenttrail](../agenttrail/index.md) - the plan-versus-code map of the same sessions

## References

- https://api.github.com/repos/patoles/agent-flow - 1,834 stars, 227 forks, Apache-2.0, created 2026-03-21, pushed 2026-11-20, as of 2026-12-05
- https://api.github.com/repos/patoles/agent-flow/readme - the runtime detection, the hook server, the Codex rollout tailing, the canvas and panels, the JSONL input, the Antics origin, and the privacy and telemetry section
- https://api.github.com/repos/patoles/agent-flow/license - the Apache License 2.0 text
- https://api.github.com/repos/patoles/agent-flow/releases/latest - v0.9.6, published 2026-11-20, and the parallel-call fix
- https://api.github.com/repos/patoles/agent-flow/commits - main's newest commit dated 2026-11-20
- https://api.github.com/search/issues?q=repo:patoles/agent-flow+type:issue+state:open - 5 open issues
- https://api.github.com/repos/patoles/agent-flow/contributors?per_page=100&anon=1 - 10 contributors
- https://registry.npmjs.org/agent-flow-app - 0.9.6 as the latest of 13 versions, first published 2026-03-27, Apache-2.0
- https://marketplace.visualstudio.com/items?itemName=simon-p.agent-flow - the VS Code extension by Simon P, 4,243 installs and 3 ratings as of 2026-12-05
- https://hn.algolia.com/api/v1/items/47569708 - the Show HN of 2026-03-30, 9 points, 3 comments, all praise
- https://hn.algolia.com/api/v1/items/47843677 - the resubmission of 2026-04-21, 1 point
