What is the best open-source AI tool for drawing diagrams?
The best open-source AI repos for drawing diagrams with AI right now are Next AI Draw.io, Diagram Design and vibeX. Next AI Draw.io is the easiest start: describe the diagram in chat and get an editable draw.io file. Diagram Design makes polished HTML and SVG diagrams in your brand style from a coding agent, and vibeX and QGraphFlow draw diagrams straight from your schema or source code.
Comparison
| Repo | What it does | Stars | Start here |
|---|---|---|---|
| Next AI Draw.io | Next AI Draw.io lets you create and edit draw.io diagrams by chatting with an AI, as a web app, desktop app and MCP server for Claude Code, Cursor, Codex and VS Code. | n/a | Draw a cloud architecture diagram from one sentence |
| Diagram Design | Diagram Design is an agent skill that makes one self-contained HTML and SVG diagram file in a consistent editorial style, matched to your brand. | 58,715 | Draw an architecture diagram for a doc or post |
| vibeX | vibeX is a tool that generates architecture diagrams and checkable docs from your Prisma schema, OpenAPI document, GraphQL SDL, or source code, delivered as one standalone HTML file. | 388 | Draw the real data model from a Prisma schema |
| SeeCode | SeeCode is a JavaScript tool that turns a short JSON spec into an animated, explorable diagram that an AI coding agent can create and export. | 709 | Turn a system description into an interactive architecture diagram |
| QGraphFlow | QGraphFlow is a JavaScript skill that turns source code, schemas, configuration and requirements into interactive software diagrams with source evidence, offline HTML, and SVG or PNG export. | 109 | Map an unfamiliar codebase in one offline diagram |
| SVG Diagram | A house style and zero-dependency linter that lets a coding agent hand-place SVG diagrams and check them against fixed layout, font, colour and arrow rules. | 631 | Draw a flowchart or architecture diagram as lint-clean SVG |
When to pick which
Next AI Draw.io
Next AI Draw.io lets you create and edit draw.io diagrams by chatting with an AI, as a web app, desktop app and MCP server for Claude Code, Cursor, Codex and VS Code.
Best for: Developers, architects and PMs who draw system or process diagrams and want an AI to do the layout.
Needs: Node.js; An LLM provider key for the web app
Start here: Draw a cloud architecture diagram from one sentence
- Open the online demo at next-ai-drawio.jiang.jp; nothing to install
- To lift the demo limit, open settings in the chat panel and enter your own provider and API key
- Describe the system in one sentence, like the README's example of a highly available web app on AWS across two Availability Zones
- Select shapes and tell the AI what to change, or edit them by hand like any draw.io file
Diagram Design
Diagram Design is an agent skill that makes one self-contained HTML and SVG diagram file in a consistent editorial style, matched to your brand.
Best for: Developers, writers and teams who need publishable diagrams and already work with an AI coding agent that supports Agent Skills.
Needs: An agent host that reads Agent Skills, such as Claude Code, Codex, Cursor or GitHub Copilot; A terminal that can run npx skills add or the host's plugin commands; A web browser to open the generated .html file
Start here: Draw an architecture diagram for a doc or post
- Install the skill with npx skills add cathrynlavery/diagram-design.
- Ask your agent in plain words, for example: "Make me an architecture diagram of my app: frontend, backend, database, Redis cache."
- Check the agent's stated plan for the diagram type it chose.
- Open the generated .html file by double-clicking it.
vibeX
vibeX is a tool that generates architecture diagrams and checkable docs from your Prisma schema, OpenAPI document, GraphQL SDL, or source code, delivered as one standalone HTML file.
Best for: Developers, tech leads, and AI coding agents who need an accurate picture of a codebase's data model, APIs, and service calls, and want docs that fail CI when they drift.
Needs: Node.js and npx, for the npx commands in the README; A Prisma schema, OpenAPI document, or GraphQL SDL file in the project, or source code the tool can read; Claude Code or Codex if you want to use vibeX as an agent skill
Start here: Draw the real data model from a Prisma schema
- vibex import prisma prisma/schema.prisma docs/db.erd.json
- vibex validate docs/db.erd.json
- vibex render docs/db.erd.json --open
SeeCode
SeeCode is a JavaScript tool that turns a short JSON spec into an animated, explorable diagram that an AI coding agent can create and export.
Best for: Engineers and team leads who use Claude Code, Cursor, Codex or another Agent Skills host and need architecture or flow diagrams.
Needs: A coding agent that supports Agent Skills, such as Claude Code, Cursor, Codex or OpenCode; Node.js, needed for the command-line SVG export; Chrome or Edge, needed only for command-line PNG, GIF or MP4 export
Start here: Turn a system description into an interactive architecture diagram
- In Claude Code, run /plugin marketplace add Aryanutkarsh/seecode
- Run /plugin install seecode@seecode
- Ask your agent: describe the flow in plain words, naming each component and what it calls or writes to
- Open the generated HTML file in a browser and hover a node to check the connections
QGraphFlow
QGraphFlow is a JavaScript skill that turns source code, schemas, configuration and requirements into interactive software diagrams with source evidence, offline HTML, and SVG or PNG export.
Best for: Developers and engineering leads who need to understand, document, or keep an existing codebase's structure and call flows current.
Needs: Node.js 22 or later; A plugin-capable client such as Claude Code, Codex, Cursor or Qoder, with model access configured; A local checkout of the application project you want to diagram
Start here: Map an unfamiliar codebase in one offline diagram
- Run npx skills add supermax92/qgraphflow to install the q-flow skill.
- Open your application project in your client and start a new session.
- In Claude Code, enter /q-flow Help me draw this project. I want to understand it as quickly as possible.
- Open the generated index.html in your browser and use search, zoom and pan to explore responsibilities and upstream or downstream relationships.
SVG Diagram
A house style and zero-dependency linter that lets a coding agent hand-place SVG diagrams and check them against fixed layout, font, colour and arrow rules.
Best for: Developers and technical writers who need SVG diagrams drawn by an agent in one consistent, lint-checked style.
Needs: Node.js, since svg-lint is plain Node with no packages; A coding agent that loads skills, such as Claude Code, Codex, Cursor or Gemini CLI; npx, to run the skills install command
Start here: Draw a flowchart or architecture diagram as lint-clean SVG
- Run npx skills add bybit-exchange/svg-diagram -g to install the skill for your agents.
- Start a new session and ask your agent for a diagram of your system, confirming it announces it is using SVG Diagram.
- Run node ~/.claude/skills/svg-diagram/tools/svg-lint/bin/svg-lint.mjs diagram.svg (this path applies to a Claude Code install).
- Fix each finding using its repair line, then rerun the linter until the output shows 0 errors, 0 warnings.
Use cases for drawing diagrams with AI
- Draw a cloud architecture diagram from one sentence
- Let your coding agent draw draw.io diagrams through MCP
- Self-host the AI diagram app with your own model
- Draw an architecture diagram for a doc or post
- Match diagrams to your site's brand
- Redraw old Mermaid or draw.io diagrams
- Draw the real data model from a Prisma schema
- Map every API endpoint from an OpenAPI document
- Document a service and fail CI when the docs drift
- Turn a system description into an interactive architecture diagram
- Redraw existing Mermaid or draw.io diagrams in See Code style
- Export a diagram as SVG, PNG, GIF or MP4 for slides, docs or posts
- Map an unfamiliar codebase in one offline diagram
- Trace a business flow as a sequence diagram with source lines
- Fail CI when a committed diagram drifts from the code
- Draw a flowchart or architecture diagram as lint-clean SVG
- Lint an existing SVG and read findings as JSON
- Draw a sequence or data-flow diagram with CJK labels
Questions
What is the best open-source AI tool for drawing diagrams?
The best open-source AI repos for drawing diagrams with AI right now are Next AI Draw.io, Diagram Design and vibeX. Next AI Draw.io is the easiest start: describe the diagram in chat and get an editable draw.io file. Diagram Design makes polished HTML and SVG diagrams in your brand style from a coding agent, and vibeX and QGraphFlow draw diagrams straight from your schema or source code.
Which repo for drawing diagrams with AI is easiest to start with?
Next AI Draw.io: its starter use case "Draw a cloud architecture diagram from one sentence" is rated Beginner and takes about 10 minutes.
How do I get started with Next AI Draw.io?
Open the online demo at next-ai-drawio.jiang.jp; nothing to install; To lift the demo limit, open settings in the chat panel and enter your own provider and API key; Describe the system in one sentence, like the README's example of a highly available web app on AWS across two Availability Zones. Full steps and a copy-paste agent prompt: https://dedupedai.com/use-cases/dayuanjiang-next-ai-draw-io/draw-architecture-diagram-from-chat/
Are these drawing diagrams with AI repos free?
They are open-source projects on GitHub (check each license; some, like fair-code projects, limit commercial use). Some also sell a hosted version or need a paid model API key; the requirements for each repo are listed on this page.
How is this list of drawing diagrams with AI repos chosen?
Deduped tracks the hottest AI repos on GitHub and writes step-by-step use cases from each README. For this page we picked the repos that do this job, ordered by fit and then GitHub stars. Repos with a risk flag or a retired page are left out. The page is rebuilt with the site; stars are as of the last build in 2026.
More answers
- Best open-source AI repos for running LLMs locally
- Best open-source AI repos for AI coding agents
- Best open-source AI repos for skills and workflows for coding agents
- Best open-source AI repos for browser automation with AI agents
- Best open-source AI repos for web scraping for LLMs and RAG
- Best open-source AI repos for RAG and chatting with your documents
- Best open-source AI repos for long-term memory for AI agents
- Best open-source AI repos for voice, speech-to-text and text-to-speech
- Best open-source AI repos for AI video editing and generation
- Best open-source AI repos for AI image generation and editing
- Best open-source AI repos for UI design with AI coding agents
- Best open-source AI repos for MCP servers
- Best open-source AI repos for 3D modeling and CAD with AI
- Best open-source AI repos for research with AI agents
- Best open-source AI repos for running several coding agents in parallel
- Best open-source AI repos for LLM gateways and model routers
- Best open-source AI repos for AI workflow automation
- Best open-source AI repos for self-hosted personal AI assistants
- Best open-source AI repos for cutting coding agent token usage
- Best open-source AI repos for sandboxing AI agents
- Best open-source AI repos for securing AI coding agents
- Best open-source AI repos for AI code review
- Best open-source AI repos for SEO and AI search visibility (GEO)
- Best open-source AI repos for game development with AI agents
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them free