AI Products

DeepDiagram

Describe it, and AI draws the diagram

DeepDiagram is an open-source AI visualization platform that turns text, images and documents into professional diagrams. Built on LangGraph multi-agent orchestration, it has dedicated agents for mind maps, flowcharts, data charts, Draw.io architecture diagrams, Mermaid and infographics, with a router that picks the right one. You watch the design reasoning stream in real time, then edit the result on an interactive canvas and export it.

1,00287TypeScriptAGPL-3.0
DeepDiagram — Describe it, and AI draws the diagram

Key features

Six specialized agents

Mind maps, flowcharts, ECharts, Draw.io, Mermaid and AntV infographics each have their own agent.

Smart routing

Pick an agent with @mindmap or @flow, or let the router choose based on intent and conversation context.

Visible design reasoning

Design reasoning and diagram code stream separately, so you see how the AI plans before it renders.

Documents and images as input

Upload PDF, DOCX, XLSX or PPTX files, or photos of whiteboards and sketches, and turn them into diagrams.

History and branching

Sessions are saved automatically, and retries create branches you can flip between.

Edit and export

Zoom, pan and edit on the canvas, then export as PNG or SVG.

Screenshots

Click any image to enlarge

Quick start

  1. Clone the repository
  2. Create a .env in the project root with OPENAI_API_KEY, OPENAI_BASE_URL and MODEL_ID (any OpenAI-compatible API)
  3. Start with Docker Compose and open http://localhost
git clone https://github.com/LingyiChen-AI/DeepDiagram.git
cd DeepDiagram
# create .env with OPENAI_API_KEY / OPENAI_BASE_URL / MODEL_ID
docker-compose up -d

Tech stack

React 19ViteTypeScriptTailwind CSS 4ZustandReact FlowMind-elixirMermaidEChartsAntV InfographicPythonFastAPILangGraphLangChainPostgreSQLSQLModelDockerNginx

FAQ

What is DeepDiagram?

Describe it, and AI draws the diagram. DeepDiagram is an open-source AI visualization platform that turns text, images and documents into professional diagrams. Built on LangGraph multi-agent orchestration, it has dedicated agents for mind maps, flowcharts, data charts, Draw.io architecture diagrams, Mermaid and infographics, with a router that picks the right one. You watch the design reasoning stream in real time, then edit the result on an interactive canvas and export it.

Is DeepDiagram open source?

Yes. DeepDiagram is open source on GitHub (https://github.com/LingyiChen-AI/DeepDiagram) under the AGPL-3.0 license.

Can I try DeepDiagram online?

Yes, the live version is at http://deepd.cturing.cn.

How do I get started with DeepDiagram?

1. Clone the repository; 2. Create a .env in the project root with OPENAI_API_KEY, OPENAI_BASE_URL and MODEL_ID (any OpenAI-compatible API); 3. Start with Docker Compose and open http://localhost

What is DeepDiagram built with?

React 19, Vite, TypeScript, Tailwind CSS 4, Zustand, React Flow, Mind-elixir, Mermaid, ECharts, AntV Infographic, Python, FastAPI, LangGraph, LangChain, PostgreSQL, SQLModel, Docker, Nginx.