Launched January 6, 2026
LikeC4

LikeC4

Toolchain for your diagrams

FreeOpen SourceCLIFramework509 impressions#264 of its week

LikeC4 is a powerful set of tools and a Domain-Specific Language (DSL) designed to describe your architecture as a single, cohesive model, which is then compiled into multiple diagrams.

LikeC4 lets you define software architecture in a DSL and generates interactive diagrams from a single source of truth.

for
Developers and teams who want code-first architecture documentation.
pricing
open source
license
MIT
likec4/likec4 5.8k 395TypeScriptupdated 12 days ago
works withReactTypeScriptJava SpringGraphQLPostgreSQLRedisVite

Key features

6 features of LikeC4
  • DSL for Architecture — Write system components, relationships and boundaries using a clear, expressive domain-specific language.
  • Instant Diagram Generation — Automatically render visual diagrams at multiple levels of detail from the DSL code.
  • Interactive Views — Explore diagrams interactively with drill-down, zoom and navigation.
  • Versioned & Git-Ready — Store models in Git, track changes and collaborate using familiar workflows.
  • AI-Friendly Export — Expose architecture via MCP server or API for LLM agents without extra work.
  • Embed Anywhere — Integrate diagrams via Vite plugin, React components or Web Components into docs and apps.

Use cases

  • Document system architecture for onboarding new engineers
  • Generate up-to-date diagrams for technical documentation
  • Validate architectural changes and prevent drift before release

LikeC4 FAQ

How do I create a diagram?+

Write your architecture in the LikeC4 DSL, then run the CLI to generate static sites, React components, or serve locally.

Can I embed diagrams in my website?+

Yes, use the Vite plugin, React components or Web Components to embed interactive diagrams.

Is the architecture model versioned?+

Yes, models are plain code files that can be stored in Git for version control and collaboration.

Does LikeC4 work with AI tools?+

It provides an API and MCP server that expose the architecture model, making it easy for LLM agents to consume.

Is LikeC4 free to use?+

LikeC4 is open source and can be used without cost.

Summarized by DevHunt from likec4.dev · Oct 5, 2026. Details may change; check the official site.