Better solutions start with understanding your architecture.

Miyorgi C4 turns architecture conversations into interactive diagrams. Describe a system or a design change to your coding agent. It updates the C4 model, and Miyorgi draws each view.

New to C4? Learn about the C4 model

Walkthrough

Play with it

Miyorgi C4

Model how I use a coding agent and the Miyorgi C4 skill to create an architecture model.

☰
The agent uses the skill to guide changes to an editable model.

Diagram key

    Model how I use a coding agent and the Miyorgi C4 skill to create an architecture model.

    What you get

    To see how your architecture fits together and to spend more time improving it.

    AI-assisted architecture modelling

    Think through your architecture with your coding agent. It handles the model edits.

    No drawing. No manual layout.

    Miyorgi arranges the diagrams as your model changes.

    Zero AI tokens for rendering

    Layout and rendering run locally, without AI calls.

    Your architecture, versioned in Git

    Review model changes alongside code in the same pull request.

    One C4 model. Connected views.

    Explore context, containers, components and flows from a Structurizr DSL model.

    Ready to share

    Export SVG, PNG or interactive HTML for docs, slides and reviews.

    Install the skill

    Run in your terminal.

    npx skills add miyorgi/skills --skill c4

    Then ask your coding agent to use the C4 skill to model this system.

    The skill helps you install the macOS CLI to check models and render diagrams locally.

    Use the CLI on its own

    Preview an existing Structurizr DSL workspace with the standalone CLI. Miyorgi supports a subset of the language.

    1. Install the CLI with Homebrew.
      brew install --cask miyorgi/tap/c4
    2. Preview your workspace from its project folder.
      miyorgi c4 serve --file workspace.dsl --view SystemContext

      Use a view key from your DSL in place of SystemContext.