AI
Archify v3.3.0: How an Apache-2.0 Agent Skill Compiles and Verifies Interactive Architecture Diagrams
Archify v3.3.0 turns plain-language prompts, Mermaid sketches, or local repositories into self-contained interactive HTML diagrams and one-page explainers. With 99.1k GitHub stars, 10 diagram types, and a 9-gate layout verification pipeline, it solves common LLM diagramming failures—though automated checks still cannot verify runtime truth.
9 min read
Archify v3.3.0: How an Apache-2.0 Agent Skill Compiles and Verifies Interactive Architecture Diagrams
Executive Summary
When engineers ask an AI coding assistant to draw a system architecture diagram, the model typically improvises raw SVG coordinates or outputs a static Mermaid block that tangles edges as soon as a system exceeds a dozen components. Archify (tt-a1i/archify) takes a different approach: instead of letting a language model guess pixel positions, it packages a zero-dependency Node.js compiler, a schema-validated JSON specification, and a deterministic layout-verification pipeline as an installable Agent Skill.
As of November 23, 2026, the repository has accumulated 99.1k GitHub stars, 6.8k forks, 2,756 commits, and more than 130K+ installs on skills.sh (GitHub). With the v3.3.0 release on November 22, 2026 (GitHub Releases), Archify migrated its primary license to Apache-2.0, expanded its static Code Analysis (Architecture Diagnosis) module across seven languages with an interactive 3D Atlas proof of concept, and added native HTML story walkthroughs with 1080p video export.
This analysis breaks down Archify's architecture, deterministic verification gates, integration surface across AI coding agents, and practical trade-offs for engineering teams. While Archify's nine-point layout checks and atomic delivery pipeline eliminate common rendering defects, automated validation still cannot verify whether a diagram accurately reflects live production behavior—a distinction teams must manage before relying on generated artifacts for design reviews.
Architecture & How It Works
Archify's core design separates semantic authoring (performed by the LLM agent) from deterministic layout and verification (performed locally by the Node.js CLI). Rather than generating HTML or SVG directly in chat, the agent inspects a user prompt, Mermaid snippet, or local repository, writes a typed JSON specification (or a structured Markdown draft for one-page explainers), and invokes node archify/bin/archify.mjs to compile and validate the output (Archify).
The Atomic capture -> verify -> publish Pipeline
Introduced in v3.0.0 and refined through v3.3.0, Archify enforces an atomic delivery workflow so that a failed render or layout violation never overwrites an existing valid diagram (GitHub Releases):
flowchart LR
A[Agent Prompt / Local Repo / Mermaid] --> B[Typed JSON Spec or Explainer Markdown]
B --> C[validate: Schema & 9 Layout Checks]
C -->|Pass| D[deliver: Render & Atomic Swap]
C -->|Fail| E[Reject & Preserve Last Good HTML]
D --> F[check: Read-Back SHA-256 Receipt]
F --> G[browser-check: Chrome Viewport Audit]
G --> H[Standalone Interactive HTML Artifact]The finalize command orchestrates all four gates in a single pass and emits a machine-readable JSON receipt recording the output's SHA-256 hash and check statuses (Archify):
# Finalize a sequence diagram with headless browser viewport verification
archify finalize sequence cache-miss.json cache-miss.html --browser-check
# Compare two validated architecture snapshots to produce a structural delta
node archify/bin/archify.mjs compare architecture base.json head.json architecture-delta.html --json
# Query the built-in scenario guide for diagram type routing
node archify/bin/archify.mjs guide "API P99 latency spike after cache miss" --json
Every output is a self-contained standalone HTML file bundling the interactive viewer alongside its typed JSON or Markdown source. Recipients can open the file offline in any modern browser without installing Archify or Node.js (Archify).
Ten Native Diagram Types and One-Page Explainers
Early September 2026 coverage described Archify's initial five diagram types (Taku). Starting with v3.1.0 (October 13, 2026) and v3.2.0 (October 18, 2026), the skill expanded to ten native interactive diagram types plus one-page answers (explainer) (GitHub Releases; Archify):
| Output Mode | Supported Types / Variants | Primary Use Case | Key Interactive Features |
|---|---|---|---|
| System & Flow Maps | Architecture, Workflow, Sequence, Data Flow, Lifecycle | Service boundaries, CI/CD gates, API traces, state machines | Semantic search (/), route tracing (R), Semantic Radar (M), Role Lens (L) |
| Data & Time Maps | ERD, Class/Interface, Tree, Timeline, Waterfall | Database schemas, type contracts, hierarchies, latency breakdowns | Cross-diagram drilldowns (href / drilldowns), live motion toggle, 4 presets |
One-Page Answers (explainer) |
clean, editorial, product, Swiss (light/dark) |
Incident postmortems, RFCs, decision memos, repo walkthroughs | Conclusion-first layout, paired diagram + steps, patch explainer by panel ID |
| Code Analysis (v3.3.0) | Atlas Star Map & Atlas 3D POC | Dependency cycles, coupling hotspots, layer-rule breaks | Source-linked findings, fix tasks for agents, entry-point bypass reporting |
The viewer ships with four visual identities (Classic, Signal Flow, Blueprint, and Editorial), 12 keyboard shortcuts, and an export menu supporting PNG, JPEG, WebP, SVG, PDF (for explainers), 1200×630 Route/Reach Share Cards, and 60 fps WebM/MP4 story walkthroughs in v3.3.0 (Archify; GitHub Releases).
Static Code Analysis in v3.3.0
In v3.3.0, Archify bundles Architecture Diagnosis (Code Analysis) directly into the skill with no extra package installation. Supporting JavaScript/TypeScript, Python, Java, Go, Rust, C, and C++, the module builds an offline HTML artifact containing a dependency star map (Atlas view), a rotatable 3D dependency model tested on both Archify itself and LangChain core (#1207), and ranked findings for dependency cycles, module coupling, complexity hotspots, and module entry-point bypasses (#1206) (GitHub Releases; Archify). Each finding links back to its source file and includes a structured fix task that can be handed back to the coding agent.
Benchmarks, Verification Gates & Capability Analysis
Unlike LLM benchmarks that score code generation accuracy on datasets like SWE-bench, Archify's published metrics focus on deterministic layout verification and repository adoption rather than independent third-party accuracy evaluations.
Vendor-Reported Verification Gates vs. Independent Assessments
When evaluating Archify, it is important to separate what the project's built-in verification receipts actually prove from what independent reviewers have observed:
- Nine Structural & Layout Gates (Project-Defined): Every native diagram finalized through
archify finalizeis checked against nine deterministic SVG and geometry rules:single_svg,finite_svg,orthogonal_arrows,label_route_clearance,relationship_crossings,relationship_corridors,container_border_runs,route_rhythm, andlegend_clearance(Archify). - Headless Browser Audit (
--browser-check): For native diagrams by default—and opt-in via--browser-checkfor one-page answers—Chrome renders the delivered HTML across four desktop viewports (1440×900,1600×1000,1920×1080, and2048×1320) to catch text overflow and enforce a minimum readable font size (e.g.,7 pxobserved vs.6 pxrequired in the publishedcache-missreceipt) and a4.5:1contrast floor in light presets added in v3.3.0 (Archify; GitHub Releases). - Proof Lab & Benchmark v2: Archify v3.1.0 checked in 11 Proof Lab scenarios, and v3.3.0 introduced benchmark v2 (
#1059) alongside release attestations for the5.17 MBarchify.ziparchive (GitHub Releases). However, no independent third-party benchmark comparing Archify's diagram accuracy against Mermaid, Excalidraw, or D2 across standardized codebases has been published to date. - Independent Security & Scope Review (Taku): In a September 13, 2026 technical review, Taku noted that while Archify reliably prevents common LLM SVG failures (arrows piercing boxes, overlapping labels, ambiguous corridors), "automated validation does not replace perceptual review," and the tool checks structural well-formedness rather than whether the described architecture matches reality. Taku also published a least-privilege adaptation that strips local server startup, repository inspection, and remote asset fetching for users who want text-only diagramming without filesystem/network permissions (Taku).
Cost, Runtime & Latency Profile
Archify itself is free and open-source under Apache-2.0 and requires zero external API keys or SaaS connectors (GitHub; Taku). Because rendering and layout checks execute locally via Node.js (>= 18, with canonical builds targeting Node 22) and an optional local Chrome pass, the only variable cost is the token consumption of the host coding agent (Claude Code, Codex, Cursor, OpenCode, Copilot, Kimi Work, or DeepSeek Harness) when reading a repository and authoring the JSON spec.
In terms of latency, single-file compilation and the nine-gate check run locally in Node.js without round-trip rendering APIs, though enabling --browser-check adds headless Chromium startup and multi-viewport screenshot/DOM inspection overhead.
Production Deployment & Trade-Offs
Installation Across Coding Agents
Archify supports prompt-based installation via llms.txt as well as explicit CLI installation via skills.sh. Note that early September 2026 community posts circulated a shorter command (npx skills add tt-a1i/archify -g), whereas the current canonical command documented on archify.si targets the https://archify.si source:
# Global install for Cursor (replace --agent with claude-code, codex, opencode, or copilot)
npx -y skills@latest add https://archify.si --skill archify --agent cursor --global --copy --yes
# Ephemeral single-use execution in OpenAI Codex CLI without permanent installation
npx skills use tt-a1i/archify@archify --agent codex
# DeepSeek Harness (DSH) community plugin installation
dsh plugin --profile web add @tt-a1i/archify-dsh@1.1.0
For DeepSeek Harness users, the community adapter @tt-a1i/archify-dsh (with archify-dsh-v1.2.0 tagged on November 22, 2026, following the npm 1.0.0 / 1.1.0 releases) requires Node.js ^22.19.0 || >=24.0.0 and mounts a filesystem skill provider without adding native network clients or telemetry (npm; GitHub Releases).
Privacy, Network Behavior & Air-Gapped Controls
By default, Archify runs an optional, non-blocking GET request roughly every 24 hours (±20%) to check for a new stable manifest. According to the project documentation, this request sends no version strings, agent identifiers, prompts, project data, or ETags (GitHub). In strict enterprise or air-gapped environments, teams can disable the check entirely with an environment variable:
export ARCHIFY_UPDATE_CHECK_DISABLED=1
Real-World Limitations & Failure Modes
Engineering teams adopting Archify in production workflows should account for five documented constraints:
- Structural Validity ≠ Runtime Truth: Archify's
validateandcheckgates verify SVG geometry, JSON schema integrity, and SHA-256 hash consistency—not whether your microservices actually communicate as drawn. Furthermore, its deployment-ownership profile fails closed if authored owners, regions, or database scopes are missing; it never queries live AWS, GCP, or Kubernetes control planes (GitHub Releases). - Static-Only Code Analysis: The v3.3.0 Architecture Diagnosis module inspects a single static revision of a repository rather than runtime OpenTelemetry traces, meaning dynamic dependency injection, reflection, or runtime feature flags may not be captured (Archify).
- Complex Branching & Viewport Edge Cases: Even with nine layout checks, the v3.1.0 release notes acknowledge that highly dense branching graphs can still retain some edge crossings or Sequence diagram viewport control overlaps, requiring human visual review (GitHub Releases).
- Illustrative vs. Observed Timings: For Timeline and Waterfall diagrams, Archify relies on the agent or author to explicitly label whether latencies are observed measurements or illustrative estimates (GitHub Releases).
- Lossy Mermaid Conversion: While Archify can ingest existing Mermaid flowcharts, sequence diagrams, or state diagrams and re-author them into its typed JSON format, it does not guarantee lossless automatic parsing of every Mermaid dialect construct (Archify).
Frequently Asked Questions
1. Does Archify require access to my source code repository?
No. A repository is optional. You can describe a system, incident, or workflow in plain language—or paste an existing Mermaid diagram—and Archify will compile the interactive HTML artifact without inspecting any local files (Archify; Taku).
2. What license does Archify use in v3.3.0?
As of v3.3.0 (November 22, 2026), Archify adopted the Apache-2.0 license (PRs #1098 and #1099), transitioning from earlier MIT grants while retaining LICENSE-MIT and THIRD_PARTY_NOTICES.md in the repository (GitHub Releases).
3. How does Archify compare to Mermaid or Excalidraw for engineering docs?
Mermaid excels at quick, inline Markdown text blocks inside GitHub or Notion, while Excalidraw excels at freeform whiteboarding. Archify targets a middle ground: deterministic, multi-view interactive HTML artifacts with semantic search, route tracing, diffing (compare), and automated layout gates that prevent overlapping labels and tangled corridors (Archify; Taku).
4. Can I diff architecture changes in a pull request?
Yes. Archify provides a compare CLI command (node archify/bin/archify.mjs compare architecture base.json head.json architecture-delta.html --json) that outputs a Before/Delta/After HTML view and machine receipt, as well as an optional archify-pr skill for attaching PR walkthroughs to GitHub or GitLab diffs (GitHub; Archify).
5. What Node.js version and dependencies are required?
Archify has zero runtime npm dependencies and runs on Node.js 18 or newer (canonical archify.zip releases are built with Node 22). If you use the DeepSeek Harness plugin (@tt-a1i/archify-dsh), the adapter contract specifies Node.js ^22.19.0 || >=24.0.0 (GitHub; npm).
Sources
- Primary Repository:
tt-a1i/archifyon GitHub — https://github.com/tt-a1i/archify (Accessed November 23, 2026) - Release Notes & Changelog:
tt-a1i/archifyReleases (v3.0.0throughv3.3.0andarchify-dsh-v1.2.0) — https://github.com/tt-a1i/archify/releases (November 22, 2026) - Official Documentation & Proof Gallery: Archify Official Site — https://archify.si/ (Accessed November 24, 2026)
- npm Package Registry:
@tt-a1i/archify-dshDeepSeek Harness Integration — https://www.npmjs.com/package/@tt-a1i/archify-dsh (November 2026) - Independent Review: "Archify: Architecture Diagrams Your Agent Can Verify" by Taku — https://taku.ai/blog/skill-archify (September 13, 2026)