## Summary - Adds 63 internal links across 41 documentation pages. - Connects existing terms such as Agent Panel, semantic tokens, edit predictions, and language-specific debugging to their detailed reference pages. - Uses existing wording for 60 links and makes three small wording changes where a natural anchor did not already exist. ## Why this matters Readers can now move from overview and configuration pages to the relevant detailed guidance without searching the documentation manually. The changes add navigation only. They do not change product behavior or documented requirements. ## Jev experiment This PR came from a local experiment using Jev to audit internal links across the published documentation. The audit scripts are not included in this PR. - Code shortlisted 2,715 possible source and destination page pairs. - Jev made two separate decisions for each pair: whether the link would help the reader, and which exact existing phrase should become the anchor. - Five strong links without existing anchor text went to GPT-5.6 Luna for minimal rewrite options. Jev then selected among those fixed options. - A local review interface surfaced the results for Pass or Fail decisions before any files changed. Human review approved 66 changes. Two no longer matched the current `main` branch, and review removed one circular link, leaving the 63 links in this PR. ## Validation - `pnpm dlx prettier@3.5.0 <changed docs> --check` - `lychee --exclude '^http' './docs/src/**/*'` — 0 errors - `mdbook build docs` - Verified that the diff adds exactly 63 Markdown links Release Notes: - Improved links between related documentation pages.
3.2 KiB
title, description
| title | description |
|---|---|
| AI in Zed | Understand Zed's AI features, agent paths, model providers, and setup routes. |
AI
Zed's AI docs are organized around three areas:
| Area | Use it to choose | Examples |
|---|---|---|
| Agents | How agentic work runs in Zed | Zed Agent, External Agents, Terminal Threads |
| Model access | How Zed connects to language models | Zed-hosted models, API access, subscriptions, gateways, local models |
| Features | Which AI workflow you want to use | Agentic editing, inline edits, edit prediction, Git assistance |
Start with AI Quick Start if you know what you want to do. Use AI by Company if you know the company, subscription, model provider, agent, or CLI you want to use.
Agent Paths
Agent paths decide how agentic work runs in Zed.
- Zed Agent: Zed's native agent. It can use models configured through LLM Providers, including Zed-hosted models, provider API keys, supported subscriptions, gateways, and local models. It also uses built-in tools, profiles, skills, instructions, and MCP servers.
- External Agents: ACP-integrated agents that run through their own process and configuration.
- Terminal Threads: terminal-backed threads for running an agent CLI or TUI directly in Zed.
The Threads Sidebar is where you organize agent work. You can run multiple agent threads and Terminal Threads at once, each using a different agent and working against different projects.
See Agents for a comparison.
Model Access
Model access controls which models power the Zed Agent and other model-backed Zed AI features. Zed can use hosted models, provider API access, subscription sign-in, gateways, and local models.
See LLM Providers to choose a model access path.
AI Features
Zed has several AI-powered workflows:
- Agent Panel: prompt agents, add context, review changes, and manage active threads.
- Parallel Agents: run multiple threads across projects and worktrees.
- Inline Assistant: transform a selection in place.
- Edit Prediction: accept AI completions while you type.
- Git commit generation: generate commit messages from the Git panel.
Configure AI
Use AI Quick Start to choose the right setup path, configure model access, add agents or MCP servers, control tools, and turn AI off.
For privacy, provider data boundaries, and opt-in data sharing, see AI Privacy and Feedback and Training Data.