For real.

and on power of freehand drawing.
Even offline.
- C4 model centric: Mina is based on the C4 model approach to diagramming software architecture.
- Serverless: a diagram as code application, without the need of installing servers or deploying software. Just download the application and use it.
- Offline: the rendering system of Mina is based on Rust, and compilation into WASM enables its portability across different systems. This allows for the quick and immediate translation of code into diagrams, without the need to depend on external servers, thus also available offline.
- Simple: an interface reduced to the essentials and simple to use.
Just based on PlantUML.
Specifically, Mina supports the syntax of the official PlantUML C4 model standard library.
This allows you to reuse PlantUML C4 code created with other tools and immediately leverage Mina's capabilities. If you decide to leave Mina (but we hope you don't), you can still reuse the PlantUML code created in Mina with other tools that support PlantUML.
PlantUML was born in 2009 and is a well-known open-source tool with a mature and widely used DSL. In the meantime, several PlantUML extensions have been released. Among these is C4-PlantUML, the standard library that supports the specifications of the C4 model.


Auto Layout (other tools)
Applications with fully automated rendering systems, in the presence of many architectural elements, generate cluttered and hardly understandable diagrams, making them lose their utility.
For this reason, Mina provides three options for rendering diagrams:
- Auto Layout: Let Mina position the diagram elements. This will speed up your work but may result in messy diagrams.
- Custom Layout: Have the freedom to decide how your diagrams will look. This will slow down your work, but your diagrams will look great.
- Hybrid Layout: Enable auto layout to generate initial positions, then disable it to customize them. This is a compromise in terms of speed and final rendering.
The choice between these options depends on the complexity of the diagram.
.pumlfiles: contain the code of the diagrams..jsonfiles: contain specifications of the diagrams, including position, size, and metadata of the elements within a diagram.
Thus, the project only contains human-readable code without any binary data or incomprehensible metadata files.
This feature makes a Mina project easily versionable with tools such as GitHub, facilitating the adoption of common software development best practices like code reviews, pull request approval processes, continuous integration, and more.
By using these packages:
- You can include the diagrams using their URL, without the need to export them.
- As a result your documentation will always render the most updated diagram based on your versioning system, without the need for constant manual updates.
- The diagrams will be interactive, allowing navigation across various connected architectural diagrams.
Keadex Mina provides a local MCP server with 26+ tools and a specialized agent skill that enable AI agents to generate, explore, and reason about Keadex Mina projects and C4 Model architecture diagrams.
By installing the Mina MCP server, your agent will be able to:
- Generate Keadex Mina projects
- Generate, edit, and link C4 Model architecture diagrams
- Render diagrams
- Search for architectural dependencies
- Explore your architectures and answer questions such as:
- "Show me the system context diagram for the payment service"
- "Render the container diagram for the frontend application"
- "What are the relationships between the components in the auth service diagram?"
- "Summarize the architecture described in my Mina project"
For more information, please visit the documentation.
