Next AI Draw.io
IntroductionAll pages

Getting started

Introduction

Next AI Draw.io draws and edits draw.io diagrams by chatting with an AI. You describe a diagram, the AI draws it on a real draw.io canvas, and you keep working on it by hand or by asking for changes. Every change the AI makes is outlined and saved as a version you can restore.

AWS Cloud
AWS Cloud
Cognito
Cognito
API Gateway
API Gateway
Lambda
Lambda
DynamoDB
DynamoDB
S3
S3
ElastiCache
ElastiCache
Users
Users
HTTPS
HTTPS
files
files
cache reads
cache reads
Text is not SVG - cannot display

Describe your diagram or upload a file...

Three ways to use it

WhereWhat you getStart here
In the browserThe editor at next-ai-drawio.jiang.jp. Nothing to install; add your own API key to lift the demo's daily limitOpen the editor
On your desktopThe same app for Windows, macOS and LinuxLatest release
In your AI agentAn MCP server: Claude Code, Cursor, Codex and VS Code draw from your project's files on the same canvas, in your browserUse it from Claude Code

What you can do

  • Generate: describe a diagram in words, or start from a screenshot, a whiteboard photo, a PDF or a web page.
  • Edit by hand: the canvas is the draw.io editor. Move, restyle and add shapes as you would in draw.io.
  • Edit with AI: select shapes and ask for a change to just those, or ask for a change to the whole diagram. The AI reads your hand edits first.
  • Go back: every AI change becomes a version card in the chat. Undo the latest change, compare a version with the canvas, or restore an older one.
  • Export: save a .drawio file to keep editing in draw.io, or export PNG or SVG.

How it works

A diagram is draw.io XML. The app sends your request and the current diagram to the AI model you picked, and the model answers with new or changed XML, which the canvas shows as it arrives. The draw.io editor is bundled with the app, so the app can drive it directly and read your edits back.

The app is built with:

  • Next.js for the pages and the API
  • Vercel AI SDK (ai and @ai-sdk/*) to stream answers from many AI providers
  • draw.io as the editor

AI providers

The demo site has a daily usage limit. In Settings you can pick another provider and enter your own key; the key is kept in your browser and never stored on the server. When you host the app yourself, you set up providers with environment variables: see AI providers.

Next steps

Edit this page on GitHub