# Rust project architecture examples

Interactive architecture diagrams of 581 open-source Rust 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 Rust projects here, the median diagram has 21 components. 62% draw a data store (most often a cache, files on disk and SQLite), 59% have a command-line interface and 16% a web interface.

11% have an LLM or AI-model component, 15% speak MCP, 19% have a plugin or extension system and 41% are split into workspace packages (packages/, apps/, crates/ and similar).

The files their components link to most are main.rs (104), mod.rs (94), lib.rs (91), server.rs (33) and app.rs (25).

Group names that recur: “user interfaces” (18), “agent runtime” (11), “platform services” (6) and “runtime” (6).

## Repositories 1 to 50 of 581

1. [ultraworkers/claw-code](https://gitdiagram.com/ultraworkers/claw-code) (195k stars): 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. Markdown: https://gitdiagram.com/ultraworkers/claw-code.md
2. [instructkr/claude-code](https://gitdiagram.com/instructkr/claude-code) (195k stars): Claw Code is a Rust CLI agent harness; the README identifies rust/ as its canonical runtime and src/ as a Python reference workspace. Markdown: https://gitdiagram.com/instructkr/claude-code.md
3. [clash-verge-rev/clash-verge-rev](https://gitdiagram.com/clash-verge-rev/clash-verge-rev) (150k stars): Clash Verge Rev is a Tauri desktop GUI for the Clash Meta (mihomo) proxy core. Markdown: https://gitdiagram.com/clash-verge-rev/clash-verge-rev.md
4. [farion1231/cc-switch](https://gitdiagram.com/farion1231/cc-switch) (142k stars): CC Switch is a desktop manager for configuring and switching AI coding-agent providers, with shared management of MCP servers, skills, and prompts. Markdown: https://gitdiagram.com/farion1231/cc-switch.md
5. [openai/codex](https://gitdiagram.com/openai/codex) (133k stars): 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. Markdown: https://gitdiagram.com/openai/codex.md
6. [rustdesk/rustdesk](https://gitdiagram.com/rustdesk/rustdesk) (128k stars): RustDesk is a cross-platform remote desktop application. Markdown: https://gitdiagram.com/rustdesk/rustdesk.md
7. [rust-lang/rust](https://gitdiagram.com/rust-lang/rust) (120k stars): Rust’s repository contains the Rust compiler, standard library, documentation generator, and developer tools. Markdown: https://gitdiagram.com/rust-lang/rust.md
8. [instructkr/claw-code](https://gitdiagram.com/instructkr/claw-code) (113k stars): 1. This repo has two distinct layers Markdown: https://gitdiagram.com/instructkr/claw-code.md
9. [tauri-apps/tauri](https://gitdiagram.com/tauri-apps/tauri) (113k stars): 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. Markdown: https://gitdiagram.com/tauri-apps/tauri.md
10. [denoland/deno](https://gitdiagram.com/denoland/deno) (109k stars): Deno is a secure-by-default JavaScript, TypeScript, and WebAssembly runtime, with a CLI and substantial developer tooling. Markdown: https://gitdiagram.com/denoland/deno.md
11. [pbakaus/impeccable](https://gitdiagram.com/pbakaus/impeccable) (106k stars): Impeccable equips coding agents to steer and review interface design, while also providing deterministic design detection and browser-based iteration. Markdown: https://gitdiagram.com/pbakaus/impeccable.md
12. [ruvnet/ruview](https://gitdiagram.com/ruvnet/ruview) (97.2k stars): RuView is a WiFi sensing platform: edge sensors capture CSI, processing turns radio measurements into presence, pose, activity, and vital-sign estimates, and user-facing tools… Markdown: https://gitdiagram.com/ruvnet/ruview.md
13. [ruvnet/wifi-densepose](https://gitdiagram.com/ruvnet/wifi-densepose) (96.9k stars): RuView is a WiFi sensing platform: ESP32 nodes capture CSI, which the system processes into presence, pose, activity, and vital-sign estimates for people and room monitoring. Markdown: https://gitdiagram.com/ruvnet/wifi-densepose.md
14. [oven-sh/bun](https://gitdiagram.com/oven-sh/bun) (96.2k stars): 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… Markdown: https://gitdiagram.com/oven-sh/bun.md
15. [zed-industries/zed](https://gitdiagram.com/zed-industries/zed) (90.9k stars): Zed is a high-performance, multiplayer code editor. Markdown: https://gitdiagram.com/zed-industries/zed.md
16. [astral-sh/uv](https://gitdiagram.com/astral-sh/uv) (90.1k stars): uv is a Rust-based Python package and project manager. Markdown: https://gitdiagram.com/astral-sh/uv.md
17. [rtk-ai/rtk](https://gitdiagram.com/rtk-ai/rtk) (83.1k stars): RTK is a Rust CLI proxy that rewrites supported shell commands, runs command-specific filters, and returns compact output to an AI agent. Markdown: https://gitdiagram.com/rtk-ai/rtk.md
18. [storytold/photocraft](https://gitdiagram.com/storytold/photocraft) (75.6k stars): PhotoCraft is a native Rust image editor, with CLI, web, and automation interfaces. Markdown: https://gitdiagram.com/storytold/photocraft.md
19. [unionlabs/union](https://gitdiagram.com/unionlabs/union) (74.2k stars): The Union project is a large, multifaceted, cross-chain infrastructure platform built around zero‐knowledge proofs and inter-blockchain communication (IBC). Markdown: https://gitdiagram.com/unionlabs/union.md
20. [burntsushi/ripgrep](https://gitdiagram.com/burntsushi/ripgrep) (69.5k stars): ripgrep is a command-line, recursive line-search tool. Markdown: https://gitdiagram.com/burntsushi/ripgrep.md
21. [openinterpreter/openinterpreter](https://gitdiagram.com/openinterpreter/openinterpreter) (68.4k stars): Open Interpreter is a Rust coding-agent CLI that emulates multiple agent harnesses, with a terminal interface and compatibility protocols. Markdown: https://gitdiagram.com/openinterpreter/openinterpreter.md
22. [dani-garcia/vaultwarden](https://gitdiagram.com/dani-garcia/vaultwarden) (67.8k stars): Vaultwarden is a self-hosted Bitwarden-compatible API server. Markdown: https://gitdiagram.com/dani-garcia/vaultwarden.md
23. [ladybirdbrowser/ladybird](https://gitdiagram.com/ladybirdbrowser/ladybird) (66.5k stars): Ladybird is an independent, multi-process web browser. Markdown: https://gitdiagram.com/ladybirdbrowser/ladybird.md
24. [alacritty/alacritty](https://gitdiagram.com/alacritty/alacritty) (65.8k stars): Alacritty is a cross-platform, GPU-accelerated terminal emulator. Markdown: https://gitdiagram.com/alacritty/alacritty.md
25. [warpdotdev/warp](https://gitdiagram.com/warpdotdev/warp) (65.1k stars): Warp is an agentic development environment built around a terminal. Markdown: https://gitdiagram.com/warpdotdev/warp.md
26. [rust-lang/rustlings](https://gitdiagram.com/rust-lang/rustlings) (64.3k stars): Rustlings is a terminal-based Rust learning tool: learners select an exercise, edit its source, run it, and advance as exercises pass. Markdown: https://gitdiagram.com/rust-lang/rustlings.md
27. [openinterpreter/open-interpreter](https://gitdiagram.com/openinterpreter/open-interpreter) (62.9k stars): The components in interpreter/terminal_interface form the interactive chat interface in the terminal (with support for conversation rendering, profiles, and special commands such… Markdown: https://gitdiagram.com/openinterpreter/open-interpreter.md
28. [sharkdp/bat](https://gitdiagram.com/sharkdp/bat) (57.8k stars): Input Handler (handles file input, stdin, and Git integration) Markdown: https://gitdiagram.com/sharkdp/bat.md
29. [starship/starship](https://gitdiagram.com/starship/starship) (57.6k stars): Starship is a Rust-based, cross-shell prompt renderer. Markdown: https://gitdiagram.com/starship/starship.md
30. [fuellabs/fuel-core](https://gitdiagram.com/fuellabs/fuel-core) (57.2k stars): The Fuel Core node executable (bin/fuel-core) which is the primary entry point. Markdown: https://gitdiagram.com/fuellabs/fuel-core.md
31. [meilisearch/meilisearch](https://gitdiagram.com/meilisearch/meilisearch) (56.8k stars) Markdown: https://gitdiagram.com/meilisearch/meilisearch.md
32. [typst/typst](https://gitdiagram.com/typst/typst) (56.1k stars): Typst is a local markup-based typesetting compiler. Markdown: https://gitdiagram.com/typst/typst.md
33. [aaif-goose/goose](https://gitdiagram.com/aaif-goose/goose) (55k stars): Goose is a general-purpose, locally run AI agent delivered as a desktop app, CLI, and embeddable API. Markdown: https://gitdiagram.com/aaif-goose/goose.md
34. [lencx/chatgpt](https://gitdiagram.com/lencx/chatgpt) (54.5k stars): A cross-platform desktop wrapper for ChatGPT, built as a Tauri application: a TypeScript/React frontend renders native chrome and application views, while a Rust backend manages… Markdown: https://gitdiagram.com/lencx/chatgpt.md
35. [astral-sh/ruff](https://gitdiagram.com/astral-sh/ruff) (49.8k stars): Ruff is a Rust-based Python linter and formatter. Markdown: https://gitdiagram.com/astral-sh/ruff.md
36. [bevyengine/bevy](https://gitdiagram.com/bevyengine/bevy) (48.3k stars): Bevy is a modular Rust game engine. Markdown: https://gitdiagram.com/bevyengine/bevy.md
37. [tw93/pake](https://gitdiagram.com/tw93/pake) (47.3k stars) Markdown: https://gitdiagram.com/tw93/pake.md
38. [helix-editor/helix](https://gitdiagram.com/helix-editor/helix) (46.3k stars): Helix is a terminal modal editor. Markdown: https://gitdiagram.com/helix-editor/helix.md
39. [juspay/hyperswitch](https://gitdiagram.com/juspay/hyperswitch) (45.3k stars): Hyperswitch is a modular payments infrastructure stack. Markdown: https://gitdiagram.com/juspay/hyperswitch.md
40. [sharkdp/fd](https://gitdiagram.com/sharkdp/fd) (44.6k stars): fd is a command-line filesystem search tool. Markdown: https://gitdiagram.com/sharkdp/fd.md
41. [vercel-labs/agent-browser](https://gitdiagram.com/vercel-labs/agent-browser) (44.1k stars): agent-browser is a Rust browser-automation CLI for AI agents, with typed MCP access and live browser streaming. Markdown: https://gitdiagram.com/vercel-labs/agent-browser.md
42. [parcel-bundler/parcel](https://gitdiagram.com/parcel-bundler/parcel) (44k stars): Parcel is a zero-configuration web build tool. Markdown: https://gitdiagram.com/parcel-bundler/parcel.md
43. [herdrdev/herdr](https://gitdiagram.com/herdrdev/herdr) (43.4k stars): Herdr is a terminal-based runtime for coding-agent sessions: a client attaches to a background server, which owns terminal panes and presents their state and layout. Markdown: https://gitdiagram.com/herdrdev/herdr.md
44. [fuellabs/fuels-rs](https://gitdiagram.com/fuellabs/fuels-rs) (43.3k stars) Markdown: https://gitdiagram.com/fuellabs/fuels-rs.md
45. [tinyhumansai/openhuman](https://gitdiagram.com/tinyhumansai/openhuman) (42.2k stars): OpenHuman is an agent harness with a desktop interface and a Rust library/runtime. Markdown: https://gitdiagram.com/tinyhumansai/openhuman.md
46. [janhq/jan](https://gitdiagram.com/janhq/jan) (42.2k stars): 1. This is a monorepo for Jan, a desktop-first AI application with a local runtime, optional cloud providers, and a documentation site. Markdown: https://gitdiagram.com/janhq/jan.md
47. [menloresearch/jan](https://gitdiagram.com/menloresearch/jan) (41.4k stars): Core Engine – Represented by the “core” directory. Markdown: https://gitdiagram.com/menloresearch/jan.md
48. [codewhale-hq/codewhale](https://gitdiagram.com/codewhale-hq/codewhale) (41.1k stars): Codewhale is a local-first coding agent: a user submits a task through the terminal or a headless client, the shared Engine coordinates a model-backed turn and available tools… Markdown: https://gitdiagram.com/codewhale-hq/codewhale.md
49. [pola-rs/polars](https://gitdiagram.com/pola-rs/polars) (39.9k stars): Polars is a Rust analytical query engine for DataFrames, exposed through Rust and Python APIs. Markdown: https://gitdiagram.com/pola-rs/polars.md
50. [ajeetdsouza/zoxide](https://gitdiagram.com/ajeetdsouza/zoxide) (39.5k stars): zoxide is a cross-platform Rust CLI that replaces/augments shell cd with ranked directory lookup. Markdown: https://gitdiagram.com/ajeetdsouza/zoxide.md

Next page: https://gitdiagram.com/architecture-examples/rust/2

More hubs: https://gitdiagram.com/architecture-examples

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](https://gitdiagram.com/open-source-architecture-2026). Stars are GitHub's when the diagram was last made. Rebuilt daily: hubs grow as more repositories' languages are known.
