kUML
What it is
kUML expresses UML 2.x, SysML 2, C4, BPMN 2.0, and ERM as a type-safe Kotlin DSL. It supports all 14 UML 2.x diagram types, while compile-time validation and IDE support help users check their models. Built-in transformations can generate JPA, OpenAPI 3.0 YAML, Kubernetes manifests, and Dockerfiles. The project lists integrations for CLI, Gradle, IntelliJ, Obsidian, Asciidoctor, and VS Code. For interoperability, it supports Structurizr DSL round-trip and optional XMI through its kuml-io-emf module. Install options include Homebrew, Chocolatey, MSI, native DEB/RPM/DMG packages, Docker, and Maven Central library modules. A Compose Multiplatform desktop app is distributed as a macOS cask. kUML is licensed under Apache 2.0, and its online handbook covers installation, use, and features. Its MCP authoring server checks scripts with KumlScriptGuard before evaluation, using sandboxing also applied by CLI render and validate commands. Rendering Kotlin scripts executes their source code, so the handbook advises using only scripts or workspaces the user trusts.
For and against
For
- Supports all 14 UML 2.x diagram types.
- Compile-time validation and IDE support are included.
- Generates JPA, OpenAPI YAML, Kubernetes manifests, and Dockerfiles.
- Apache 2.0 licensed and free.
Against
- Rendering Kotlin scripts executes their source code.
- The handbook advises using only trusted scripts or workspaces.
- The desktop app is distributed as a macOS cask.
The verdict
kUML pairs a broad modeling vocabulary with Kotlin validation and code-generation options. Because rendering scripts runs their code, use only scripts or workspaces you trust.
Who it suits
kUML suits developers and modelers who want to define UML and related models in Kotlin and connect modeling with code-generation workflows. It may also fit teams using the listed IDE, documentation, and build integrations.
Plans and prices
Free / open source
Apache 2.0 licensed software; paid plans and feature limits not stated
Read 8 Oct 2026 · github.com
On the record
- AI workflows
- It includes an MCP server for agent introspection and a kuml ai subcommand for AI-assisted modeling.github.com · read 8 Oct 2026
- Code generation
- Built-in model transformations generate JPA, OpenAPI 3.0 YAML, Kubernetes manifests, and Dockerfiles.github.com · read 8 Oct 2026
- Desktop app
- The project provides a Compose Multiplatform desktop app distributed as a macOS cask.github.com · read 8 Oct 2026
- Distribution
- Install options include Homebrew for macOS and Linux, Chocolatey and MSI for Windows, native DEB/RPM/DMG packages, Docker, and Maven Central library modules.github.com · read 8 Oct 2026
- Integrations
- The project lists CLI, Gradle, IntelliJ, Obsidian, Asciidoctor, and VS Code integrations.github.com · read 8 Oct 2026
- Interoperability
- kUML supports Structurizr DSL round-trip and optional XMI interoperability through its kuml-io-emf module.github.com · read 8 Oct 2026
- License
- The project is licensed under Apache 2.0.github.com · read 8 Oct 2026
- Modeling
- It supports all 14 UML 2.x diagram types alongside SysML 2 and C4.github.com · read 8 Oct 2026
- Security
- The MCP authoring server validates scripts with KumlScriptGuard before evaluation, using the same sandboxing applied by the CLI render and validate commands.docs.kuml.dev · read 8 Oct 2026
- Support and documentation
- The project links to an online handbook covering installation, usage, and its features.docs.kuml.dev · read 8 Oct 2026
- Trust limitation
- Rendering Kotlin scripts executes their source code, and the handbook advises running only scripts or workspaces the user trusts.docs.kuml.dev · read 8 Oct 2026
- Validation
- Its Kotlin DSL provides compile-time validation and IDE support.github.com · read 8 Oct 2026
- What it does
- kUML expresses UML 2.x, SysML 2, C4, BPMN 2.0 and ERM as a type-safe Kotlin DSL.github.com · read 8 Oct 2026