claudeers.
// Claude Plugins

claude-agent-flow

agent-flow: a live tree of the session's subagents beside the transcript, as a Claude Code mod (/flow)

// Claude Plugins[ cli ][ api ][ claude ]#claude#agent-visualization#claude-code#claude-code-plugin#developer-tools#plugins◷ Apache-2.0$open-sourceupdated about 3 hours ago

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up claude-agent-flow (git-clone project) into my current project.
Found on https://claudeers.com/claude-agent-flow
Repo: https://github.com/Charlie0113-T/claude-agent-flow
Homepage/docs: —
Detected install method: git-clone → git clone https://github.com/Charlie0113-T/claude-agent-flow
Category: plugins. Platforms: cli, api.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
unknown; community-verified: false. Confirm the source before running anything.
// or clone
git clone https://github.com/Charlie0113-T/claude-agent-flow

// compatibility

Platformscli, api
Operating systems—
AI compatibilityclaude
LicenseApache-2.0
Pricingopen-source
LanguageTypeScript

Get your FREE $2.50 API credits to access TickAtlas financial data ↗

Note: I'm still a student, so I may not be able to respond to issues or ship updates right away. I'll keep maintaining this plugin in my spare time as best I can.

agent-flow

The agent flow pane as a plugin: /flow opens a live tree of the session's subagents and in-process teammates beside the transcript, and closes it again. Each row is one agent: status, type, name, description, elapsed time, what it is doing right now (a tool call and how long it has run, or a wait for the person's approval), its call count, and its tokens once it finished. A [+] on a row expands its details: model, prompt excerpt, recent tool calls, tokens. Agents waiting for approval are highlighted; a tool call over 30 seconds and a running agent silent for two minutes are marked too. A wait for approval stays shown until the approved tool call ends, since no engine event carries the person's answer.

The tree comes from engine events (agent.spawn, tool.call, turn.complete, the classic permission events) and is reconciled with $.agent.list() every two seconds while anything runs. Loops the engine never listed (a Workflow tool's agents, the engine's own forks) appear under a collapsed "unlisted loops" group so they never vanish silently.

Where the surface cannot draw a pane (a -p run, the VS Code extension as of 2.1.270) /flow prints the same tree as text; /flow text always prints it. When the surface seats the pane inline above the prompt (narrow terminals) it shows only the rows that need attention. The first spawn of a session opens the pane by itself on a terminal of 144 columns or more (110 when you kept it open before), unless you closed it.

Hooks modules are early access and load only where function hooks are enabled; see mods/README.md.

What it hooks

eventwhat the hook does
session.startBinds the engine, registers /flow (stands down when another /flow is listed), reads the open preference, reconciles once.
ui.render of PromptHintReads the terminal's width for the auto-open decision.
ui.render of PaneDraws the pane: header, root, tree, unlisted group, last event; the inline summary when seated above the prompt.
command.run of flowToggles the pane, printing the text tree where no surface draws it; text prints it outright.
command.run of clear, resumeForgets the tree; the pane's state is kept.
ui.closeForgets an open pane the person closed, and remembers not to auto-open again.
agent.spawnAdds the new agent under its parent; opens the pane on the session's first spawn.
tool.callMarks the loop busy in the tool, then counts the call and its duration.
turn.start, turn.completeThe root's busy state; a subagent's end status, duration and tokens.
classic.PermissionRequest, classic.NotificationMarks the loop waiting for approval.

What it calls on $

agent.list, clock.after, clock.every, clock.now, clock.sleep, command.register, store.get, store.set, ui.close, ui.invalidate, ui.log, ui.open, ui.resolve, ui.status.

Install

From the standalone repository (Charlie0113-T/claude-agent-flow):

claude plugin marketplace add Charlie0113-T/claude-agent-flow
claude plugin install agent-flow@claude-agent-flow

or, for one session from a checkout:

claude --plugin-dir /path/to/agent-flow

then /flow, and ask Claude to use the Agent tool. In the VS Code extension /flow prints the tree as text; the extension has its own agent map since 2.1.269, this mod is the terminal's counterpart.

Tests

cd mods/agent-flow && bun test          # unit tests over the pure model and views
bunx tsc -p mods/tsconfig.json          # types, with the rest of the mods
claude plugin validate mods/agent-flow  # the engine's static checks
mods/agent-flow/scripts/smoke.sh        # interactive smoke test, costs API calls

tests/register.kit.ts is written for claude plugin test; rename it to register.test.ts once that command ships.

Development

The mod is developed as mods/agent-flow in the fork Charlie0113-T/ARRS-claude-code, next to the built-in mods, and mirrored to the standalone repository with scripts/sync-standalone.sh (a git subtree push of this folder). vendor/claude-code.d.ts is a copy of the engine's declarations so the standalone checkout typechecks on its own; the sync script refreshes it from mods/types, and /plugin-types writes a current one into .claude/types in any Claude Code session.

License

Apache License 2.0, see LICENSE. Copyright 2026 Charles Tao.

// faq

What is claude-agent-flow?

agent-flow: a live tree of the session's subagents beside the transcript, as a Claude Code mod (/flow). It is open-source on GitHub.

Is claude-agent-flow free to use?

claude-agent-flow is open-source under the Apache-2.0 license, so it is free to use.

What category does claude-agent-flow belong to?

claude-agent-flow is listed under plugins in the Claudeers registry of Claude-compatible tools.

0 views
★ 10 stars
unclaimed
updated about 3 hours ago

// embed badge

claude-agent-flow on Claudeers
[![Claudeers](https://claudeers.com/api/badge/claude-agent-flow.svg)](https://claudeers.com/claude-agent-flow)

// retro hit counter

claude-agent-flow hit counter
[![Hits](https://claudeers.com/api/counter/claude-agent-flow.svg)](https://claudeers.com/claude-agent-flow)

// reviews

// guestbook

0/500

// related in Claude Plugins

🔓

A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.

// pluginsmultica-ai/★ 215,548[ claude ]
🔓

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explainin…

// pluginsanthropics/⟨Python⟩★ 147,969[ claude ]
🔓

"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/

// pluginsHKUDS/⟨Python⟩★ 50,756◷ Apache-2.0[ claude ]
🔓

financial-services — a Claude ecosystem project on GitHub.

// pluginsanthropics/⟨Python⟩★ 38,867◷ Apache-2.0[ claude ]
→ see how claude-agent-flow connects across the ecosystem