Skip to main content

system-design — Architecture Intelligence Engine: turn any repo into a 3D architecture graph

Project description

system-design — Architecture Intelligence Engine

Turn any repository into a living 3D architecture graph

Python 3.10+ License: MIT Status: Alpha


What is system-design?

system-design is an Architecture Intelligence Engine. Point it at any software repository and it produces:

  • Architecture Knowledge Graph — services, APIs, databases, events, infrastructure as a connected graph
  • 3D Interactive System Design — a Three.js scene with 3D components on a dark surface, wired & wireless connections
  • AI Architecture Analysis — Claude analyzes the codebase and enriches the graph with descriptions, capabilities, domains
  • Slash Commands for Claude Code/system-design, /service-map, /data-flow, /domain-map, /impact-analysis

"I just joined this project. How does this system work?" That question — answered in seconds, not weeks.


Quick Start

pip install system-design

# Static analysis (no API key needed)
system-design analyze /path/to/your/repo
system-design visualize .zea/architecture_graph.json

# AI-powered full pipeline
export ANTHROPIC_API_KEY=your_key_here
system-design ai-analyze /path/to/your/repo
open .zea/architecture.html

The 3D System Design

system-design renders architecture as a proper system design scene — not a floating sphere graph:

Element What it represents
Dark surface + grid Deployment environment
Cubes Services and backends
Cylinders Databases and caches
Torus rings Message queues (Kafka, RabbitMQ, SQS)
Octahedra Domain events
Wide flat boxes Frontends and gateways
Spheres External systems (Stripe, Salesforce)
Tube curves Wired connections (HTTP calls, DB queries)
Dashed arcs + signal rings Wireless connections (events, pub-sub)

Pipeline

Repository
    ↓
Repository Discovery     →  repository_inventory.json
    ↓
Architecture Inference   →  architecture_graph.json
    ↓
AI Analysis (Claude)     →  architecture.json + architecture.md
    ↓
3D System Design Render  →  architecture.html

CLI Commands

system-design analyze <repo>              # Static scan → graph
system-design ai-analyze <repo>           # Full AI pipeline → 3D design
system-design visualize <graph.json>      # Render 3D HTML from existing graph
system-design version                     # Show version

Output Files

File Description
repository_inventory.json Languages, frameworks, package managers, infrastructure
architecture_graph.json Full knowledge graph — nodes and edges with evidence
architecture.json AI-enriched analysis — descriptions, capabilities, domains
architecture.md Human-readable system design document
service-map.json Service dependency map
domain-map.json Business domain groupings
architecture.html 3D interactive system design — open in any browser

Slash Commands (Claude Code)

Copy skills/claude-code/SKILL.md.claude/skills/system-design/SKILL.md in your project:

Command Description
/system-design Full 3D system design of the current repo
/service-map Service dependencies
/data-flow User → API → Service → Database trace
/domain-map Business domain groupings
/impact-analysis <component> What breaks if this changes?
/architecture-review Coupling, anti-patterns, tech debt

What system-design Detects

Languages: Python · TypeScript · JavaScript · Java · Go · C# · Rust · Kotlin · PHP · Ruby

Frameworks: FastAPI · Django · Flask · Next.js · React · Angular · Vue · Express · NestJS · Spring · Gin · Echo

Infrastructure: Docker · Kubernetes · Terraform · Helm · GitHub Actions · GitLab CI

Databases: PostgreSQL · MySQL · MongoDB · Redis · DynamoDB · SQLite · Elasticsearch · Cassandra

Messaging: Kafka · RabbitMQ · AWS SQS/SNS · NATS · Google Pub/Sub · BullMQ


Benchmark Results

Repository Nodes Score
fastapi (Python) 109 100%
express (JavaScript) 40 100%
nest (TypeScript) 122 100%

Roadmap

Milestone Feature Status
0–3 CLI, Discovery, Graph, Inference ✅ Done
3.5 AI Analysis (Claude API) ✅ Done
4–5 Domain + Infrastructure Intelligence 🔄 In progress
6 3D System Design Viewer ✅ Done
7–10 Impact Analysis, Reviews, AI Copilot, Digital Twin ⬜ Planned

Contributing

git clone https://github.com/manish-surya/system-design.git
cd system-design
pip install -e ".[dev]"
pytest

See CONTRIBUTING.md for the full guide.


License

MIT — see LICENSE.

Built by manish-surya-r · Zealous Engineering

"Today Claude understands files. Tomorrow Claude understands systems."

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

system_design-0.1.0.tar.gz (43.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

system_design-0.1.0-py3-none-any.whl (53.9 kB view details)

Uploaded Python 3

File details

Details for the file system_design-0.1.0.tar.gz.

File metadata

  • Download URL: system_design-0.1.0.tar.gz
  • Upload date:
  • Size: 43.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for system_design-0.1.0.tar.gz
Algorithm Hash digest
SHA256 53611664223620fbc65eed68cf6853e5348df32687d7ae2ac433cc1a74ec5ddc
MD5 57ac0bcd593a55aa1ba3faa6621ce671
BLAKE2b-256 8c48c36538b3535a714e0fb33339e7d1d78fc7b05fdcc16f94864883aae74bb4

See more details on using hashes here.

File details

Details for the file system_design-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: system_design-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 53.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.8

File hashes

Hashes for system_design-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f7ade01d9ce264b03b31b4efc893956e1cd77064ac70f4b8a22e0afc43a8a15
MD5 57a9b69b2e7821dad2ec239618555c4d
BLAKE2b-256 a0c46721759e012aa0fb42ff25c766aa213643680bc9875867b86b0fbabe4b76

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page