Zed is an open-source, high-performance code editor with first-class AI features: an Agent Panel for multi-step tasks, an Inline Assistant for in-place rewrites, and Edit Prediction for AI autocomplete. It supports bring-your-own-key (Anthropic, OpenAI, Google, Ollama, and more) plus Zed's hosted models and its own Zeta completion model.
Zed runs external CLI agents (Claude Agent, Gemini CLI, Codex) through the Agent Client Protocol. Use Zed as the UI; let the agent run outside the editor.
The curl | sh pattern executes whatever the server returns. On untrusted networks prefer the
downloadable installer from zed.dev, or inspect the script first: curl -f https://zed.dev/install.sh | less.
# macOS
curl -f https://zed.dev/install.sh | sh
# Linux
curl -f https://zed.dev/install.sh | sh
# Windows — see zed.dev (preview)Or download from zed.dev.
Multi-step tasks with full tool access: the agent can read files, edit code, run terminal commands, search the web, and check diagnostics. Think Claude Code / Cursor Agent but inside Zed.
Select code, describe a transformation, the model rewrites in place with multi-cursor support. Good for small, targeted edits without leaving your position.
AI code completions on every keystroke — single or multi-line. Default completion provider is Zeta (Zed's open-source model), or bring your own.
Zed supports running external CLI-based agents — Claude Agent, Gemini CLI, Codex — through the Agent Client Protocol. Treat Zed as the UI and let the agent run outside the editor.
Real-time pair programming built in. Multiple cursors, shared terminals, shared agent sessions. Pairs naturally with agentic workflows.
See zed.dev/docs/ai/overview for the current list.
src/lib/ and add a comment explaining why it's slow + a TODO for the fix"Search for a command to run...