Paste a GitHub repo or describe a system. Nensea draws architecture, sequence, data-model and flowchart diagrams you can edit on the canvas or as code.
Maya
Dev
Works with
GitHub
GitLab
Mermaid
Structurizr DSL
PlantUML
D2
PostgreSQL
MySQL
SQL Server
SQLite
draw.io
Visio
Excalidraw
OpenAPI 3.1
Point it at a repository
Paste a GitHub or GitLab URL. Each element in the draft names the file and lines it came from, so you can check it.
acme/shop mainContainers
Order serviceservices/orders/main.go:12–48
19 elements
acme/shop mainCheckout
Prompt: What happens, call by call, when someone checks out?
15 messages
if the card is declinedWebAPI gatewayOrdersPaymentsStripeKafkaNotificationsPOST /checkoutcreateOrder()validate cartauthorize(total)create chargedeclinedpayment failed402 errorapprovedauthorizedpublish OrderPlacedconsumeorder id201 Createdsend receipt
acme/shop mainShop schema
Prompt: Show our schema: customers, orders, products, payments and shipping.
Describe what you want to show in plain language, or paste a GitHub repository URL, and Nensea generates an editable diagram: architecture, flowchart, sequence, data flow, ERD, mind map and more. You can then change any shape, label or connection by hand, ask the AI for changes, or edit the diagram as code.
What is Nensea?
Nensea is an AI architecture diagram tool for software architects. It generates editable C4, sequence, data-flow and dependency diagrams from a code repository or a prompt, keeps linked views consistent, and supports editing on a canvas or as code.
Can Nensea generate an architecture diagram from a GitHub repository?
Yes. Connect GitHub or paste a GitHub or GitLab repository URL, choose a branch or commit and a diagram type: architecture, sequence, data flow, dependencies, flowchart or CI/CD delivery. Nensea analyses relevant files and cites file paths and line ranges as evidence. Private repositories work through a GitHub connection or a one-off access token.
What is the best AI diagram generator for software architecture?
Look for three things: diagrams grounded in your real code, output you can edit instead of a flat image, and a way to review changes. Nensea generates architecture diagrams from GitHub and GitLab repositories with file-and-line evidence, keeps C4 views linked, and supports branches with reviewed merge.
Which diagram-as-code formats are supported?
Mermaid, Structurizr DSL, PlantUML and D2. You can edit a view as code and see the canvas update, or export a view to a format. When a format cannot express something, a loss report lists exactly what would change.
Does Nensea support the C4 model?
Yes. System context, container, component, dynamic and deployment views are driven by one model, so renaming or changing an element updates every view, and you can drill down from a container into its components.
Can I generate SQL from a diagram?
Yes. Model your data as an entity relationship diagram and generate SQL DDL for PostgreSQL, MySQL, SQL Server or SQLite, or import existing DDL to create the diagram.
How do reviews and branches work?
Propose changes on a branch, compare it with the main version as a visual diff of added, removed and changed elements, discuss it in comments, and merge after review.
Can I import diagrams from draw.io, Visio or Excalidraw?
Yes. Nensea imports draw.io, Visio and Excalidraw files as well as Mermaid, Structurizr, PlantUML and D2 sources, and exports SVG, PNG, PDF and draw.io.
Is Nensea available now?
Nensea is in early access. Join the early access list on this page and tell us about the systems you need to document. We reply to every message personally.
Request early access
Access opens to teams, classes and labs in stages. We will email you about yours.
Talk to us about your system
Tell us what you need to document. We reply with how to map it in Nensea.