Who it is forA developer or architect who wants to evaluate the canvas editor and export quality before paying for or configuring a model service.
The problemYou want to judge the diagram editor and its exports before wiring up a model provider or uploading any company material.
The outcomeAn edited sample diagram exported as SVG or PNG, produced entirely on your machine with no model call.
What you need first
- Python 3.10+, Node.js 22.12+, and npm installed on your machine
- A model service with a Chat Completions compatible API that supports tool calling, plus its API key, for chat, generation, and document understanding
- A vision-capable model if you want to send images to the assistant
Steps
- Run
git clone https://github.com/weike-zhang/architecture-canvas.gitand thencd architecture-canvas. - Run
python3 start.pyto set up the environment and build the page, then open http://127.0.0.1:5093. - Run
python3 demo.py --output demo-session.jsonto create the sample session file. - In the page, open 上下文 and choose 导入会话备份, then select demo-session.json.
- Drag the modules, edit the text, and export the result as SVG or PNG.
Prompt for your agent
Using the architecture-canvas repo at https://github.com/weike-zhang/architecture-canvas, run python3 demo.py --output demo-session.json, import that file into the local page, and export the diagram as SVG. Expected output: an SVG file of the sample knowledge assistant diagram. Verify that the file opens offline and that no model or search request was made.
Caveat. The demo structure is hand-written as a knowledge assistant example and the README states it does not call a model or search, so it only shows editing and export.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for weike-zhang/architecture-canvas and "Edit and export a sample architecture diagram with no API key"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer