37.3K ·GitHub
What is this?
A Next.js web app that lets you create and edit draw.io diagrams by chatting with an AI in natural language, instead of manually dragging shapes.
Is this a standalone drawing app or does it still need draw.io?
It's a web app built around the react-drawio component; diagrams are stored and rendered as draw.io XML, with an AI layer on top that generates/edits that XML from chat commands.
How do I get it running?
Try the hosted demo online with no install, or clone the repo and run `next dev` locally; it's also deployable with one click to Vercel, Cloudflare Workers, or Tencent EdgeOne Pages, and ships as a Docker image and native desktop app for Windows/macOS/Linux.
Do I need my own API key for an LLM provider?
Not required to try the demo (you can use the hosted site for free with limits), but for your own instance you must configure a provider key — Bedrock, OpenAI, Anthropic, Google, Azure, Ollama, OpenRouter, DeepSeek and many others are supported.
Does it work well with any LLM model?
No — it needs a model strong enough to produce long, strictly-formatted draw.io XML; the author recommends Claude Sonnet 4.5, GPT-5.1, Gemini 3 Pro or DeepSeek V3.2/R1, and specifically notes Claude is best for cloud architecture diagrams since it was trained on AWS/Azure/GCP icon sets.
Can other AI coding agents like Claude Code or Cursor drive this tool too?
Yes, it exposes an MCP Server so agents like Claude Desktop, Cursor, VS Code, or the Claude Code CLI can create and edit diagrams directly through chat commands.
Where is my API key stored when using the demo site?
If you bring your own key on the demo site, it is kept only in your browser's local storage and never sent to or stored on the server.
Can it recreate a diagram from an image or PDF I already have?
Yes, you can upload an existing diagram image or a PDF/text file and the AI will replicate or regenerate it as an editable draw.io diagram.
Can I see the AI's reasoning while it builds a diagram?
For models that support it, such as OpenAI o1/o3, Gemini, or Claude, the app shows the AI's thinking process alongside the generated diagram.
Does it keep a history of diagram versions?
Yes, it tracks every AI edit with full version control so you can view and restore earlier versions of your diagram.
Can admins set up models for all users without each person needing an API key?
Yes, an admin panel (password-protected, at /admin) lets administrators configure server-side models, access codes, and quotas that everyone can use without personal API keys.
What are similar projects?
gitdiagram, NextChat, ruflo, openpencil, LangBot, brigade, agentscope, scira
Which topics is it in?
gemini-cli-extension, architecture-diagram, flowchart, llm-agent, diagrams, vercel, cloudflare, deepseek-harness, dsh-plugin, electron, chatbot, ollama
- Creator
- DayuanJiang
- Size
- 13.4 MB
- Stars
- 37.3K
- Age
- 1y
- Commits · 90 Days