agent-flow
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-flowOrganize this project's progress into a flowchart"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agent-flow
Let your AI agent maintain a living flowchart of the project โ so you never read 10,000-word status docs again.
๐ฎ Live Demo ยท ไธญๆๆๆกฃ ยท Report Issue
The Problem
If you build projects with AI agents (Trae, Cursor, Claude Code, ...), you know this loop:
The agent writes 10,000-word Markdown progress docs โ nobody reads them
Half the terms it uses you don't understand, so trust erodes
Weeks in, the project has drifted far from the original plan and nobody knows what's done, what's broken, and what's waiting on you
agent-flow flips this: the agent maintains a single flowchart (flow.json) as it works. You open one HTML file and see everything:
How the project is decomposed and what connects to what
Which features are done, in progress, or just planned โ 7 color-coded states
Where the bugs are and which nodes are waiting for your decision
No more reading. Just look.
Related MCP server: Overboard Studio
How It Works
You โโtalkโโ> AI agent โโcalls 14 MCP toolsโโ> .flow/flow.json (single source of truth)
โ
You <โโopen in browserโโ .flow/flow.html (auto-rendered, zero deps)Install once, register the MCP server in your AI tool
Talk normally: "add a payment module", "we shipped the login API" โ the agent records it into the graph
Open
flow.htmlanytime: zoom, drag, click nodes for details, double-click modules to drill into subgraphs
Live demo (no install): wysdshg.github.io/agent-flow/demo.html โ drag nodes, click for details, double-click a module to enter its subgraph.
Quick Start
npm i -g agent-flow-mcp # install the CLI + MCP server globally
npx agent-flow init # inside YOUR project: creates .flow/ and prints MCP configgit clone https://github.com/wysdshg/agent-flow.git
cd agent-flow && npm install && npm run build && npm linkThen add the MCP server to your AI tool (Trae / Claude Desktop / Cursor / any MCP client):
{
"mcpServers": {
"agent-flow": {
"command": "agent-flow",
"args": ["mcp"]
}
}
}
Claude Code:
claude mcp add agent-flow -- agent-flow mcpCursor: put the JSON above in
.cursor/mcp.jsonNo MCP environment? Use the CLI fallback:
agent-flow batch spec.jsonbuilds the whole graph from one JSON file and renders it.
Now just tell your agent: "Organize this project's progress into a flowchart" โ and keep talking to it normally while it maintains the graph.
The 7-State System
Every node carries an honest, test-backed status. The agent is instructed (via the bundled SKILL.md) to only mark completed after tests pass:
State | Color | Meaning |
| ๐ข green | done and tested |
| ๐ต light blue | being written now |
| ๐ท dark blue | design settled, not started |
| ๐ด red | has a bug |
| โช gray | raw idea, not yet planned |
| ๐ก yellow | waiting for you to decide |
| ๐ค brown | abandoned, kept for history |
Module nodes aggregate their children: all done โ green; one unfinished state โ that color; mixed states โ the module shows all of them as color segments. Deprecated nodes are ignored โ dead code shouldn't raise alarms.
22 Node Types
Flow:
startendprocessjudgemoduleData:
databasetablefilesql(tables auto-attach to their database)AI apps:
llmtool_callretrievalrerankassembleapiembeddingcachequeuepromptagenthuman_loopcheckpoint
module / llm / tool_call / agent / assemble support multi in/out ports. Layout is fully automatic (dagre, left-to-right) โ the agent never deals with coordinates.
Human-in-the-Loop Editing
Drag nodes to rearrange (saved in your browser, never pollutes the JSON the AI reads). Right-click-drag to box-select and move groups. If you change a node's state or delete it in the viewer, it generates a small ops JSON โ paste it back to your agent and it syncs the graph, always re-reading the latest file first.
CLI Reference
agent-flow init # init + print MCP config
agent-flow batch spec.json # one-shot graph build (great for retrofitting old projects)
agent-flow apply ops.json # run [{"tool":"add_node","args":{...}}, ...]
agent-flow render # re-layout + refresh flow.html
agent-flow status # progress overview (JSON)
agent-flow validate # graph sanity check
agent-flow mcp # start the MCP stdio serverWhy Not Mermaid / draw.io?
Mermaid | draw.io | agent-flow | |
AI maintains it as it codes | text diffs, merge hell | can't | โ 14 typed tools |
Status colors (7 states) | manual | manual | โ built-in semantics |
Human view | re-render | yes | โ zero-dep single HTML |
Coordinates | manual | manual | โ automatic (dagre) |
Development
npm run build # tsc
npm test # smoke tests (tsx)If agent-flow saves you from doc-hell, please give it a โญ โ it helps other builders find it.
This server cannot be deployed
Maintenance
Related MCP Connectors
Create and manage Mermaid.js flowcharts and diagrams with AI agents via MCP.
Create, read and live-edit visual boards, Kanban plans, Gantt timelines and diagrams with AI agents.
Free public MCP for AI agents โ 193 tools, 44 workflows. No API key.
Hosted MCP for creating, checking, deploying, and hosting static sites for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAI-native project management with persistent memory for coding agents. 17 MCP tools for features, stories, sprints, architecture decisions, knowledge base, and session tracking.3MIT
- AlicenseNot gradedqualityDmaintenanceCreate visual whiteboards, diagrams, flowcharts, and project plans from AI conversations. 17 MCP tools for board management, element creation, and real-time collaboration.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to create, edit, and export flowcharts through a local web-based editor with visual drag-and-drop, real-time sync, and 14 MCP tools for full node/edge CRUD.2Apache 2.0
- AlicenseNot gradedqualityBmaintenanceA local, model-independent DAG task coordinator for AI coding agents, with a static visual UI, validated state machine, resumable JSON progress, and MCP tools.MIT