Archify Instant AI Diagram Generator automatically transforms code files and system ideas into interactive, dark-mode visual maps using AI agents.
| Step 1: Input | Step 2: AI Action | Step 3: Result |
|---|---|---|
Read Python files from inputs/sample_repo/ |
Ollama Agent parses SKILL.md & builds visual map |
Generates interactive web diagram & summary report |
- Language: Python 3.9+
- AI Agent Integration: Ollama API & Local GGUF models
- Diagram Compiler: Archify Engine (Node.js renderer)
- Output Formats: Standalone HTML + Inline SVG
Install required dependencies in your Windows PowerShell terminal:
pip install -r requirements.txtPull and run the required Ollama model (deepseek-v4-pro-qwen-4b-mtp:latest):
ollama pull deepseek-v4-pro-qwen-4b-mtp:latestExecute the main generator script to analyze the sample codebase inside inputs/sample_repo/:
python main.pyArchify/
├── inputs/
│ └── sample_repo/
│ ├── api_gateway.py
│ ├── auth_service.py
│ ├── cache_cluster.py
│ └── data_pipeline.py
├── main.py
├── requirements.txt
└── README.md
- Automated App Service Mapping: Turn complex backend repos into visual component maps instantly.
- Pull Request Code Reviews: Compare system maps before and after code merges to catch unexpected dependencies.
- Build Step Visualization: Track automated build steps, approval gates, and deployment flows.
- API Request Sequences: Document login request lifecycles and cache hit/miss paths.
- Interactive Developer Onboarding: Provide visual, clickable system maps for new engineering team members.
- Kubernetes Auto-Discovery: Direct integration with k8s cluster files for live map rendering.
- Multi-Model Fallback Mesh: Dynamic switching between Llama 3, Claude 3.5, and Gemini 1.5 Pro.
- Mermaid.js Bi-directional Sync: Import and export standard Mermaid flowchart and sequence syntax.
- Real-time Live Telemetry: Animate live server traffic directly on diagram node connections.
- VS Code Extension Integration: Live architectural canvas preview inside the editor sidebar.
Archify AI Codebase Visualization Architecture Diagram Generator Ollama DeepSeek Python Code Mapping Automated Software Architecture Interactive System Maps Codebase Analytics GitHub AI Tools