Back

Features

From manifest to monorepo — HexaGen Monaco turns architectural intent into working, enforceable software.

Manifest-Driven Architecture

A single YAML manifest encodes your entire system topology — bounded contexts, ports, adapters, and layer rules. One source of truth that the build enforces, not a document that drifts.

Key Capabilities

  • Declarative YAML syntax for system topology
  • Bounded contexts, ports, adapters, and layer rules in one file
  • Version-controlled alongside code — no more stale documents
  • Validated at build time, not post-deploy

Sync Engine

Generates hexagonal boilerplate and keeps it in sync. Preview with --dry-run, force with --force, and validate with yarn lint:arch. Every generated project ships its own governance engine.

Key Capabilities

  • Automatic hexagonal boilerplate generation
  • --dry-run preview before applying changes
  • --force for deterministic regeneration
  • Built-in lint:arch boundary enforcement

Web UI + Monaco

Interactive architecture canvas with live manifest editing via Monaco Editor. Visualize bounded contexts, ports, and dependency edges. AST-based semantic patching gated by confidence scoring.

Key Capabilities

  • Interactive canvas for visualizing bounded contexts
  • Monaco Editor for live manifest editing
  • Dependency edge visualization
  • AST-based semantic patching with confidence scoring

Terminal Dashboard

Full-featured TUI in three panes: navigation tree, rule engine, and violation inspector. Press r to route a boundary breach to the local MCP server for AI-assisted refactoring.

Key Capabilities

  • Three-pane TUI: navigation tree, rule engine, violation inspector
  • Keyboard-driven workflow with r for AI-assisted refactoring
  • MCP server integration for local AI routing
  • Real-time boundary breach detection
And More

Built for real-world governance

Architecture Validation

Enforce architectural invariants at build time. ESLint boundary rules and ts-morph AST analysis catch violations before merge.

Deterministic Generation

Same manifest always produces the same project structure. No hidden state, no unpredictable outputs.

Monorepo-First

Built for Yarn 4 + Turborepo. TypeScript project references and workspace protocols out of the box.

Extensible Architecture Styles

Start with modular monolith, migrate to microservices. The manifest adapts, the engine regenerates.

AI-Assisted Refactoring

Route violations to an MCP server for AI-assisted boundary fixes. Semantic understanding of your architecture graph.

Zero Config Drift

The manifest is the single source of truth. Generated code is always in sync with declared intent.

See It In Action

From manifest to monorepo

A single YAML file drives the entire architecture. Change the manifest, regenerate the project.

.architecture/manifest.yaml
1system: "hexagen-monaco"
2architecture: "modular-monolith"
3
4modules:
5  - name: "project-configuration"
6  - ports:
7    - "ProjectGeneratorPort"
8  - type: "core"
9
10  - name: "code-generation"
11  - type: "supporting"
12

Ready to compile your architecture?