1# AI
2
3Zed integrates AI throughout the editor: agentic coding, inline transformations, edit prediction, and direct model conversations.
4
5## Setting Up AI
6
7- [Configuration](./configuration.md): Connect to Anthropic, OpenAI, Ollama, Google AI, or other LLM providers.
8
9- [External Agents](./external-agents.md): Run Claude Code, Codex, Aider, or other external agents inside Zed.
10
11- [Subscription](./subscription.md): Zed's hosted models and billing.
12
13- [Privacy and Security](./privacy-and-security.md): How Zed handles data when using AI features.
14
15## Agentic Editing
16
17- [Agent Panel](./agent-panel.md): Chat with AI agents that can read, write, and run code in your project.
18
19- [Rules](./rules.md): Define specific instructions for AI behavior.
20
21- [Tools](./tools.md): The built-in capabilities agents use: file operations, terminal commands, web search.
22
23- [Tool Permissions](./tool-permissions.md): Configure granular permission rules for agent tool actions.
24
25- [Model Context Protocol](./mcp.md): Extend agents with custom tools via MCP servers.
26
27- [Inline Assistant](./inline-assistant.md): Transform selected code or terminal output with `ctrl-enter`.
28
29## Edit Prediction
30
31- [Edit Prediction](./edit-prediction.md): AI-powered autocomplete that predicts multi-line edits as you type.
32
33## Text Threads
34
35- [Text Threads](./text-threads.md): Lightweight conversations with models inside any buffer.