Open-Source Wikis

/

Zed

/

Fun facts

zed-industries/zed

Fun facts

A small collection of trivia surfaced during this wiki sweep.

The longest crate is the editor itself

crates/editor weighs in at roughly 147,121 lines of Rust. That makes it bigger than agent (100k) and project (90k), and almost three times the size of gpui itself. The editor view is the heart of Zed; it shows.

Five "settings" crates

There are five separate crates with settings in the name: settings, settings_content, settings_json, settings_macros, settings_ui. The split reflects a typed-schema-with-code-generation approach to the JSON settings stack — see Settings.

Twelve language-model providers

Zed talks to a dozen distinct LLM providers in-tree: Anthropic, OpenAI, Google AI, Bedrock, Ollama, Mistral, DeepSeek, OpenRouter, Codestral, LMStudio, X.AI, and Zed's own cloud gateway (language_models_cloud). Each is its own crate.

The repository is older than its public release

The very first commit lands on Feb 20, 2021 (b400449a58507cca1fa007197929c2cfd6beabbe). Zed went open source in March 2023 — meaning the team built privately for roughly two years before opening the doors.

.rules is symlinked four ways

The repo root has .rules, the canonical coding-rules file. It is symlinked as AGENTS.md, CLAUDE.md, and GEMINI.md so different AI coding assistants read the same source of truth without the team having to maintain three copies.

"GPUI" exists in nine flavors

Counting workspace crates: gpui, gpui_linux, gpui_macos, gpui_macros, gpui_platform, gpui_shared_string, gpui_tokio, gpui_util, gpui_web, gpui_wgpu, gpui_windows — eleven if you split out _macros and _shared_string. The split lets each crate keep its dependency graph minimal: only the macOS build pulls in gpui_macos, only WASM/web builds pull in gpui_web, and so on.

Three license files at the root

LICENSE-AGPL, LICENSE-GPL, and LICENSE-APACHE all coexist. AGPL covers collab (the server), GPL covers most application crates, and Apache covers gpui so it can be reused outside Zed.

A dedicated crash-investigation prompt

script/sentry-fetch <issue-id> pulls a Sentry crash and script/crash-to-prompt <issue-id> rewrites it into a ready-to-paste investigation prompt for an AI session. The prompts themselves live in .factory/prompts/crash/investigate.md and .factory/prompts/crash/fix.md. The team has industrialized the crash-to-fix loop.

"Zeta" is the in-house edit-prediction model

The prompts for the first-party edit-prediction model are in crates/zeta_prompt. The model name appears nowhere in the binary names — only in the prompt crate.

REVIEWERS uses ".conl"

The reviewer assignment file is REVIEWERS.conl, a custom config-list format. Twenty named areas (ai, lsp, vim, git, gpui, terminal, windows, linux, …) plus an <all> bucket of generalists.

Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.

Fun facts – Zed wiki | Factory