กลับไปหน้า Tools

GetNotes Tools

tt-a1i/archify

Tool นี้คืออะไร

Archify เป็นเครื่องมือ Node.js ที่ช่วยให้นักพัฒนาและสถาปนิกระบบสามารถแปลงโค้ดเบสหรือคำอธิบายระบบให้เป็นแผนผังระบบแบบโต้ตอบที่สวยงามได้โดยตรงในแชท เหมาะสำหรับผู้ที่ต้องการสร้าง, ตรวจสอบ, และนำเสนอการเปลี่ยนแปลงสถาปัตยกรรมระบบได้อย่างมีประสิทธิภาพและเข้าใจง่าย

ข้อมูลโปรเจกต์

ดาว

98.6K

Forks

6.7K

License

Apache-2.0

อัปเดต GitHub ล่าสุด

22 พ.ย. 2569

เพิ่มใน GetNotes

16 ก.ย. 2569

Repository

tt-a1i/archify

เหมาะกับงาน

AI และ AgentsAutomationCoding Agentsข้อมูลและ AnalyticsDeveloper Tools

เหมาะกับอาชีพ

Ecosystem

JavaScript

แปลและเรียบเรียงโดย AI

เนื้อหาฉบับภาษาไทย

ใช้อ่านเพื่อทำความเข้าใจเบื้องต้น โปรดตรวจสอบรายละเอียดสำคัญกับเอกสารต้นฉบับด้านล่าง

Archify on Trendshift

Archify product preview

Archify

เปลี่ยนโค้ดเบสหรือคำอธิบายระบบให้เป็นแผนผังระบบแบบโต้ตอบที่สวยงาม — โดยตรงในแชท

Archify คือระบบเรนเดอร์และตรวจสอบ Node.js สำหรับ Cursor, Claude Code, Codex CLI และ OpenCode เอเจนต์จะสร้าง Typed JSON IR; Archify จะคอมไพล์เป็น HTML/SVG อย่างแม่นยำ

  • เปิดและนำเสนอ — แผนภาพห้าประเภท, สี่พรีเซ็ต, ธีมมืด/สว่าง, แบรนด์มาร์กในตัว และการเคลื่อนไหวที่จำกัด
  • ตรวจสอบการเปลี่ยนแปลงสถาปัตยกรรมก่อนการรวมโค้ด — เปรียบเทียบสแนปช็อตที่ผ่านการตรวจสอบสองรายการเป็น Before / Delta / After พร้อมข้อเท็จจริงที่เพิ่ม, ลบ, เปลี่ยนแปลง, ย้าย และเปลี่ยนเส้นทางอย่างแม่นยำ
  • ทุกการโต้ตอบยังคงมีพื้นฐาน — ค้นหาโหนด, เลือกเปิดแหล่งที่มาที่ผ่านการตรวจสอบการแก้ไข, ติดตามการเข้าถึงที่เขียนขึ้นต้นน้ำ/ปลายน้ำและเส้นทางที่แน่นอน, เปรียบเทียบบทบาท และเล่นเรื่องราวที่แนะนำโดยไม่ต้องสร้างโทโพโลยี
  • ไฟล์เดียว, พร้อมเชื่อถือและแบ่งปัน — Typed JSON IR และการตรวจสอบที่แม่นยำจะสร้าง HTML ที่รวมอยู่ในตัวเอง พร้อมด้วย PNG, SVG, WebM และการ์ดแชร์ขนาด 1200×630

License Agent Skill Development Version

เวอร์ชันการพัฒนาปัจจุบัน: v2.17.0-dev.1 ดู Changelog

หน้าโปรเจกต์ · คู่มือสถานการณ์ · Proof Lab

bash
npx skills add tt-a1i/archify -g

ใช้ Cursor อยู่ใช่ไหม? เปิด agent-aware quick start สำหรับคำสั่ง global และ project ที่แน่นอน

ไม่จำเป็นต้องมี Repository: อธิบายระบบในแชทของเอเจนต์ใดก็ได้

❤️ ผู้สนับสนุน

SupercodeSupercode Editor’s Choice — Archify

ต้องการสนับสนุน Archify ใช่ไหม? ติดต่อเราทางอีเมล

ดู Archify ในการทำงาน

สิ่งเหล่านี้คืออาร์ติแฟกต์ Archify ที่สร้างขึ้น ไม่ใช่ภาพจำลองผลิตภัณฑ์ คลิกที่เฟรมเพื่อเปิดสถานะที่ใช้งานได้จริงและสามารถแชร์ได้

เรื่องราวแนะนำการตรวจสอบเส้นทางเลนส์เชิงความหมาย
Agent workflow playing one authored chapterCache-miss sequence showing the Web App to Postgres routeProduction architecture comparing backend and database roles
เล่นบทที่กำหนดชื่อบทเดียวตรวจสอบเส้นทางที่เขียนขึ้นโดยตรงที่สั้นที่สุดเปรียบเทียบการรับส่งข้อมูลจริงระหว่างบทบาทเชิงความหมาย

Proof Lab มีสถานการณ์ที่ตรวจสอบแล้วทั้ง 11 รายการ, แหล่งที่มา JSON, มุมมองที่กำหนดชื่อ และใบเสร็จการตรวจสอบ

Repository จริง, แมปจากแหล่งที่มา

MCO runtime architecture generated from the public mco-org/mco repository

Archify ได้ติดตาม mco-org/mco ที่ 9f1a1cf และสร้างแผนที่ที่ตรวจสอบแล้วนี้ เปิดเลย ↗ · ติดตามการเข้าถึง ↗ · แหล่งที่มาแบบ Typed

ตัวอย่าง

แผนภาพเดียวกัน, สองธีม, คลิกเดียวเพื่อสลับ:

มืดสว่าง
Dark themeLight theme

เมนู Export จะคัดลอก PNG ไปยังคลิปบอร์ดและดาวน์โหลดรูปแบบคงที่หรือแบบเคลื่อนไหว:

Export menu

ใช้ Copy Share Card เมื่อคุณต้องการภาพขนาด 1200×630 ที่เป็นมาตรฐานสำหรับ README, การเผยแพร่ หรือโพสต์โซเชียล

หลังจากติดตามเส้นทางแล้ว Export → Route Share Card จะดาวน์โหลดเส้นทางที่เขียนขึ้นนั้นเป็น PNG ขนาด 1200×630 โดยยังคงแผนภาพทั้งหมดไว้เพื่อเป็นบริบท

Route Share Card showing the exact Users to API Server path with the full architecture retained as context

หลังจากติดตามการเข้าถึง Upstream หรือ Downstream ที่เขียนขึ้นแล้ว Export → Reach Share Card จะจับภาพการอ่านที่แน่นอนนั้นโดยไม่กล่าวอ้างถึงผลกระทบในขณะรันไทม์

MCO downstream Reach Share Card showing authored relationships from Command Router

เปิด examples/web-app.html ในเครื่องเพื่อลองใช้โปรแกรมดูแบบสมบูรณ์

เริ่มต้นอย่างรวดเร็ว

1. ติดตั้ง

bash
npx skills add tt-a1i/archify -g

สำหรับการติดตั้ง Cursor แบบชัดเจนและไม่โต้ตอบ:

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

หากต้องการลองโดยไม่ต้องติดตั้ง:

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

DSH community opt-in: dsh plugin --profile web add @tt-a1i/archify-dsh@0.1.0

ตัวสลับเอเจนต์ ครอบคลุม cursor, codex, claude-code และ opencode สำหรับการติดตั้ง ZIP ด้วยตนเองของ Raven ให้แตกไฟล์ archify.zip ไปยัง ~/.raven/workspace/skills; ซึ่งจะสร้าง ~/.raven/workspace/skills/archify Raven ไม่ใช่เป้าหมายของตัวสลับ

Archify อาจ GET manifest ที่เสถียรแบบตายตัวเพียงเพื่อแสดงการแจ้งเตือนเสริม; จะไม่มีการดาวน์โหลดหรือติดตั้งการอัปเดต การตรวจสอบที่สำเร็จจะรอประมาณ 72 ชั่วโมง (±20%); การใช้งานที่ใช้งานอยู่จะลองใหม่เมื่อเกิดข้อผิดพลาดหลังจาก 6 ชั่วโมง จากนั้น 24 ชั่วโมง เซิร์ฟเวอร์จะเห็นข้อมูลเมตา HTTP ปกติ (IP และเวลา) แต่ไม่ได้รับเวอร์ชัน, เอเจนต์, ข้อมูลโปรเจกต์, พรอมต์, ID บัญชี/อุปกรณ์ หรือ ETag คุณเป็นผู้ตัดสินใจว่าจะอัปเดตเมื่อใดและอย่างไร ตั้งค่า ARCHIFY_UPDATE_CHECK_DISABLED=1 เพื่อปิดการเชื่อมต่อเครือข่ายและการเขียนสถานะการแจ้งเตือน

2. เริ่มต้นจากคำอธิบาย — ไม่ต้องมี Repository

text
Use Archify to draw: Browser -> API -> Redis cache -> PostgreSQL fallback.

สำหรับหลักฐานจาก Source ให้เปิด repository และถาม:

text
Analyze this repository, then use archify to create a high-level runtime architecture diagram.
Show 8–12 core components, one primary path, external dependencies, and trust boundaries.
Put supporting detail in cards instead of adding more edges.

3. ปรับแต่งในแชท

ดำเนินการต่อด้วยคำขอที่เน้นเฉพาะเจาะจง เช่น add Redis, move auth to the left หรือ highlight the rollback path Archify จะเก็บ source ที่พิมพ์ไว้สำหรับการปรับปรุงแบบเจาะจง

เลือกไดอะแกรมที่เหมาะสม

ประเภทเหมาะที่สุดสำหรับสิ่งที่ควรรวมใน Prompt ของคุณ
Architectureส่วนประกอบ, บริการ, ที่เก็บข้อมูล, ขอบเขตขอบเขต, ส่วนประกอบหลัก, เส้นทางหลัก
WorkflowCI/CD, การอนุมัติ, การเรียกใช้เครื่องมือ, Runbookผู้เข้าร่วม, ลำดับ, สาขา, ข้อยกเว้น
Sequenceการเรียก API, การสำรองแคช, การยืนยันตัวตน, การติดตามแบบอะซิงโครนัสผู้เรียก, ผู้ถูกเรียก, การส่งคืน, เวลา
Data FlowPipeline, Lineage, PII, ผู้บริโภคSource, การแปลง, ที่เก็บข้อมูล, ขอบเขต
Lifecycleสถานะ, การลองใหม่, การรอ, ผลลัพธ์สุดท้ายสถานะ, เหตุการณ์, เส้นทางการลองใหม่และการยกเลิก

โปรไฟล์ deployment-ownership ที่เป็นทางเลือกของ Architecture จะล้มเหลวเมื่อเจ้าของที่ระบุ, ตำแหน่งภูมิภาค, ขอบเขตฐานข้อมูลส่วนตัว หรือการข้ามที่ระบุชื่อหายไป; มันไม่เคยเป็นโดยนัยและไม่ได้ตรวจสอบโครงสร้างพื้นฐานที่ใช้งานจริง ดู checked deployment proof

สำหรับการออกแบบหรือการตรวจสอบ PR, Architecture Delta จะเปรียบเทียบสแนปช็อต Before / Delta / After ที่ผ่านการตรวจสอบแล้วพร้อมใบเสร็จจากเครื่อง เลือกการเปลี่ยนแปลงที่ระบุหรือเล่น Review แบบจำกัด, ดูได้อย่างเดียว; มันไม่สรุปผลกระทบ, ความเสี่ยง หรือความปลอดภัยในการรวมโค้ด

node archify/bin/archify.mjs compare architecture base.json head.json architecture-delta.html --json

Architecture Delta showing added, removed, changed, and moved authored facts

ไม่แน่ใจว่าอันไหนเหมาะสม? ใช้ interactive scenario guide หรือสอบถาม CLI ที่ไม่มี dependency:

bash
node archify/bin/archify.mjs guide "Show an API request with Redis cache miss"
node archify/bin/archify.mjs guide "Map Kafka topics, consumer groups, replay, and DLQ" --json

Workflow ทำให้เส้นทางปกติชัดเจนในแต่ละเลน:

Workflow example

Sequence อธิบายการโต้ตอบหนึ่งครั้งในช่วงเวลาหนึ่ง:

Sequence example

Data Flow ทำให้การเคลื่อนไหวและขอบเขตความละเอียดอ่อนชัดเจน:

Data Flow example

Lifecycle แยกความคืบหน้า, การรอ, การลองใหม่ และผลลัพธ์สุดท้าย:

Lifecycle example

ตัวอย่าง Architecture: web-app · Archify pipeline · grid placement · desktop agent

ทำไมต้อง Archify

  • การตัดสินใจจัดวางแทนการจัดวางอัตโนมัติแบบทั่วไป — Agent จะเลือกโครงสร้างลำดับชั้น, ระยะห่าง, เส้นทาง และการเน้น; จุดสิ้นสุดอัตโนมัติที่ใช้ร่วมกันจะกระจายอย่างเป็นระเบียบแทนที่จะซ้อนลูกศรบนจุดกึ่งกลางเดียว
  • Typed JSON IR — ทุกโหมดที่รองรับ Renderer มี Schema และ Source ที่สามารถสร้างซ้ำได้
  • การตรวจสอบแบบ Atomic ก่อนการส่งมอบ — การตรวจสอบ Schema, การจัดวาง, HTML/SVG, เส้นทาง และการเคลียร์ Label-to-route ทั้งหมดต้องผ่านก่อนที่ Artifact ที่แสดงจะมาแทนที่ Output ที่ดีที่สุดที่ทราบล่าสุด
  • ความล้มเหลวมาพร้อมกับใบเสร็จการซ่อมแซม — validate --json และ deliver --json จะส่งคืนรหัสกฎที่เสถียร, Subject ที่แน่นอน, หลักฐานที่วัดได้ และการควบคุมการซ่อมแซมที่รองรับเท่านั้น แทนที่จะเป็น Node stack หรือการคาดเดาการลองใหม่ที่ไม่มีโครงสร้าง
  • Last-good live preview — ลูปเดสก์ท็อปที่เป็นทางเลือกจะเฝ้าดูไฟล์ JSON หนึ่งไฟล์, รีเฟรชเฉพาะหลังจากที่ Candidate ล่าสุดผ่านทุกเกต และแสดงไดอะแกรมที่ตรวจสอบแล้วก่อนหน้าเมื่อการบันทึกไม่สมบูรณ์หรือไม่ถูกต้อง
  • การโต้ตอบที่แท้จริง — การโฟกัส, การเข้าถึง Upstream/Downstream, เส้นทางที่แน่นอน, การเปรียบเทียบบทบาท และเรื่องราวจะใช้ Node และความสัมพันธ์ที่ระบุไว้ซ้ำ แทนที่จะสร้าง Topology หรืออ้างสิทธิ์ผลกระทบใน Runtime
  • หลักฐานจาก Source, เฉพาะเมื่อร้องขอ — Node Architecture ที่มีหลักฐานจะทำเครื่องหมายตัวเองว่า SRC n และเปิดไฟล์และช่วงบรรทัดที่ตรวจสอบโดย Git ซึ่งปักหมุดไว้ที่ Commit สาธารณะหนึ่งรายการ; Artifact ทั่วไปจะยังคงไม่มี Source
  • พกพาได้โดยค่าเริ่มต้น — ผลลัพธ์คือไฟล์ HTML หนึ่งไฟล์; การส่งออกยังคงเป็นไดอะแกรมเต็มรูปแบบและไม่มีสถานะ Viewer ชั่วคราว

Archify ไม่ใช่โปรแกรมแก้ไขภาพวาดทั่วไปหรือธีม Mermaid มันเปลี่ยนความตั้งใจทางเทคนิคให้เป็น Artifact สำหรับการสื่อสาร

วิธีการทำงาน

ขั้นตอนสิ่งที่เกิดขึ้น
GenerateAgent สร้าง Typed JSON IR จากคำอธิบายของคุณ
Validateตัวตรวจสอบและกฎการจัดวางที่รวมมาจะตรวจสอบ Source; ความล้มเหลวจะระบุการซ่อมแซมภายในที่แน่นอนในรูปแบบ JSON ที่เครื่องอ่านได้
Preview (ทางเลือก)เซสชันเดสก์ท็อปแบบ Loopback เท่านั้นจะเฝ้าดู Source หนึ่งรายการและโหลดเฉพาะ Revision ที่ตรวจสอบแล้วใหม่; ความล้มเหลวจะเก็บ Artifact ที่ดีที่สุดล่าสุดไว้
DeliverCandidate ในไดเรกทอรีเดียวกันจะถูก Render และตรวจสอบ; เฉพาะ Artifact ที่ผ่านเท่านั้นที่จะแทนที่ Target แบบ Atomic จากนั้น --open ที่เป็นทางเลือกจะเปิดไฟล์นั้น
IterateAgent จะอัปเดต Source ในขณะที่โครงสร้างที่ไม่เกี่ยวข้องยังคงเสถียร

คำสั่ง Repository ที่มีประโยชน์:

bash
cd archify
node bin/archify.mjs doctor
node bin/archify.mjs demo /tmp/archify-demo
node bin/archify.mjs guide "Show CI/CD checks, approval, deploy, and rollback"
node bin/archify.mjs validate workflow examples/agent-tool-call.workflow.json --quality showcase --json
node bin/archify.mjs preview workflow examples/agent-tool-call.workflow.json /tmp/workflow.html --quality showcase
node bin/archify.mjs deliver workflow examples/agent-tool-call.workflow.json /tmp/workflow.html --quality showcase --open --json

preview เป็นโหมดเดสก์ท็อปแบบ Loopback เท่านั้นที่ชัดเจน: มันจะเฝ้าดูไฟล์ JSON หนึ่งไฟล์บนพอร์ต 127.0.0.1 แบบสุ่ม, เก็บ Output ที่ตรวจสอบแล้วล่าสุดไว้แม้จะเกิดความล้มเหลว, หยุดด้วย Ctrl-C และไม่เพิ่ม Runtime ของ HTML ที่สร้างขึ้น ใช้ --no-open สำหรับการทดสอบหรือการเปิด URL ด้วยตนเอง

deliver --open เป็นการส่งมอบแบบครั้งเดียวหลังจาก Commit ที่เลือกใช้ได้ ความล้มเหลวของ Opener จะรักษาความสำเร็จไว้; JSON ยังคงอยู่บน stdout และเส้นทางสำรองแบบ Absolute จะไปที่ stderr

เมื่อเกิดความล้มเหลว, validate --json และ deliver --json จะส่งออกออบเจกต์ JSON หนึ่งรายการ ใช้เฉพาะ supportedFixes ของ Subject ใน diagnostics[] ภายในสองรอบการแก้ไขของ Skill; การตรวจสอบด้วยสายตายังคงแยกต่างหาก

การตั้งค่า:

json
{
  "meta": {
    "locale": "en",
    "animation": "trace",
    "visual_preset": "signal-flow"
  }
}

meta.locale=en|zh-CN จะแปลชื่อหน้า, Legend, สถานะ/ข้อผิดพลาด, a11y, HTML/SVG lang — ไม่ใช่เนื้อหาที่ระบุไว้ มิฉะนั้นให้ละเว้น; รักษาสำเนาภาษาที่ร้องขอ; เปิดเผยภาษาอังกฤษสำรอง Static จะละเว้น animation; classic เป็นค่าเริ่มต้น

สำรวจและแบ่งปัน Output

การกระทำการควบคุม
เปิด Diagram Guide ที่เป็นข้อเท็จจริง?
ค้นหาและโฟกัส Node เชิงความหมาย/
ติดตามการเข้าถึง Upstream/Downstream ที่ระบุโฟกัส Node → Upstream / Downstream
ตรวจสอบเส้นทางที่มีทิศทางและตรวจสอบการเดินทางR หรือ PATH
เปรียบเทียบบทบาทเชิงความหมายหนึ่งหรือสองบทบาทL หรือ LENS
เปิดเรดาร์ภาพรวมแบบสดM หรือ MAP
เล่นเรื่องราวที่มีคำแนะนำ / เปลี่ยนบทP / [ ]
เข้าสู่ Presentation StageF
เลือกสไตล์ภาพ (S วนรอบ) / สลับธีม / เปิด ExportS / T / E
ซูมหรือรีเซ็ต+ / - / 0

ลิงก์ที่เสถียรสามารถกู้คืน #focus=<id>, #focus=<id>&reach=upstream|downstream, #relation=<id>, #route=<source>~<target>, #lens=<kind>~<kind> และ #view=<view-id> การเคลื่อนไหวที่ขับเคลื่อนโดยผู้อ่านมีจำกัด, เคารพ prefers-reduced-motion และไม่เคยเข้าสู่การส่งออก Canonical

สัญญาการสร้างและ Viewer ที่สมบูรณ์อยู่ใน archify/SKILL.md

ตัวเลือกการติดตั้ง

พื้นผิวตำแหน่งหรือวิธีการติดตั้งความสามารถ
RavenZIP ด้วยตนเองไปยัง ~/.raven/workspace/skills → ~/.raven/workspace/skills/archifyRenderer เต็มรูปแบบ + Workflow การตรวจสอบ
Claude Code~/.claude/skills/ หรือ .claude/skills/Renderer เต็มรูปแบบ + Workflow การตรวจสอบ
Codex CLI~/.agents/skills/ หรือ .agents/skills/Renderer เต็มรูปแบบ + Workflow การตรวจสอบ
opencode~/.config/opencode/skills/, .opencode/skills/ หรือ .agents/skills/Renderer เต็มรูปแบบ + Workflow การตรวจสอบ
Claude.aiอัปโหลด archify.zip ภายใต้ Settings → Capabilities → Skillsขึ้นอยู่กับการเข้าถึง Node.js ใน Sandbox
Project Knowledgeอัปโหลด archify.zip ไปยังโปรเจกต์การสำรอง Architecture ที่ขับเคลื่อนด้วย Prompt
DeepSeek Harnessเลือกใช้: dsh plugin --profile web add @tt-a1i/archify-dsh@0.1.0. เรียกใช้: Use the archify skill to map this repository's runtime architecture. ลบ: dsh plugin --profile web remove @tt-a1i/archify-dsh.การรวมชุมชนสำหรับ Developer-preview @deepseek-ai/dsh@0.1.0-rc.6; Node ^22.19.0 || >=24.0.0; ไม่ใช่ผลิตภัณฑ์ DeepSeek อย่างเป็นทางการ ไม่มี Telemetry ไฟล์ Shell ต้องการเส้นทาง Workspace ที่แน่นอน ไม่ใช่ Web Produced Files รายละเอียด.

การอ้างอิงและขอบเขต

การแยกวิเคราะห์ Mermaid อัตโนมัติ, การจัดวางอัตโนมัติแบบทั่วไป, การแชร์แบบโฮสต์ และการแก้ไขแบบ WYSIWYG อยู่นอกขอบเขตปัจจุบันโดยเจตนา

ใบอนุญาต

MIT — ใช้งาน แก้ไข และเผยแพร่ได้ฟรี

การมีส่วนร่วม

ยินดีรับ Issues, pull requests และไดอะแกรมจากโลกจริง เริ่มต้นด้วย คู่มือการมีส่วนร่วม, ใช้แบบฟอร์มรายงานข้อผิดพลาดที่สามารถทำซ้ำได้สำหรับความล้มเหลว หรือส่งไดอะแกรมที่ผ่านการตรวจสอบแล้วผ่าน แบบฟอร์มแสดงผลงานของชุมชน &nbsp;·&nbsp;LINUX&nbsp;DO

ประวัติ Star

Star History

เอกสารโปรเจกต์

อ่านเอกสารต้นฉบับ

README วิธีติดตั้ง วิธีใช้งาน และข้อกำหนดจาก repository ต้นฉบับ

ดูไฟล์บน GitHub
Archify
Archify — interactive diagrams
tt-a1i/archify | Trendshift
GitHub stars130K+ installs on skills.shApache License 2.0Works with Claude Code, Codex, Cursor, OpenCode, and GitHub CopilotStable version 3.3.2
Archify websiteJoin Archify on DiscordArchify WeChat groupArchify QQ groupFollow the creator on XSupport Archify

See Archify in action

https://github.com/user-attachments/assets/6a0d6637-e3af-43af-a733-4b4b53da0542

One sentence. Your repo, mapped. Watch the 60-second tour: map a whole repository, put the findings on your architecture diagram, walk through a real PR, and export it as video. Try the interactive examples ↗

Install, then describe your idea

Works with Cursor, Claude Code, Codex CLI, and OpenCode. See installation options below for additional integrations.

With an AI agent. Paste this:

text
Install Archify for me by reading https://raw.githubusercontent.com/tt-a1i/archify/main/llms.txt

Send this to your agent:

text
Use Archify to diagram a web request: Browser calls the API,
the API checks Redis, and a cache miss queries PostgreSQL and fills the cache.

Then continue: “Add authentication”, “Highlight the cache-miss path”, or “Switch to the light theme”.

No repository is required: start with a description, or ask your agent to read a repository for a source-backed architecture diagram.

Choose your agent · Installation details and update checks · Create and check diagrams with your agent

Ask a question, get a one-page answer

Not every answer is one diagram. Ask your agent to answer as a page and Archify builds an explainer: the conclusion first, then one panel per question, with tables, steps, charts, code and validated diagrams.

An explainer page: the answer first, then steps beside the sequence diagram they walk through

  • Conclusion first. The answer and its reasons lead; every panel takes one question.
  • Diagrams that explain. Steps sit beside the diagram they walk through and light its parts as you read. Click any node to open the full interactive view.
  • Easy to check. Claims cite numbered sources; repository excerpts are pinned to a commit and open in a source card.
  • Easy to share. One HTML file with four styles and light or dark themes. Export a PNG, WebP or JPG long image, or print to PDF. Ask about any panel to get a follow-up your agent can use to revise just that panel.
text
Use Archify to answer as one page: our API's P99 went from 80 ms to 600 ms
while the mean barely moved. What is the likely cause, and how should we investigate?

By default your agent also makes a page unasked when an answer is a complex flow, a diagnosis, a comparison or a test report. The reply still gives a short conclusion you can read in chat, and its last line links to the page, such as “Open the test report”. Short answers, text-only requests and failed pages get no page or link. To get pages only when you ask, tell your agent so, or add [archify explainer: on-demand] to its global rules file (such as ~/.codex/AGENTS.md or ~/.claude/CLAUDE.md). [archify explainer: always-on] adds a compact page to every answer that reaches a conclusion; deleting the line restores the default.

Live examples: First HTTPS visit · P99 latency (Chinese) · How Archify finalize keeps the last good file, read from this repository (Chinese) · First rental checklist (Chinese)

❤️ Sponsors

Archify × Kimi Work collaboration banner

Archify × Kimi Work. Find Archify in the Kimi Work plugin store as Interactive Architecture Diagram. Describe your system in one sentence to create an interactive diagram. Try it in Kimi Work →

SupercodeSupercode Editor’s Choice — ArchifyOpenLuxPackyCodeAICodeMirrorZTURBOInfistar.cc

Want to sponsor Archify? Contact us by email.

Show what matters

Explain an agent workflowFollow a cache missExplore service relationships
Agent workflow tracing everything the planner drivesCache-miss sequence showing the Web App to Postgres routeProduction architecture comparing backend and database roles
Trace everything downstream of one step.Highlight the path from web app to database.Focus on authored backend and database connections.

The Proof Lab contains all 11 checked-in scenarios, their JSON sources, and validation receipts.

Understand a real repository

CODE → DIAGRAM · A source-backed system map

MCO runtime architecture generated from the public mco-org/mco repository

Archify traced mco-org/mco at 9f1a1cf and produced this checked map. Open it ↗ · trace reach ↗ · typed source

Diagnose a repository

CODE ANALYSIS · Built into the Skill, no extra install

Dependency star map3D model of the same run
Atlas star map: modules around a ring, file dependencies drawn across it, findings and coupling in the side panelAtlas 3D: the most-depended-on module as the trunk, other modules branching at the height of their dependency layer

Architecture Diagnosis reads a repository and shows how it actually hangs together: dependency cycles, tightly coupled modules, complexity hotspots and layer-rule breaks, each linked to the source behind it, with a fix task you can hand back to your agent. Pair it with an architecture diagram and every component shows its issue count. JS/TS, Python, Java, Go, Rust, C and C++ are supported; the result is one offline HTML file.

text
Use archify Code Analysis on this repository: show module coupling, dependency cycles and hotspots.

Code Analysis guide

Walk through it as a story, or a pull request

STORY · PR WALKTHROUGH

  • Story video. Ask your agent to add a guided story to any diagram. The page gains a Story mode with a timeline and captions, and Export → Story video records it at 1080p, 60 fps (WebM or MP4). Several diagrams can also be choreographed into one stage page or video. Story authoring
  • PR walkthrough. Ask your agent to explain a pull request or branch: Archify marks what changed directly on the diagram and can attach light and dark diagrams to a GitHub PR or GitLab MR. The default install includes the archify-pr Skill, which offers this while you prepare a PR, and only for material diffs. PR review
text
Use archify to add a guided story to this diagram and export it as a video.

Easy to extend. More ways to make it yours.

COMMUNITY STORIES · Selected examples shared by users

Keep building after the diagram is generated. Archify is open source and its output is standalone HTML. Ask your agent to adapt it, connect useful links, or add interactions for your own workflow. Community creations already span team collaboration, travel planning, legal citation checks, contract review, and incident retrospectives. These are just a few examples.

One user started with a hand-drawn multi-agent architecture, turned it into an interactive diagram, then added a Kimi execution pool through conversation. Others asked their agent to read a project and brought the resulting architecture into Feishu or DingTalk for team discussion.

Another user turned a Shanghai CityWalk guide into a four-day itinerary: switch between days, inspect a stop, and jump to Amap, Xiaohongshu, or Dianping. The author also added arrival check-ins and stop notes, turning the itinerary into a small tool to use during the trip. These extensions were added by the community author for this particular artifact.

▶ Explore the interactive Shanghai CityWalk

A community-created four-day Shanghai CityWalk itinerary

▶ Try the interactive version · Switch between D1–D4 and click a place to explore.

Community artifact · Shanghai CityWalk · Four days of routes and place links

Download it. Open it. Explore it.

The output is a self-contained HTML file. Download it and open it in your browser to use the node details and path exploration included in that artifact. No Archify installation is needed to view it. Send the HTML to someone else and the interactions go with it; external websites and map links need a network connection.

Explore the Shanghai CityWalk ↗ · Download HTML ↓

Try switching between D1–D4, opening a place card, or following a map link. Times and place information reflect the author's original itinerary.

Community and recognition

A selection of public coverage, community shares, and historical milestones. Follow the links for dates and sources.

Preview

Same diagram, two themes, one click to switch:

DarkLight
Dark themeLight theme

The Export menu copies PNG to the clipboard and downloads static or motion formats:

Export menu

After tracing a route, Export → Route Share Card downloads that authored path as a 1200×630 PNG with the full diagram retained for context.

Route Share Card showing the exact Users to API Server path with the full architecture retained as context

After tracing authored Upstream or Downstream reach, Export → Reach Share Card captures that exact reading without claiming runtime impact.

MCO downstream Reach Share Card showing authored relationships from Command Router

Open examples/web-app.html locally to try the complete viewer.

Quick start

Current stable version: v3.3.2. See Changelog.

1. Install

With an AI agent

Paste this to your agent:

text
Install Archify for me by reading https://raw.githubusercontent.com/tt-a1i/archify/main/llms.txt

Or install without prompts. Pass one agent, or repeat --agent for every switcher target (cursor, codex, claude-code, opencode, github-copilot). --copy copies the skill instead of symlinking:

Cursor only:

bash
npx -y skills@latest add https://archify.si --skill archify --skill archify-pr --agent cursor --global --copy --yes

Or, only if you want all five agents:

bash
npx -y skills@latest add https://archify.si --skill archify --skill archify-pr --agent cursor --agent codex --agent claude-code --agent opencode --agent github-copilot --global --copy --yes

The default install includes the archify-pr companion. It stays silent for docs, lockfiles, formatting and other small changes and offers a diagram only for material diffs while you prepare a PR. Add [archify pr: on-demand] to your agent's global rules file to disable those offers. To keep only /archify, remove the companion with npx -y skills@latest remove archify-pr --agent cursor --global --yes (omit --global for a project-only install). If you already have only /archify, add the companion with npx -y skills@latest add https://archify.si --skill archify-pr --agent cursor --global --copy --yes.

To try without installing:

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

DSH community opt-in: dsh plugin --profile web add @tt-a1i/archify-dsh@1.2.0

The agent switcher covers cursor, codex, claude-code, opencode, and github-copilot.

Archify may GET the fixed stable manifest solely to show an optional reminder; it never downloads or installs updates. Successful checks wait about 24 hours (±20%); active use retries failures after 6, then 24 hours. The server sees normal HTTP metadata (IP and time), but receives no version, Agent, project data, prompts, account/device ID, or ETag. You decide whether and when to update. Set ARCHIFY_UPDATE_CHECK_DISABLED=1 to disable networking and reminder-state writes. A slow check can finish in the background and show its reminder on the next delivery. When an update is known, delivered pages show a dismissible notice in the top bar on wide diagrams when space allows, and in the footer otherwise. The notice works offline and makes zero network requests. It includes a one-click copy button for an Agent update prompt and a release notes link. Pass --no-update-notice or set ARCHIFY_UPDATE_NOTICE_DISABLED=1 to keep pages unchanged.

Stay updated

  • Get release notifications: select Watch → Custom → Releases at the top of this GitHub repository. Starring the project does not subscribe you to release notifications.
  • See what changed: Release notes.
  • Use a feed reader: Subscribe to the release feed.

Installations with the update checker also check for newer stable releases during diagram delivery and can show a reminder. Older installations without the checker need a manual update to gain this feature. You choose whether and when to upgrade; Archify never installs updates automatically.

2. Start from a description — no repository required

text
Use Archify to draw: Browser -> API -> Redis cache -> PostgreSQL fallback.

For source evidence, open a repository and ask:

text
Analyze this repository, then use archify to create a high-level runtime architecture diagram.
Show 8–12 core components, one primary path, external dependencies, and trust boundaries.
Put supporting detail in cards instead of adding more edges.

Archify’s built-in Architecture Diagnosis maps repository dependencies as a radial star map and a rotatable 3D model. It also shows issue counts on each component of your architecture diagram, with links to the source behind findings such as dependency cycles and dependencies missing from the diagram. After delivering a repository-backed architecture diagram, Archify ends its summary with what Diagnosis can do, and the diagram has a Code Analysis button that explains it. Diagnosis starts only if you say yes. It runs from the installed Skill with no extra install step. See the Code Analysis guide.

text
Use archify Code Analysis on this repository: show module coupling, dependency cycles and hotspots.

3. Refine in chat

Continue with focused requests such as add Redis, move auth to the left, or highlight the rollback path. Archify keeps the typed source available for targeted iteration.

Try it in DeepSeek Harness

Archify × DSH

Archify also runs in DeepSeek Harness (DSH) through @tt-a1i/archify-dsh, a community plugin. Version 1.2.0 bundles the Archify 3.3.0 Skill, so one command adds diagrams, one-page answers and Code Analysis to your dsh sessions:

bash
dsh plugin --profile web add @tt-a1i/archify-dsh@1.2.0

Then ask: Use the archify skill to map this repository's runtime architecture.

Try Archify × DSH: install guide

Community integration for the developer-preview @deepseek-ai/dsh@0.2.2-rc.5 on Node ^22.19.0 || >=24.0.0. Not an official DeepSeek product. See the install guide for compatibility, upgrades and removal.

Choose the right diagram

TypeBest forInclude in your prompt
ArchitectureComponents, services, storage, boundariesScope, core components, primary path
WorkflowCI/CD, approvals, tool calls, runbooksParticipants, order, branches, exceptions
SequenceAPI calls, cache fallback, auth, async tracesCallers, callees, returns, timing
Data FlowPipelines, lineage, PII, consumersSources, transforms, stores, boundaries
LifecycleStates, retries, waits, terminal outcomesStates, events, retry and cancellation paths
ERDDatabase schemas: tables, columns, keys, cardinalityTables, every column with its type, primary/foreign/unique keys, relationship cardinality
ClassClasses, interfaces, selected members, type relationshipsTypes, key members, inheritance and implementations, composition, dependencies
TreeSingle-parent hierarchies: repositories, modules, capability breakdownsRoot, levels, what each branch contains
TimelineWhen things happened: incident reviews, release historiesTimestamps with time zone, events, source lanes, whether times are observed or illustrative
WaterfallWhere the time went in one request or agent runSpans, start times and durations, nesting, whether timings are measured or illustrative

Architecture's optional deployment-ownership profile fails closed when authored owners, region placement, private database scope, or named crossings are missing; it is never implicit and does not inspect live infrastructure. See the checked deployment proof.

For design or PR review, Architecture Delta compares validated Before / Delta / After snapshots with a machine receipt. Select an authored change or play one finite, viewer-only Review; it infers no impact, risk, or merge safety.

node archify/bin/archify.mjs compare architecture base.json head.json architecture-delta.html --json

Architecture Delta showing added, removed, changed, and moved authored facts

Not sure which one fits? Use the interactive scenario guide, or ask the zero-dependency CLI:

bash
node archify/bin/archify.mjs guide "Show an API request with Redis cache miss"
node archify/bin/archify.mjs guide "Map Kafka topics, consumer groups, replay, and DLQ" --json

Workflow keeps the happy path clear across lanes:

Workflow example

Sequence explains one interaction over time:

Sequence example

Data Flow makes movement and sensitivity boundaries explicit:

Data Flow example

Lifecycle separates progress, waits, retries, and terminal outcomes:

Lifecycle example

New in 3.1: ERD, Class, Tree, Timeline and Waterfall.

ERD keeps tables, every column and key, and relationship cardinality together:

ERD example: an order management schema with customer, order, payment, inventory, product and order item tables grouped by domain

Class shows contracts, selected members, and which types depend on or implement them:

Class example: OrderService depends on the PaymentGateway interface, implemented by card and wallet gateways

Tree shows single-parent containment, such as a capability breakdown:

Tree example: a payment platform broken down into orders, payments and operations capabilities

Timeline places events on one proportional clock, with a lane per source:

Timeline example: an illustrative payment incident with release, monitoring and response events on one clock

Waterfall shows where the time went across nested and overlapping spans:

Waterfall example: illustrative timing of a checkout request where inventory lookup and discount calculation run concurrently

Explore these examples: ERD · Class · Tree · Timeline · Waterfall. The Timeline and Waterfall examples use illustrative data; treat timestamps or durations as real only when they come from logs or traces.

Architecture examples: web-app · Archify pipeline · grid placement · desktop agent

Why Archify

Understand the structureWalk through the story
Map components, workflows, and relationships from code or a description.Explore nodes, follow paths, and share any view as a link.
Extend it your wayShare the result
Keep an editable source and build on the open-source code or generated HTML with your own interactions and use cases.Share a self-contained HTML file or export images, video, and share cards.
  • Layout judgment, with automatic placement when you want it — the agent chooses hierarchy, spacing, routes, and emphasis. Architecture diagrams can opt into layout.mode: "auto", which places components from their relationships and keeps any positions and routes you author fixed, and shared automatic endpoints spread deterministically instead of piling arrows on one midpoint.
  • Typed JSON IR — every renderer-backed mode has a schema and reproducible source.
  • Atomic validation before delivery — schema, layout, HTML/SVG, route, and label-to-route clearance checks must all pass before a showcase artifact replaces the last known good output.
  • Failures come with a repair receipt — validate --json and deliver --json return stable rule codes, the exact subject, measured evidence, and only supported repair controls instead of a Node stack or an unstructured retry guess.
  • Last-good live preview — an optional desktop loop watches one JSON file, refreshes only after the latest candidate passes every gate, and keeps the previous verified diagram visible when a save is incomplete or invalid.
  • Truthful interaction — focus, upstream/downstream reach, exact routes, role comparison, and stories reuse authored nodes and relationships instead of inventing topology or claiming runtime impact.
  • Source evidence, only when requested — Evidence-backed Architecture nodes mark themselves SRC n and open Git-verified files and line ranges pinned to one public commit; ordinary artifacts stay source-free.
  • Portable by default — the result is one HTML file; exports remain full-diagram and free of temporary viewer state.

Archify is not a general-purpose drawing editor or a Mermaid theme. It turns technical intent into a communication artifact.

How it works

StepWhat happens
GenerateThe agent creates typed JSON IR from your description.
ValidateBundled validators and layout rules check the source; failures identify the exact local repair in machine-readable JSON.
Preview (optional)A loopback-only desktop session watches one source and reloads only verified revisions; failures keep the last-good artifact.
DeliverA same-directory candidate is rendered and checked; only a passing artifact atomically replaces the target, then optional --open launches that exact file.
IterateThe agent updates the source while unrelated structure stays stable.

Useful repository commands:

bash
cd archify
node bin/archify.mjs doctor
node bin/archify.mjs demo /tmp/archify-demo
node bin/archify.mjs guide "Show CI/CD checks, approval, deploy, and rollback"
node bin/archify.mjs validate workflow examples/agent-tool-call.workflow.json --quality showcase --json
node bin/archify.mjs preview workflow examples/agent-tool-call.workflow.json /tmp/workflow.html --quality showcase
node bin/archify.mjs deliver workflow examples/agent-tool-call.workflow.json /tmp/workflow.html --quality showcase --open --json

preview is an explicit loopback-only desktop mode: it watches one JSON file on a random 127.0.0.1 port, keeps the last verified output through failures, stops with Ctrl-C, and adds no generated-HTML runtime. Use --no-open for tests or manual URL opening.

deliver --open is an opt-in one-shot handoff after commit. Opener failure preserves success; JSON remains on stdout and the absolute fallback path goes to stderr.

On failure, validate --json and deliver --json emit one JSON object. Apply only each diagnostics[] subject's supportedFixes, within the Skill's two correction rounds; visual review remains separate.

Settings:

json
{
  "meta": {
    "locale": "en",
    "animation": "trace",
    "visual_preset": "signal-flow"
  }
}

meta.locale localizes page title, Legend, states/errors, a11y, HTML/SVG lang—never authored content. en, zh-CN, zh-TW, es, ko, ar, and ru are bundled and need only meta.locale; meta.translations (canonical message key → translated string) overrides individual keys and keeps the rest of the language. Other languages supply their catalog there (see archify/examples/locales/), or the renderer falls back to English and discloses it. Static omits animation; classic defaults.

Explore and share the output

ActionControl
Open the factual Diagram Guide?
Find and focus a semantic node/
Trace upstream/downstream authored reachFocus a node → Upstream / Downstream
Probe a directed route and inspect its journeyR or PATH
Compare one or two semantic rolesL or LENS
Open the live overview radarM or MAP
Enter Presentation StageF
Play a guided story or export it as video (diagrams with a story)Motion control → Story · Export → Story video
Choose visual style (S cycles) / toggle theme / open ExportS / T / E
Zoom or reset+ / - / 0

Stable links can restore #focus=<id>, #focus=<id>&reach=upstream|downstream, #relation=<id>, #route=<source>~<target>, and #lens=<kind>~<kind>. Live repeats connection flow until paused; semantic previews remain bounded. Motion respects prefers-reduced-motion and never enters canonical exports.

The complete generation and viewer contract lives in archify/SKILL.md.

Installation options

SurfaceInstall location or methodCapability
Claude Code~/.claude/skills/ or .claude/skills/Full renderer + validation workflow
Codex CLI~/.agents/skills/ or .agents/skills/Full renderer + validation workflow
opencode~/.config/opencode/skills/, .opencode/skills/, or .agents/skills/Full renderer + validation workflow
Claude.aiUpload archify.zip under Settings → Capabilities → SkillsDepends on Node.js access in the sandbox
Project KnowledgeUpload archify.zip to the projectPrompt-driven architecture fallback
Hermes AgentOpt-in: hermes skills install skills-sh/tt-a1i/archify/archify -yCommunity Skill-only integration; Node >=18; not a Nous official product. No telemetry. It is not a switcher target. Details.
DeepSeek HarnessOpt-in: dsh plugin --profile web add @tt-a1i/archify-dsh@1.2.0. Invoke: Use the archify skill to map this repository's runtime architecture. Remove: dsh plugin --profile web remove @tt-a1i/archify-dsh.Community integration for developer-preview @deepseek-ai/dsh@0.2.2-rc.5; Node ^22.19.0 || >=24.0.0; not an official DeepSeek product. No telemetry. Shell files need exact workspace paths, not Web Produced Files. Details.

Reference and scope

Automatic Mermaid parsing, hosted sharing, and WYSIWYG editing are intentionally outside the current scope. Architecture diagrams can opt into automatic placement with layout.mode: "auto". Other diagram types follow their own renderer rules. For example, Tree computes node positions from the parent relationships you define.

Community

👋 Welcome to the Archify Community!

Connect with other users and developers, share ideas, request features, report bugs, discuss development, and help make Archify better together.

  • Discord
  • WeChat: scan the QR code below. WeChat group codes expire periodically; if this one has expired, ask for the current code through Discord or QQ.
  • QQ group: 1121948602
Archify Official WeChat group QR codeArchify Official QQ group QR code

Official channels and third-party services

  • Open-source project: Current source and packages built from it are available under the Apache License 2.0; previously published releases retain their original licenses.
  • Official website: archify.si currently provides project information, examples, and installation guidance.
  • Third-party services: Pricing, data handling, and support are determined by the respective provider. A similar name or domain does not establish an official affiliation.

License

Apache-2.0 — free to use, modify, and distribute.

Historical MIT grants remain in effect; see NOTICE and LICENSE-MIT. Third-party components retain their own licenses. The software license does not change ownership of your authored content or grant general permission to use Archify trademarks.

Contributing

Building a standalone package on Archify? Submit it to the community catalog; the guide includes a collapsible example and complete Chinese steps.

Issues, pull requests, and real-world diagrams are welcome. Start with the contribution guide, use the reproducible bug form for failures, or submit a validated diagram through the community showcase form.&nbsp;·&nbsp;LINUX&nbsp;DO

Support Archify

If Archify has been useful to you, you can support its continued development. Thank you for helping keep the project going ❤️

Scan the QR code below with WeChat, or save it and open it in WeChat to scan.

WeChat Pay QR code to support the Archify maintainer

Scan the QR code below with Alipay, or save it and open it in Alipay to scan.

Alipay QR code to support the Archify maintainer (name redacted)

Using Archify, sharing it, reporting bugs, and contributing improvements are also ways to help.

Code Analysis: setup and usage.

Contributors

Thanks to everyone who helped build Archify. Go follow them. ❤️

Archify contributors

Star History

Star History
#agent-skills#architecture-as-code#architecture-diagram#claude-skill#code-visualization#codex#coding-agents#data-flow-diagram#deepseek-harness#developer-tools#diagram-as-code#diagrams