AI
Zed integrates AI throughout the editor: agentic coding, inline transformations, edit prediction, and direct model conversations.
Setting Up AI
-
Configuration: Connect to Anthropic, OpenAI, Ollama, Google AI, or other LLM providers.
-
External Agents: Run Claude Code, Codex, Aider, or other external agents inside Zed.
-
Subscription: Zed's hosted models and billing.
-
Privacy and Security: How Zed handles data when using AI features.
Agentic Editing
-
Agent Panel: Chat with AI agents that can read, write, and run code in your project.
-
Rules: Define specific instructions for AI behavior.
-
Tools: The built-in capabilities agents use: file operations, terminal commands, web search.
-
Tool Permissions: Configure granular permission rules for agent tool actions.
-
Model Context Protocol: Extend agents with custom tools via MCP servers.
-
Inline Assistant: Transform selected code or terminal output with
ctrl-enter.
Edit Prediction
- Edit Prediction: AI-powered autocomplete that predicts multi-line edits as you type.
Text Threads
- Text Threads: Lightweight conversations with models inside any buffer.