DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5
160 stars · Python

How to use Architecture Canvas: what you can do with it

What is Architecture Canvas? Architecture Canvas is a local Python and Node app that lets you chat with your documents to create and refine editable architecture diagrams on an Excalidraw canvas.

How do I use it? Run git clone https://github.com/weike-zhang/architecture-canvas.git and then cd architecture-canvas; then run python3 start.py and open http://127.0.0.1:5093 in your browser; Click 模型设置 in the lower left corner and enter a tool-calling model URL, model name, and API key. Full steps below.

Trended earlier

View repo on GitHub

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

3 use cases

  • Turn a requirements document into an editable architecture diagram

    Upload a spec, let the assistant draft a diagram, then refine it by chat and export SVG or PNG.

    View prompt
    Using the architecture-canvas repo at https://github.com/weike-zhang/architecture-canvas, start the local workspace with python3 start.py, upload the document at <path-to-requirements-doc>, and ask the assistant to generate a layered architecture diagram. Expected output: an exported SVG or PNG of the diagram. Verify that the component count is 22 or fewer and that the component list matches the document.
  • Edit and export a sample architecture diagram with no API key

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

    View prompt
    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.
  • Let an AI agent render diagrams through the MCP server

    Connect an agent over MCP stdio so it can read documents in one approved folder and render diagrams.

    View prompt
    Using the architecture-canvas repo at https://github.com/weike-zhang/architecture-canvas, start python3 mcp_server.py with --root set to <authorized-docs-dir> and call the document reading tool on <document-name>. Expected output: a rendered diagram or document text limited to that folder. Verify that a path outside the --root folder is refused.

Quick start with Architecture Canvas

  1. Check you have what it needs: 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.
  2. Open weike-zhang/architecture-canvas on GitHub and read the README and license.
  3. Run git clone https://github.com/weike-zhang/architecture-canvas.git and then cd architecture-canvas.
  4. Run python3 start.py and open http://127.0.0.1:5093 in your browser.
  5. Click 模型设置 in the lower left corner and enter a tool-calling model URL, model name, and API key.
  6. Upload your requirements file (TXT, Markdown, DOCX, XLSX, PPTX, or PDF) and ask the assistant to draft the architecture.

These steps come from our top use case, Turn a requirements document into an editable architecture diagram, which also has a copy-paste agent prompt.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for weike-zhang/architecture-canvas

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Best AI repos for Software and DevOps

About this repo

  • Who it is forSoftware architects, tech leads, and product engineers who turn requirement documents into architecture diagrams and want to keep editing them by chat.
  • Why it is hot160 stars, launched 37 days ago
  • LanguagePython
  • Sourcegithub.com/weike-zhang/architecture-canvas · Back to Hot repos

Requirements

  • 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

Add this badge to your README

Maintain Architecture Canvas? Show readers where to find these use cases. Use cases on Deduped

Markdown

[![Use cases on Deduped](https://dedupedai.com/badge/weike-zhang/architecture-canvas.svg)](https://dedupedai.com/use-cases/weike-zhang-architecture-canvas/?utm_source=github&utm_medium=badge&utm_campaign=weike-zhang-architecture-canvas)

HTML

<a href="https://dedupedai.com/use-cases/weike-zhang-architecture-canvas/?utm_source=github&amp;utm_medium=badge&amp;utm_campaign=weike-zhang-architecture-canvas"><img src="https://dedupedai.com/badge/weike-zhang/architecture-canvas.svg" alt="Use cases on Deduped" height="20"></a>

A static image, no tracking script. About the badge

Questions about Architecture Canvas

What is Architecture Canvas?

Architecture Canvas is a local Python and Node app that lets you chat with your documents to create and refine editable architecture diagrams on an Excalidraw canvas. It is an open-source project on GitHub: https://github.com/weike-zhang/architecture-canvas.

How do I use Architecture Canvas?

Run git clone https://github.com/weike-zhang/architecture-canvas.git and then cd architecture-canvas; then run python3 start.py and open http://127.0.0.1:5093 in your browser; Click 模型设置 in the lower left corner and enter a tool-calling model URL, model name, and API key. The use cases on this page give the full steps and a copy-paste agent prompt for each job.

Who is Architecture Canvas for?

Software architects, tech leads, and product engineers who turn requirement documents into architecture diagrams and want to keep editing them by chat.

What can I do with Architecture Canvas?

3 use cases so far, for example: Turn a requirements document into an editable architecture diagram; Edit and export a sample architecture diagram with no API key; Let an AI agent render diagrams through the MCP server. Each has steps and a copy-paste agent prompt.

What do I need to run Architecture Canvas?

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.

What are alternatives to Architecture Canvas?

Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.

Is Architecture Canvas safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.