DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to edit and export a sample architecture diagram with no API key with Architecture Canvas

Load the bundled demo session and drag, relabel, and export a diagram without any model settings.

Short answer: Run git clone https://github.com/weike-zhang/architecture-canvas.git and then cd architecture-canvas; then run python3 start.py to set up the environment and build the page, then open http://127.0.0.1:5093; run python3 demo.py --output demo-session.json to create the sample session file. All steps.

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

  1. Run git clone https://github.com/weike-zhang/architecture-canvas.git and then cd architecture-canvas.
  2. Run python3 start.py to set up the environment and build the page, then open http://127.0.0.1:5093.
  3. Run python3 demo.py --output demo-session.json to create the sample session file.
  4. In the page, open 上下文 and choose 导入会话备份, then select demo-session.json.
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer