# AI in Zed

> Understand Zed's AI features, agent paths, model providers, and setup routes.

- 网址：https://funcoding.ai/agents/zed/ai/overview/
- 来源：Zed 官方文档原文（英文），Apache-2.0 / GPL-3.0 许可，同步于 2026-10-11
- 官方原文：https://zed.dev/docs/ai/overview

---
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](https://funcoding.ai/agents/zed/ai/use-a-gateway/), local models |
| Features     | Which AI workflow you want to use   | Agentic editing, inline edits, edit prediction, Git assistance                             |

Start with [AI Quick Start](https://funcoding.ai/agents/zed/ai/quick-start/) if you know what you want to do. Use [AI by Company](https://funcoding.ai/agents/zed/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](https://funcoding.ai/agents/zed/ai/zed-agent/): Zed's native agent. It can use models configured through [LLM Providers](https://funcoding.ai/agents/zed/ai/llm-providers/), including [Zed-hosted models](https://funcoding.ai/agents/zed/account/zed-hosted-models/), provider API keys, supported subscriptions, gateways, and [local models](https://funcoding.ai/agents/zed/ai/use-a-local-model/). It also uses built-in tools, profiles, skills, instructions, and MCP servers.
- [External Agents](https://funcoding.ai/agents/zed/ai/external-agents/): ACP-integrated agents that run through their own process and configuration.
- [Terminal Threads](https://funcoding.ai/agents/zed/ai/terminal-threads/): terminal-backed threads for running an agent CLI or TUI directly in Zed.

The [Threads Sidebar](https://funcoding.ai/agents/zed/ai/parallel-agents/#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](https://funcoding.ai/agents/zed/ai/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](https://funcoding.ai/agents/zed/ai/use-api-access/), subscription sign-in, gateways, and local models.

See [LLM Providers](https://funcoding.ai/agents/zed/ai/llm-providers/) to choose a model access path.

## AI Features
Zed has several AI-powered workflows:

- [Agent Panel](https://funcoding.ai/agents/zed/ai/agent-panel/): prompt agents, add context, review changes, and manage active threads.
- [Parallel Agents](https://funcoding.ai/agents/zed/ai/parallel-agents/): run multiple threads across projects and worktrees.
- [Inline Assistant](https://funcoding.ai/agents/zed/ai/inline-assistant/): transform a selection in place.
- [Edit Prediction](https://funcoding.ai/agents/zed/ai/edit-prediction/): accept AI completions while you type.
- [Git commit generation](https://funcoding.ai/agents/zed/git/#ai-support-in-git): generate commit messages from the Git panel.

## Configure AI
Use [AI Quick Start](https://funcoding.ai/agents/zed/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](https://funcoding.ai/agents/zed/ai/privacy-and-security/) and [Feedback and Training Data](https://funcoding.ai/agents/zed/ai/ai-improvement/).
