Transform your ideas into professional UML diagrams using the power of AI
AI UML Builder is a modern React application that converts natural language descriptions into beautiful UML diagrams. Simply describe your system architecture, class structure, or workflow in plain text, and watch as AI generates precise Mermaid diagrams for you.
- 🤖 AI-Powered Generation - Leverages DeepSeek AI through Polza API to understand your descriptions
- 📊 Multiple Diagram Types - Supports class diagrams, sequence diagrams, flowcharts, and more
- 🎯 Instant Visualization - Real-time rendering with Mermaid.js
- ✏️ Live Editor - Edit generated Mermaid code directly in the browser
- 💾 Auto-Save - Your work is automatically saved to localStorage
- 🇷🇺 GOST Standards - Follows GOST R 52573-2006 for Russian language prompts
- 🌓 Modern UI - Clean, responsive interface built with Tailwind CSS
- 🔄 Iterative Updates - Refine your diagrams by describing changes
Download the latest release for your platform:
- Windows:
AI UML Builder.exe(x64) - macOS:
- Apple Silicon (M series):
mac-arm64 - Intel:
mac
- Apple Silicon (M series):
- Linux:
linux(x64)
💡 The desktop app comes with the API key pre-configured, so you can start using it immediately!
If you want to run from source or contribute:
Click to expand development instructions
- Node.js (LTS version recommended)
-
Clone the repository
git clone https://github.com/dmitriyg0r/ai-uml-builder.git cd ai-uml-builder -
Install dependencies
npm install
-
Get your Polza API Key
Register on Polza.ai to get your API key:
👉 Register on Polza.ai (with bonus credits)
Steps:
- Create an account
- Top up your balance
- Get your API key from the dashboard
-
Set up environment variables
Create a
.env.localfile in the root directory:VITE_POLZA_API_KEY=your_api_key_here
-
Start the development server
npm run dev
Open http://localhost:3000 in your browser.
-
Enter a Description: Type your system description in natural language
Create a class diagram for an e-commerce system with User, Product, Order, and Payment classes -
Generate: Click the generate button and watch AI create your diagram
-
Edit & Refine: Use the built-in editor to make manual adjustments or ask AI to update the diagram
-
Export: Copy the Mermaid code or take a screenshot of your diagram
ai-uml-builder/
├── src/
│ ├── components/ # React components
│ │ ├── MermaidRenderer.tsx
│ │ ├── Editor.tsx
│ │ ├── Sidebar.tsx
│ │ └── ...
│ ├── services/ # API integrations
│ │ └── aisetService.ts
│ ├── hooks/ # Custom React hooks
│ │ └── useLocalStorageState.ts
│ └── App.tsx # Main application
└── dist/ # Production build
- Frontend: React 19 with TypeScript
- Desktop: Electron
- Build Tool: Vite
- Styling: Tailwind CSS
- Diagrams: Mermaid.js
- AI: DeepSeek (via Polza API)
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build web + Electron for all platforms |
npm run build:mac |
Build for macOS (ARM64 + Intel) |
npm run build:win |
Build for Windows (x64) |
npm run build:linux |
Build for Linux (x64) |
npm run build:all |
Build for all platforms |
npm run preview |
Preview production build |
If you find this project helpful, please consider supporting its development!
Every contribution helps me dedicate more time to improving this tool and creating new features.
Your support means the world to me and keeps this project alive and growing! 🙏
- Support for more diagram types
- Export to PNG/SVG
- Collaborative editing
- Custom theme support
- Integration with popular design tools
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Mermaid.js
- API provided by Polza AI
Made with ❤️ by DreamSoftware
If this project helped you, consider buying me a coffee ☕

