AI-native engineering visualization

Make the system visible before you change it.

Turn a task, feature, design pattern, or code path into an interactive engineering diagram—grounded in evidence, callable through native MCP tools, and ready for review.

  • Codex + Claudeone plugin contract
  • 8 diagram typesone question per view
  • 6 native MCP toolscatalog to renderer
checkout-feature.architecture.json interactive preview

Swipe or use arrow keys to pan the diagram.

Checkout feature architecture with API, orchestrator, inventory, payment, and idempotency store CHECKOUT BOUNDARY Client POST /checkout API validate request Orchestrator checkout owner Inventory reserve Payment authorize Idempotency replay result HTTPS dispatch authorize

A better engineering artifact

Not another pretty box-and-arrow picture.

The toolkit gives agents a rigorous path from source evidence to a visual that can survive architecture review.

01

Evidence before geometry

Important nodes and edges trace back to code, contracts, runtime observations, or an explicit requirement.

source-linked claims
02

One question per view

Eight focused engineering views each answer the question their layout is built to explain.

decision-focused scope
03

Uncertainty stays visible

Facts, assumptions, and recommendations remain distinct instead of collapsing into one confident-looking diagram.

honest semantics

Choose by question

Eight views. Zero guesswork.

Start with the engineering decision. The advisor selects the smallest view that can explain it.

Architecture

What exists, who owns it, and how the boundaries connect.

components · dependencies

Sequence

What happens over time between callers, services, and providers.

calls · retries · responses

Workflow

Which steps, decisions, approvals, and failure paths control the work.

branches · owners · exits

Dataflow

Where data begins, transforms, moves, and persists.

sources · lineage · stores

Lifecycle

How an entity changes state and which guards allow each transition.

states · triggers · recovery

Data model

Which entities, fields, constraints, and relationships define the domain.

entities · keys · cardinality

Timeline

Which engineering milestones occur and how phases depend on one another.

milestones · phases · dependencies

Layers

Where responsibilities, abstractions, controls, and defenses are enforced.

layers · controls · gaps

One durable contract

Plan once. Render, review, and evolve.

A small JSON plan keeps the agent, renderer, and reviewer aligned. The interactive HTML remains a delivery artifact—not the source of truth.

  • Source-grounded claims
  • Explicit scope boundaries
  • Standalone HTML output
  • Mobile and accessibility gates
diagram-plan excerpt
{
  "schemaVersion": 2,
  "task": "Add idempotent checkout",
  "source": { "kind": "repository" },
  "selection": {
    "renderer": "architecture",
    "profile": "feature-context"
  },
  "evidence": {
    "facts": ["contract: idempotency-key"],
    "assumptions": ["reservation expires"],
    "recommendations": ["persist replay result"]
  },
  "complexity": { "detail": "balanced" },
  "fidelity": { "omitted": [] }
}
schema v2 excerptcomplete examples in reposhowcase ✓

Start in a minute

One repository. Your agent of choice.

Install the complete plugin, connect the standard local stdio MCP server directly, or use the deterministic CLI on its own. No cluster or remote endpoint is required.

01

Install the Codex marketplace

Add the GitHub repository as a marketplace, then install the plugin with its skills and MCP tools.

terminal
codex plugin marketplace add amirtaherkhani/diago
codex plugin add diago@diago
TRY IT Use $diago-engineering-diagram to visualize this feature from API entry point to persistence.

After installation

Describe the decision. Diago builds the view.

Start a new agent thread in the repository you want to explain. Ask Diago to inspect the source, choose the smallest useful diagram, keep assumptions visible, and render a reviewable HTML artifact.

CodexUse $diago-engineering-diagram to…

Claude Code/diago:diago-engineering-diagram

01
Feature architecture

Map a feature end to end

Use $diago-engineering-diagram to map this feature from its API entry point to persistence. Inspect the code, separate facts from assumptions, and render architecture and sequence views.
02
Design pattern

Explain whether a pattern fits

Use $diago-engineering-diagram to evaluate whether the Strategy pattern fits this task. Show the current coupling, proposed objects, tradeoffs, and where the pattern should not be used.
03
Best-practice workflow

Plan a safer rollout

Use $diago-engineering-diagram to find the safest workflow for rolling out this schema change. Show owners, validation gates, failure paths, rollback steps, and the evidence for each recommendation.
04
Diagram review

Check a diagram against code

Use $diago-review-diagram to audit this diagram against the repository. List unsupported claims, missing boundaries, ambiguous edges, and visual issues, then recommend focused corrections.
05
Incident investigation

Trace a failure across services

Use $diago-engineering-diagram to trace this timeout from the incoming request through every service and dependency. Ground the sequence in code and runtime evidence, then show retry, timeout, and failure paths.
06
Data flow

Follow sensitive data

Use $diago-engineering-diagram to follow customer data from collection to deletion. Show trust boundaries, transformations, stores, external processors, retention rules, and any unverified privacy assumptions.
07
Entity lifecycle

Make state changes explicit

Use $diago-engineering-diagram to explain the payment lifecycle. Map every state, transition trigger, guard, terminal outcome, timeout, and recovery path, and link verified behavior to its source.
08
Refactoring plan

Extract a boundary safely

Use $diago-engineering-diagram to plan extracting this module into a service. Compare current and proposed boundaries, dependencies, contracts, migration steps, compatibility risks, and rollback seams.
09
Domain model

Verify entities and relationships

Use $diago-engineering-diagram to inspect this repository's order domain and render a data-model view. Show verified entities, keys, constraints, cardinality, and proposed changes without inventing missing relationships.
10
Migration timeline

Sequence engineering milestones

Use $diago-engineering-diagram to turn this migration plan and repository evidence into an engineering timeline. Show phases, dependencies, owners, validation gates, and rollback milestones; use ordered phases when dates are not confirmed.
11
Control placement

Show responsibility by layer

Use $diago-engineering-diagram to show where authentication, authorization, validation, observability, and data-protection controls are enforced across this system's layers. Mark gaps and unsupported assumptions explicitly.

Claude Code Replace $diago-engineering-diagram with /diago:diago-engineering-diagram, or use /diago:diago-review-diagram for review prompts.

Build with shared understanding

Your next task deserves a diagram people can trust.