AI-native infinite whiteboard for intelligent diagram generation, collaborative system design, and architecture visualization.
AutoGraph is an AI-assisted collaborative whiteboard that transforms natural language into interactive diagrams.
Users can:
- Generate system designs using AI
- Create flowcharts instantly
- Collaborate in real-time
- Edit diagrams interactively
- Export diagrams in multiple formats
- Build architecture visually using natural language
Unlike traditional whiteboards, AutoGraph focuses on:
- intelligent graph generation
- structured diagram understanding
- architecture-aware editing
- AI-assisted visual engineering
Generate diagrams from prompts.
Example:
Design a scalable chat application architectureAutoGraph converts prompts into:
- nodes
- edges
- labels
- layouts
- connections
- Zoom
- Pan
- Drag & Drop
- Resize
- Multi-selection
- Smooth rendering
- Auto-routing edges
- Intelligent spacing
- Collision avoidance
- Dynamic graph updates
Multiple users can:
- edit simultaneously
- track cursors
- sync changes live
- collaborate on architectures
Supports:
- DAG layouts
- force-directed graphs
- hierarchical layouts
- tree structures
Example:
Add Redis cache between API and databaseAutoGraph intelligently updates existing diagrams.
Export diagrams as:
- PNG
- SVG
- Mermaid
- JSON
ββββββββββββββββββββββ
β Frontend β
β React + TypeScript β
βββββββββββ¬βββββββββββ
β
βΌ
ββββββββββββββββββββββ
β Canvas Engine β
β tldraw β
βββββββββββ¬βββββββββββ
β
βΌ
ββββββββββββββββββββββ
β AI Processor β
β Gemini / OpenAI β
βββββββββββ¬βββββββββββ
β
βΌ
ββββββββββββββββββββββ
β Structured JSON APIβ
β FastAPI Backend β
βββββββββββ¬βββββββββββ
β
βΌ
ββββββββββββββββββββββ
βRealtime Collaborationβ
β Yjs + WebSockets β
ββββββββββββββββββββββ| Layer | Technology |
|---|---|
| Frontend | React + TypeScript |
| Styling | Tailwind CSS |
| Canvas Engine | tldraw |
| Backend | FastAPI |
| AI Layer | Gemini / OpenAI |
| Realtime | Yjs + WebSockets |
| Database | PostgreSQL |
| State Management | Zustand |
| Graph Layout | dagre / elkjs |
| Deployment | Vercel + Railway |
autograph/
β
βββ frontend/
β βββ components/
β βββ canvas/
β βββ hooks/
β βββ store/
β βββ pages/
β
βββ backend/
β βββ api/
β βββ ai/
β βββ models/
β βββ services/
β βββ websocket/
β
βββ shared/
β βββ schemas/
β βββ types/
β
βββ assets/
βββ docs/
βββ README.mdgit clone https://github.com/yourusername/autograph.git
cd autographcd frontend
npm install
npm run devcd backend
pip install -r requirements.txt
uvicorn main:app --reloadCreate a .env file.
OPENAI_API_KEY=your_key
DATABASE_URL=your_database_url
WEBSOCKET_URL=your_websocket_url{
"nodes": [
{
"id": "1",
"type": "service",
"label": "API Gateway",
"x": 300,
"y": 100
}
],
"edges": [
{
"source": "1",
"target": "2"
}
]
}- Infinite canvas
- Shape rendering
- Basic AI generation
- Real-time collaboration
- Smart graph layouts
- AI editing engine
- Voice-to-diagram
- Plugin system
- Architecture templates
- AI-assisted wireframing
- Multi-agent architecture generation
- Deployment optimization
- Public sharing links
- Version history
- AI-generated UML diagrams
- Infrastructure simulation
- Live architecture validation
- Diagram-to-code generation
- GitHub repository visualization
- AI-assisted system design interviews
Design a Netflix-like infrastructureGenerate a compiler pipeline flowchartCreate an authentication microservice architectureVisualize a distributed caching systemContributions are welcome.
- Fork repository
- Create feature branch
- Commit changes
- Open pull request
MIT License
Inspired by:
- Excalidraw
- tldraw
- Miro
- Figma
- modern AI-native developer tools
Built by Animesh.
If you like the project:
- Star the repository
- Share feedback
- Open issues
- Contribute ideas
Turning ideas into intelligent diagrams.
