Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

kUML

kuml.dev

  • Free plan
  • Windows
  • macOS
  • Linux
  • Web
  • API
  • Self-hosted
7.6 Club score Visit kuml.dev

What kUML is

kUML is an open-source modeling tool that expresses UML 2.x, SysML 2, C4, BPMN 2.0, and ERM through a type-safe Kotlin DSL. It supports all 14 UML 2.x diagram types, and its DSL offers compile-time validation and IDE support. Built-in transformations can generate JPA, OpenAPI 3.0 YAML, Kubernetes manifests, and Dockerfiles. Integrations include CLI, Gradle, IntelliJ, Obsidian, Asciidoctor, and VS Code. For exchanging models, kUML supports Structurizr DSL round-tripping and optional XMI interoperability through its kuml-io-emf module. Installation choices include Homebrew, Windows packages, native DEB/RPM/DMG packages, Docker, and Maven Central library modules. A Compose Multiplatform desktop app is distributed as a macOS cask. The project is licensed under Apache 2.0 and has an online handbook. Its MCP authoring server validates scripts before evaluation, but rendering Kotlin scripts executes their source code, so the handbook advises using only scripts or workspaces you trust.

Who it suits

kUML suits developers and modelers who want to describe diagrams and related artifacts in Kotlin. Its integrations and code-generation options may also suit teams building modeling into development workflows.

Good to know, and what to watch

  • Supports all 14 UML 2.x diagram types.
  • DSL provides compile-time validation and IDE support.
  • Generates JPA, OpenAPI YAML, Kubernetes manifests, and Dockerfiles.
  • Offers CLI, Gradle, IntelliJ, and VS Code integrations.
  • Open source under Apache 2.0.
  • 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.

Free / open source

Free

Open source

The verdict

kUML brings several modeling notations, validation, and code generation into a Kotlin DSL, with integrations across development tools. Users should account for the fact that rendering scripts executes their code.

What the maker publishes

AI workflows
It includes an MCP server for agent introspection and a kuml ai subcommand for AI-assisted modeling. source
Code generation
Built-in model transformations generate JPA, OpenAPI 3.0 YAML, Kubernetes manifests, and Dockerfiles. source
Desktop app
The project provides a Compose Multiplatform desktop app distributed as a macOS cask. source
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. source
Integrations
The project lists CLI, Gradle, IntelliJ, Obsidian, Asciidoctor, and VS Code integrations. source
Interoperability
kUML supports Structurizr DSL round-trip and optional XMI interoperability through its kuml-io-emf module. source
License
The project is licensed under Apache 2.0. source
Modeling
It supports all 14 UML 2.x diagram types alongside SysML 2 and C4. source
Security
The MCP authoring server validates scripts with KumlScriptGuard before evaluation, using the same sandboxing applied by the CLI render and validate commands. source
Support and documentation
The project links to an online handbook covering installation, usage, and its features. source
Trust limitation
Rendering Kotlin scripts executes their source code, and the handbook advises running only scripts or workspaces the user trusts. source
Validation
Its Kotlin DSL provides compile-time validation and IDE support. source
What it does
kUML expresses UML 2.x, SysML 2, C4, BPMN 2.0 and ERM as a type-safe Kotlin DSL. source

Checked against the maker's pages on 8 Oct 2026.