overview.md

AI

Zed integrates AI throughout the editor: agentic coding, inline transformations, edit prediction, and direct model conversations.

Setting Up AI

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.