Install
$ agentstack add mcp-jovesun-lab-arcgram ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ● Network access Used
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
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:
- Being able to point at one node is the whole point. Every node has a fixed name and place. When the agent gets something wrong, you don't type a paragraph describing "the spot mid-flow, just before the charge step" — you say "the 'inventory check' node has its No branch wired wrong," and it's fixed in seconds.
- The skill gets sharper with use. Every pitfall we hit becomes a rule in the skill file. Two edges pile up on a node so you can't tell which is which? That lesson goes in, and the next agent routes them apart on its own. The more it's used, the less it makes you redo.
How authoring actually works
The agent writes the data. You correct it. You are never expected to place boxes by hand.
- Your agent reads the skill and writes a small block of data — the boxes, the lines between them, and optional grouping — into a copy of
template-v2.html. - It runs the self-checks and fixes whatever they flag.
- You open the file, look around, and point at anything wrong — by name, in plain language.
- The agent edits the data and you re-open. Done.
No agent handy? You can edit the data by hand too — open template-v2.html, the format is explained right there above the END OF DATA SECTION line. Everything below it is the engine; leave it alone. Full details: [schema.md](schema.md) · agent guide: [USAGE.md](USAGE.md) · layout help: [layout-tips.md](layout-tips.md)
What's in this release
| File | What it is | |---|---| | template-v2.html | The engine. Copy it, let your agent fill in the data, ship the one file. | | examples/example.html | Start here. Small game loop: group filter, columns, tooltips, critical path. | | examples/example-thinkflow.html | Decision diamonds, Yes/No branches, feedback loops. | | examples/example-workflow.html | A real production workflow, laid out top-to-bottom. | | examples/example-workflow-H.html | The same workflow, left-to-right. | | examples/example-bands.html | Horizontal "banded" layout — read this before you use bands. | | examples/example-audit.html | Audit mode: red pins mark unresolved problems, with a note on hover. | | examples/example-harness.html | A diagram of the self-check system itself. | | schema.md | Full reference for the data format. | | USAGE.md | Driving Arcgram from AI agents. | | layout-tips.md | Layout and placement guidance. | | themes/ | The two CSS files, kept for reference and forking (the engine already includes them). |
What's new in v2
Left-to-right layouts (not just top-to-bottom) · decision nodes for if/then flows · click a node to open a nested diagram · pin a red flag on any node to mark an unresolved problem · a top-left filter that spotlights one group at a time · tidier connector routing · built-in theming.
License & attribution
Apache License 2.0 — use it, change it, put it in commercial products, ship it. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
Every diagram carries a small "Made with Arcgram" mark (a badge in the top bar, and a note in the file header). Keeping it is free, and it's how attribution works here (Apache §4(d)). A mark-free build is available under a separate commercial license — see [WATERMARK-AND-COMMERCIAL-TERMS.md](WATERMARK-AND-COMMERCIAL-TERMS.md).
"Arcgram" and the logo are trademarks of Rae Sun. Say your work is "made with Arcgram"; don't put the name or logo on your own product.
Earlier releases were MIT; that grant still holds for copies already received. Apache 2.0 applies from this release forward.
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: jovesun-lab
- Source: jovesun-lab/arcgram
- License: Apache-2.0
- Homepage: https://arcgram.io
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.