CLI tool architecture examples
Interactive architecture diagrams of 1,000 open-source repositories with a GitDiagram architecture diagram where the diagram has a command-line or terminal interface component, 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 CLI tools and command-line projects here, the median diagram has 20.5 components. 61% draw a data store (most often a cache, files on disk and SQLite), 100% have a command-line interface and 14% a web interface.
20% have an LLM or AI-model component, 22% speak MCP, 31% have a plugin or extension system and 24% are split into workspace packages (packages/, apps/, crates/ and similar).
The files their components link to most are main.rs (27), index.ts (20), main.py (17), __init__.py (16) and lib.rs (16).
Group names that recur: “user interfaces” (37), “agent runtime” (16), “integrations” (7), “application runtime” (6) and “entry points” (6).
By language: Python 33%, TypeScript 18%, Rust 16%, Go 11% and JavaScript 5%.
Repositories 1–50 of 1,000
codecrafters-io/build-your-own-x★ 560k · Markdown
This repository is a curated index of step-by-step guides for recreating technologies, not a runtime application.
public-apis/public-apis★ 497k · Python
This repository is a community-curated catalog of public APIs, not an API execution platform.
morluto/rea★ 445k · TypeScript
REA is a local reverse-engineering toolkit exposed through an MCP server and CLI.
openclaw/openclaw★ 394k · TypeScript
OpenClaw is a self-hosted assistant whose Gateway coordinates sessions, agent execution, tools, and messaging channels; users reach it through the Control UI, CLI/TUI, or…
affaan-m/ecc★ 300k · JavaScript
ECC is a harness-native agent engineering system: an operator starts or manages agent sessions, coordinates work across harnesses, and inspects session activity.
deepseek-ai/deepseek-harness★ 277k · TypeScript
DeepSeek Harness is a plugin-oriented agent harness with a local Web UI and Desktop host.
nousresearch/hermes-agent★ 261k · Python
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…
anomalyco/opencode★ 225k · TypeScript
OpenCode is an open-source AI coding agent with terminal and desktop interfaces.
yt-dlp/yt-dlp★ 197k · Python
yt-dlp is a command-line audio/video downloader.
ultraworkers/claw-code★ 195k · Rust
Claw Code is the canonical Rust implementation of the claw CLI agent harness; the Python tree is described as a companion/reference workspace, not the primary runtime.
instructkr/claude-code★ 195k · Rust
Claw Code is a Rust CLI agent harness; the README identifies rust/ as its canonical runtime and src/ as a Python reference workspace.
microsoft/markitdown★ 194k · Python
MarkItDown is a Python toolkit that converts local files, streams, and web resources into Markdown for text-analysis and LLM workflows.
ohmyzsh/ohmyzsh★ 190k · Shell
Oh My Zsh is a Zsh configuration framework: it assembles shell defaults, a selected prompt theme, and user-selected plugins into each interactive shell.
ollama/ollama★ 185k · Go
Ollama is a local-and-cloud open-model runtime: users can run or chat with models through the CLI, call a REST API, or use the desktop app; integrations can also connect through…
affaan-m/everything-claude-code★ 178k · JavaScript
- This is a cross-harness configuration and automation platform for AI coding tools, not a product app.
f/prompts.chat★ 177k · MDX
prompts.chat is an open-source AI prompt library and community platform, with companion tools for building, using, and learning about prompts.
huggingface/transformers★ 168k · Python
Transformers is a pretrained-model definition framework for inference and training across text, vision, audio, video, and multimodal tasks.
msitarzewski/agency-agents★ 167k · Shell
The Agency is a collection of role-specific AI agent prompts, with CLI scripts and tool integrations for selecting and installing them into AI coding assistants.
genymobile/scrcpy★ 152k · C
scrcpy is a desktop application for mirroring Android video and audio and controlling the device over USB or TCP/IP; OTG supports physical-input simulation without debugging.
github/spec-kit★ 147k · Python
Spec Kit is a Python CLI and toolkit for configuring coding-agent projects and supplying reusable development processes.
nextlevelbuilder/ui-ux-pro-max-skill★ 142k · Python
UI UX Pro Max combines a design-intelligence skill, a multi-assistant installer CLI, and a browsable style gallery.
graphify-labs/graphify★ 142k · Python
Graphify is a local code and document knowledge-graph builder with CLI and assistant integrations.
ytdl-org/youtube-dl★ 141k · Python
youtube-dl is a command-line and embeddable downloader that turns supplied URLs or search terms into selected media files.
openai/codex★ 133k · Rust
Codex CLI is a locally running coding agent: a user starts a session, the agent works with a model and can use local tools, then presents progress and results in the terminal.
ggml-org/llama.cpp★ 133k · C++
llama.cpp is a C/C++ runtime for local and cloud LLM and VLM inference.
shadcn-ui/ui★ 124k · TypeScript
shadcn/ui is an open-source, copy-into-your-project component ecosystem: a CLI installs, customizes, migrates, and publishes registry content; a documentation site exposes…
tauricresearch/tradingagents★ 121k · Python
TradingAgents is a multi-agent financial analysis and trading-decision framework, exposed through a CLI and package API.
earendil-works/pi★ 119k · TypeScript
Pi is an extensible coding-agent harness with interactive, print/JSON, RPC, and TypeScript-SDK entry points.
jaywcjlove/awesome-mac★ 115k · Swift
This repository is a curated directory of Mac apps and developer tools, presented as Markdown lists and exposed as localized JSON and feed files.
thedotmack/claude-mem★ 115k · TypeScript
Claude-Mem is a persistent memory system for coding agents: it captures work, turns it into searchable observations, and supplies relevant context to later sessions.
instructkr/claw-code★ 113k · Rust
1. This repo has two distinct layers
tauri-apps/tauri★ 113k · Rust
Tauri is a cross-platform framework for desktop and mobile apps whose frontend runs in a system WebView and communicates with a Rust application backend.
microsoft/typescript★ 112k · Go
TypeScript is a language compiler and tooling platform: users compile JavaScript/TypeScript projects into JavaScript and receive diagnostics, while editors use its language…
openai/whisper★ 110k · Python
Whisper is a speech-recognition and speech-translation package.
panniantong/agent-reach★ 110k · Python
Agent Reach is a command-line bridge that lets AI agents search and read supported web platforms through normalized channel actions.
denoland/deno★ 109k · Rust
Deno is a secure-by-default JavaScript, TypeScript, and WebAssembly runtime, with a CLI and substantial developer tooling.
juliusbrussee/caveman★ 108k · Go
Caveman reduces tokens in AI coding workflows: an agent’s requests pass through a local proxy, which compresses eligible content before forwarding it to a provider, while…
google-gemini/gemini-cli★ 107k · TypeScript
Gemini CLI is a terminal-based AI coding agent.
pbakaus/impeccable★ 106k · Rust
Impeccable equips coding agents to steer and review interface design, while also providing deterministic design detection and browser-based iteration.
microsoft/terminal★ 105k · C++
This repository contains Windows Terminal, the Windows console host, and shared console/terminal infrastructure.
react/create-react-app★ 103k · JavaScript
1. This repository is a monorepo for the Create React App toolchain, not a single application.
neovim/neovim★ 103k · Vim Script
Neovim is a modal text editor whose main workflow is opening and editing files through its command-line application, then presenting the result through a terminal or attached UI.
angular/angular★ 101k · TypeScript
Angular is a TypeScript/JavaScript platform for building web applications.
tailwindlabs/tailwindcss★ 97.8k · TypeScript
Tailwind CSS is a utility-first CSS framework.
microsoft/playwright★ 97k · TypeScript
Playwright is a cross-browser automation and testing framework, also used for scripts and AI-agent workflows.
oven-sh/bun★ 96.2k · Rust
Bun is a single-executable JavaScript/TypeScript toolkit: its principal user workflow is invoking bun to run an app or script, with built-in package management, bundling, and…
vllm-project/vllm★ 96.1k · Python
vLLM is an LLM inference and serving system.
localsend/localsend★ 95.6k · Dart
LocalSend is a cross-platform nearby-device sharing product: users discover peers on the local network, select a peer and files or a message, then send or accept a transfer.
sherlock-project/sherlock★ 94.6k · Python
Sherlock is a username-discovery CLI that checks usernames across hundreds of social networks.
d4vinci/scrapling★ 93.8k · Python
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…
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.