Arcgram
Arcgram turns your AI agent's plan into a diagram you can check and fix — before anything runs.
Your AI agent can hand you something that looks right — an analysis, a workflow, a plan, code — while a broken step or a bad dependency hides underneath. Even a senior developer can't catch every trap in a wall of context, and AI will make things up with a straight face, leaving you no view into how it reasoned.
Arcgram is the tool you use to direct your agent: it turns the agent's reasoning into a diagram you both can read, where a missing step dangles in space and a circular dependency is a dead loop you catch at a glance. Its built-in Audit check then marks the nodes that need work, so you fix the exact part that matters.
One skill file. Runs on Claude, GPT, and Gemini — and on DeepSeek, Kimi (Moonshot), and Zhipu GLM — in tools like Cursor, Cline, and Aider, down to mid-sized local models. The result is a single HTML file with no dependencies — about 290 KB, pan / zoom / hover / filter, opens in any browser. No build step, no npm, no CDN, nothing to run.
Try it in 30 seconds
Live demos (GitHub Pages, no install) — click one, then pan / zoom / hover:
- Start here → a game-system flow — the canonical demo: hover tooltips, columns, critical path
- A decision flowchart — diamonds, Yes/No paths, feedback loops
- How to use Arcgram — the core loop: your agent proposes → you give feedback → it fixes → you confirm
- The self-own — it red-pens its own weak nodes: your agent hands you several options and you can't tell which is best or most maintainable, so it flags its own flaws right on the diagram
Install (Claude Code / Cowork):
/plugin marketplace add jovesun-lab/arcgram
/plugin install arcgram
That gives your agent the authoring skill plus three self-checks (Checkpoint / Reconcile / Validate). Then just ask it to "draw this plan as an Arcgram."
Agents must: read SKILL.md, copy template-v2.html, fill the data block at the top, ship the file. Leave everything below END OF DATA SECTION — that's the engine. One file, nothing else:
curl -O https://raw.githubusercontent.com/jovesun-lab/arcgram/main/template-v2.html
Don't git clone the whole repo in CI or an agent workflow — the single file above is enough.
Everything it does, at a glance
Every feature grouped by what it's for — read it like a one-page spec:
Follow the blog — we share practical tips and case studies now and then.
Mermaid vs Arcgram
Both Mermaid and Arcgram come down to writing a spec that a machine renders — the difference isn't there, it's who writes it, and why: Mermaid is a diagram you write by hand, for people to read; Arcgram is one your agent writes from its own plan, for you to check. Everything else follows from that:
| Mermaid | Arcgram |
|---|
| Who draws it | you, by hand | your agent, from its own plan |
| Layout | automatic, shifts each time | fixed positions — every node stays put and can be pointed at |
| Gaps in the plan | render fine, stay hidden | show up as a broken line you can see |
| Checks its own work | no | yes — three self-checks the agent runs before you ever see it |
| To share it | needs a renderer | one HTML file, opens anywhere |
Two things worth knowing before you start: