GitDiagram
Browse

Python project architecture examples

Interactive architecture diagrams of the 1,000 most-starred open-source Python repositories with a GitDiagram architecture diagram, most stars first. Each diagram shows the project's main components, how they connect, and links every part to its file on GitHub.

Across the 200 most-starred Python projects here, the median diagram has 21 components. 58% draw a data store (most often a cache and a vector store), 37% have a command-line interface and 17% a web interface.

29% have an LLM or AI-model component, 25% speak MCP, 15% have a plugin or extension system and 12% draw a queue or event bus.

The files their components link to most are __init__.py (36), main.py (34), app.py (28), base.py (22) and pipeline.py (19).

Group names that recur: “user interfaces” (24), “agent runtime” (7), “platform services” (7) and “inference runtime” (6).

In the 200 most-starred diagrams
Draws a data store58%
Has a command-line interface37%
Has an LLM or AI-model component29%
Speaks MCP25%
Has a web interface17%
Has plugins or extensions15%

Repositories 1–50 of 1,000

  1. public-apis/public-apis★ 497k

    This repository is a community-curated catalog of public APIs, not an API execution platform.

  2. ebookfoundation/free-programming-books★ 401k

    This repository is a curated, multilingual catalog of free programming-learning resources, not a conventional application.

  3. donnemartin/system-design-primer★ 377k

    The System Design Primer is a learning and interview-preparation collection, not a running service.

  4. vinta/awesome-python★ 314k

    This repository maintains Awesome Python: a curated Markdown catalog of Python projects and resources, plus a generated static website for searchable/filterable browsing.

  5. practical-tutorials/project-based-learning★ 287k

    Project Based Learning is a curated directory of programming tutorials for aspiring developers, organized primarily by language and spanning multiple technologies.

  6. nousresearch/hermes-agent★ 261k

    Hermes Agent is a multi-surface AI agent: users interact through the CLI/TUI or messaging gateway, the agent builds context and runs model/tool turns, and results return through…

  7. thealgorithms/python★ 226k

    TheAlgorithms/Python is an educational collection of independent Python algorithm implementations, not a single application with a shared runtime pipeline.

  8. yt-dlp/yt-dlp★ 197k

    yt-dlp is a command-line audio/video downloader.

  9. microsoft/markitdown★ 194k

    MarkItDown is a Python toolkit that converts local files, streams, and web resources into Markdown for text-analysis and LLM workflows.

  10. significant-gravitas/autogpt★ 187k

    This monorepo contains the AutoGPT Platform: a managed or self-hosted system for building, deploying, triggering, and observing AI-agent workflows.

  11. anthropics/skills★ 186k

    This repository is a collection of Claude skills: instruction-led, task-specific capabilities, with scripts supporting document editing, PDF forms, skill authoring, MCP…

  12. 521xueweihan/hellogithub★ 181k

    HelloGitHub is a curated monthly publication introducing interesting, beginner-friendly open-source projects, books, practical projects, and enterprise projects.

  13. huggingface/transformers★ 168k

    Transformers is a pretrained-model definition framework for inference and training across text, vision, audio, video, and multimodal tasks.

  14. langgenius/dify★ 160k

    Dify is an LLM application development platform.

  15. langflow-ai/langflow★ 155k

    Langflow is a visual platform for authoring, testing, and deploying AI workflows and agents.

  16. langchain-ai/langchain★ 148k

    LangChain is a Python framework for composing interoperable LLM applications and agents.

  17. github/spec-kit★ 147k

    Spec Kit is a Python CLI and toolkit for configuring coding-agent projects and supplying reusable development processes.

  18. nextlevelbuilder/ui-ux-pro-max-skill★ 142k

    UI UX Pro Max combines a design-intelligence skill, a multi-assistant installer CLI, and a browsable style gallery.

  19. graphify-labs/graphify★ 142k

    Graphify is a local code and document knowledge-graph builder with CLI and assistant integrations.

  20. ytdl-org/youtube-dl★ 141k

    youtube-dl is a command-line and embeddable downloader that turns supplied URLs or search terms into selected media files.

  21. comfy-org/comfyui★ 141k

    ComfyUI is a node-graph engine for creating image, video, audio, 3D, and text media.

  22. shubhamsaboo/awesome-llm-apps★ 140k

    Awesome LLM Apps is a curated collection of independent AI-agent, agent-skill, and RAG applications—not one integrated runtime.

  23. harry0703/moneyprinterturbo★ 137k

    MoneyPrinterTurbo is an AI short-video creation application with WebUI and HTTP API entry points.

  24. krahets/hello-algo★ 131k

    Hello Algo is an open, beginner-oriented data-structures-and-algorithms tutorial, with animated explanations and runnable examples in multiple languages.

  25. tauricresearch/tradingagents★ 121k

    TradingAgents is a multi-agent financial analysis and trading-decision framework, exposed through a CLI and package API.

  26. browser-use/browser-use★ 120k

    Browser Use is a Python AI browser agent: a user supplies a task and model, the agent plans and invokes registered browser actions, and returns a result with history.

  27. openai/whisper★ 110k

    Whisper is a speech-recognition and speech-translation package.

  28. panniantong/agent-reach★ 110k

    Agent Reach is a command-line bridge that lets AI agents search and read supported web platforms through normalized channel actions.

  29. comfyanonymous/comfyui★ 107k

    ComfyUI is a full-stack, modular, graph-based AI engine and application for designing and executing Stable Diffusion pipelines.

  30. pytorch/pytorch★ 105k

    PyTorch is a Python-first tensor and deep-learning framework spanning tensor computation, automatic differentiation, neural-network layers, compilation, and distributed utilities.

  31. deepseek-ai/deepseek-v3★ 105k

    This repository provides a local inference and checkpoint-preparation toolkit for DeepSeek-V3.

  32. tiangolo/fastapi★ 103k

    FastAPI is a Python web framework for building typed APIs on Starlette and Pydantic.

  33. fastapi/fastapi★ 103k

    FastAPI is a Python ASGI framework for declaring typed API routes and serving validated requests with serialized responses.

  34. debpalash/voicestudio★ 100k

    VoiceStudio is an on-device AI voice studio, exposed through a desktop app and backend, with support for local models and API/MCP automation.

  35. hacksider/deep-live-cam★ 96.8k

    Deep-Live-Cam is a desktop face-swapping application for live camera feeds and image/video targets.

  36. karpathy/autoresearch★ 96.4k

    Autoresearch is a single-GPU autonomous LLM pretraining loop.

  37. 3b1b/manim★ 96.3k

    ManimGL is a Python engine for programmatic explanatory animations.

  38. vllm-project/vllm★ 96.1k

    vLLM is an LLM inference and serving system.

  39. nvbn/thefuck★ 95.8k

    This is a Python-based command‑line tool that “corrects” mistyped or erroneous console commands.

  40. odysseus-dev/odysseus★ 94.9k

    Odysseus is a self-hosted AI workspace.

  41. sherlock-project/sherlock★ 94.6k

    Sherlock is a username-discovery CLI that checks usernames across hundreds of social networks.

  42. d4vinci/scrapling★ 93.8k

    Scrapling is a web-scraping framework: users fetch static or browser-rendered pages, parse and extract content, or scale the same work into concurrent spiders with session…

  43. django/django★ 91.5k

    Django is a general-purpose Python web framework.

  44. home-assistant/core★ 91.2k

    Home Assistant is a locally operated home-automation platform: users configure integrations, which expose device capabilities as entities and let the system observe state and…

  45. paddlepaddle/paddleocr★ 90.7k

    PaddleOCR is a broad OCR and document-AI toolkit: users submit images or PDFs through its Python interfaces, run text recognition or document-parsing pipelines, and receive…

  46. unclecode/crawl4ai★ 85.2k

    Crawl4AI is a Python web-crawling and scraping product that turns pages into Markdown and structured results, with both a self-hosted Docker API and a hosted-cloud access path…

  47. bregman-arie/devops-exercises★ 84.6k

    This repository is a community-maintained collection of DevOps/SRE and broader technical interview questions, exercises, solutions, and study material—not a single application.

  48. fighting41love/funnlp★ 84.5k

    FunNLP is a curated Chinese NLP resource library, not an integrated NLP application.

Counted over GitDiagram's stored diagrams of public repositories, from the names their components and groups carry and the files they link to; the rules are the ones in the 2026 open-source architecture report. Stars are GitHub's when the diagram was last made. Rebuilt daily: hubs grow as more repositories' languages are known.