0Pricing

Archify: The Open-Source AI Agent Skill With 20,000+ GitHub Stars That Turns Code Into Beautiful Architecture Diagrams

Archify is a trending open-source AI agent skill (20,400+ GitHub stars) that transforms codebases and system descriptions into polished, interactive architecture diagrams. Works with Cursor, Claude Code, Codex CLI, and OpenCode — producing self-contained HTML/SVG with five diagram types, dark/light themes, and one-click export.

C
CoddyKit Team · 8 min read · 1,696 words
Archify: The Open-Source AI Agent Skill With 20,000+ GitHub Stars That Turns Code Into Beautiful Architecture Diagrams
⚡ Quick Answer

Archify is an open-source AI agent skill (20,400+ GitHub stars) that transforms codebases and system descriptions into polished, interactive architecture diagrams — directly in your chat. It works with Cursor, Claude Code, Codex CLI, and OpenCode, producing self-contained HTML/SVG with five diagram types, dark/light themes, and one-click export to PNG, SVG, WebM, and 1200×630 share cards.

If you've ever struggled to communicate your system's architecture to teammates, stakeholders, or even your future self, you're not alone. Architecture diagrams are one of the most important yet most neglected artifacts in software development. Most teams either skip them entirely or maintain outdated Confluence pages that nobody trusts.

Archify changes that equation entirely. This open-source tool — which has amassed over 20,400 GitHub stars and gained 1,000+ new stars in a single day — turns your AI coding assistant into an architecture documentation powerhouse. Instead of manually drawing boxes and arrows in Figma or draw.io, you simply describe your system in natural language, and Archify generates beautiful, verifiable, interactive diagrams.

Let's break down why this tool is trending and how it can transform your development workflow.

What Makes Archify Different From Other Diagramming Tools?

Most diagramming tools fall into one of two categories: manual drawing tools (like draw.io, Figma, or Lucidchart) where you drag and drop shapes, or text-to-diagram tools (like Mermaid or PlantUML) where you write code that compiles into images. Archify belongs to a new category: AI agent skills.

Here's the fundamental difference: Archify doesn't just render diagrams — it understands your codebase. When integrated with AI coding assistants like Cursor or Claude Code, it can:

  • Analyze your repository and identify core components, services, and their relationships
  • Generate typed JSON IR (Intermediate Representation) — a structured, schema-validated source of truth
  • Apply layout judgment — the AI chooses hierarchy, spacing, and emphasis rather than relying on generic auto-layout
  • Validate atomically — schema, layout, HTML/SVG, route, and label checks must all pass before delivery
  • Support iteration — refine diagrams with natural language like "add Redis" or "highlight the rollback path"

Unlike Mermaid themes or static SVG generators, Archify produces interactive, self-contained HTML files that you can open in any browser, present in meetings, or share as a single file.

Five Diagram Types for Every Engineering Need

Archify supports five distinct diagram types, each optimized for a specific kind of technical communication:

1. Architecture Diagrams

Map out components, services, storage layers, trust boundaries, and external dependencies. Perfect for system design reviews, onboarding docs, and architecture decision records (ADRs).

// Example prompt:
"Use archify to map this repository's runtime architecture.
Show 8-12 core components, one primary path,
external dependencies, and trust boundaries."

2. Workflow Diagrams

Visualize CI/CD pipelines, approval flows, tool call chains, and operational runbooks. Great for documenting deployment processes and incident response procedures.

3. Sequence Diagrams

Trace API calls, cache fallback paths, authentication flows, and async operations over time. Essential for debugging complex distributed systems.

4. Data Flow Diagrams

Show how data moves through pipelines, transformations, storage, and PII boundaries. Critical for compliance, data engineering, and privacy reviews.

5. Lifecycle Diagrams

Model state machines, retry logic, wait states, and terminal outcomes. Ideal for documenting job queues, order processing, and error handling strategies.

Getting Started: Installation and First Diagram

Archify installs as an agent skill using the standard npx skills CLI. Here's how to get started:

Step 1: Install Globally

npx skills add tt-a1i/archify -g

For a non-interactive Cursor-specific install:

npx -y skills add tt-a1i/archify --skill archify --agent cursor --global --copy --yes

Step 2: Try Without Installing

npx skills use tt-a1i/archify@archify --agent codex

Step 3: Generate Your First Diagram

Once installed, simply ask your AI agent:

"Use archify to map this repository's runtime architecture.
Show 8–12 core components, one primary path, external
dependencies, and trust boundaries. Put supporting detail
in cards instead of adding more edges."

The agent will analyze your codebase, produce typed JSON IR, validate it against Archify's schema, and generate a self-contained HTML file you can open directly in your browser.

Step 4: Iterate and Refine

Continue with focused requests:

"Add Redis caching layer"
"Move auth service to the left"
"Highlight the rollback path"
"Compare the before and after architecture"

Archify maintains the typed source, so each iteration is precise and doesn't break unrelated structure.

Real-World Example: Mapping a Microservices E-Commerce Platform

Let's walk through a practical scenario. Imagine you're working on an e-commerce platform with the following services:

  • React frontend served via CDN
  • API Gateway (Kong)
  • Auth Service (JWT + Redis sessions)
  • Product Catalog Service (PostgreSQL + Elasticsearch)
  • Order Service (PostgreSQL + Kafka event stream)
  • Payment Service (Stripe integration)
  • Notification Service (SQS + SES)

Instead of spending hours in draw.io, you tell your AI agent:

"Use archify to draw this e-commerce architecture:
Browser → CDN → Kong API Gateway → [Auth, Catalog, Order, Payment, Notification services].
Auth uses Redis for sessions with PostgreSQL fallback.
Catalog uses PostgreSQL + Elasticsearch.
Order publishes events to Kafka consumed by Notification.
Payment calls Stripe API. Show trust boundaries around
the payment flow."

Archify generates an interactive HTML diagram where you can:

  • Click components to see detailed cards with metadata
  • Trace routes — follow the exact path from browser to database
  • Toggle themes — switch between dark and light modes
  • Export share cards — generate 1200×630 images for documentation or social media
  • Compare changes — use Architecture Delta to review before/after snapshots for PR reviews

The result? A production-quality architecture diagram in minutes, not hours. And because it's backed by typed JSON IR, you can version-control the source alongside your code.

Key Benefits of Using Archify

  • 🎨 Beautiful by Default — Professional-quality diagrams with four visual presets (Blueprint, Signal Flow, Classic, and more), dark/light themes, and built-in brand marks
  • 🔍 Verifiable & Trustworthy — Every diagram passes atomic validation (schema, layout, routes, labels) before delivery. No more "is this diagram accurate?" debates
  • 📦 Self-Contained Output — Single HTML files that work anywhere: email attachments, GitHub repos, Slack messages. No external dependencies or accounts needed
  • 🔄 Iterative Refinement — Update diagrams with natural language. Add components, rearrange layout, or highlight paths without starting from scratch
  • 📊 Multiple Export Formats — PNG for screenshots, SVG for print, WebM for animated walkthroughs, and 1200×630 share cards for social media
  • 🔀 Architecture Delta — Compare two validated snapshots (Before / Delta / After) for PR reviews, with exact added, removed, changed, moved, and rerouted facts
  • 🧭 Truthful Interaction — Route tracing, upstream/downstream reach, and role comparison use only authored topology — the tool never invents connections or claims runtime impact
  • ⚡ AI-Native Workflow — Works directly in your chat with Cursor, Claude Code, Codex CLI, or OpenCode. No context switching to a separate tool

How Archify Compares to Traditional Tools

Feature Mermaid/PlantUML draw.io/Figma Archify
AI-Powered Generation
Codebase Analysis
Interactive HTML Output
Schema Validation Partial
Architecture Delta/Diff
Self-Contained Files
Natural Language Iteration

Who Should Use Archify?

Archify is particularly valuable for:

  • Software Architects — Generate and maintain accurate architecture documentation without manual drawing
  • Tech Leads — Create system maps for onboarding, design reviews, and incident postmortems
  • DevOps Engineers — Document CI/CD pipelines, deployment architectures, and infrastructure topology
  • Full-Stack Developers — Visualize your own codebase to spot coupling issues, circular dependencies, and optimization opportunities
  • Open Source Maintainers — Provide contributors with clear architecture documentation that stays up to date
  • Technical Writers — Produce consistent, professional diagrams for documentation without learning complex tools

Frequently Asked Questions

What is Archify and how does it work?

Archify is an open-source AI agent skill that generates interactive architecture diagrams from codebases or natural language descriptions. It works as a plugin for AI coding assistants like Cursor, Claude Code, Codex CLI, and OpenCode. The AI agent analyzes your code or prompt, produces typed JSON IR (Intermediate Representation), and Archify compiles it into self-contained HTML/SVG diagrams with full validation.

Is Archify free to use?

Yes, Archify is completely free and open-source under the MIT license. You can install it globally with npx skills add tt-a1i/archify -g and start generating diagrams immediately. There are no usage limits, accounts, or API keys required.

Which AI coding tools does Archify support?

Archify currently supports Cursor, Claude Code, Codex CLI, and OpenCode. It uses the standard Agent Skills protocol, so support for additional AI coding tools is expected as the ecosystem grows. You can also use it with the zero-dependency CLI directly: node archify/bin/archify.mjs guide "your description".

Can I edit or customize the generated diagrams?

Absolutely. You can iterate on diagrams using natural language commands like "add Redis caching layer," "move the auth service to the left," or "highlight the rollback path." Archify maintains the typed JSON source, so each change is precise and doesn't break unrelated structure. The diagrams are also interactive — you can click components, trace routes, and toggle themes in the browser.

What export formats does Archify support?

Archify exports to PNG (clipboard and file), SVG (for print and scaling), WebM (for animated walkthroughs), and 1200×630 share cards optimized for README files, release notes, and social media posts. The primary output is a self-contained HTML file that works in any modern browser without external dependencies.

How does Archify ensure diagram accuracy?

Archify uses atomic validation — every diagram must pass schema checks, layout rules, HTML/SVG rendering, route validation, and label-to-route clearance before delivery. If validation fails, it returns a machine-readable repair receipt with exact rule codes, subjects, and suggested fixes. The tool also never invents topology: all interactions (route tracing, reach analysis) use only authored nodes and edges.

Can I use Archify for PR reviews and architecture comparisons?

Yes. Archify's Architecture Delta feature compares two validated snapshots (Before / Delta / After) and produces a machine receipt showing exactly what was added, removed, changed, moved, or rerouted. This makes it ideal for design reviews, PR reviews, and tracking architectural evolution over time. Use the CLI: node archify/bin/archify.mjs compare architecture base.json head.json output.html --json.


Ready to level up your development skills? Explore CoddyKit's interactive coding courses and master the tools that modern developers use every day. From JavaScript fundamentals to advanced AI-powered workflows, we've got you covered. 🚀

ProgrammingTutorialCoddyKit

Enjoyed this article?

Explore more tutorials and insights to level up your coding skills.

Browse All Articles →