Files
zed/docs/src/ai/agent-profiles.md
T
morgankrey 526c95d474 Improve internal links across documentation (#64481)
## 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.
2026-09-19 19:58:09 +00:00

2.8 KiB

title, description
title description
Agent Profiles - Zed Configure Zed Agent profiles for model selection, built-in tool availability, and MCP tool availability.

Agent Profiles

Agent profiles control how the Zed Agent behaves in a thread. A profile can set a default model and choose which built-in tools and MCP tools are available.

Profiles do not decide whether a tool call is allowed automatically. Use Tool Permissions to control allow, deny, and confirm behavior.

Built-in Profiles

Zed includes three built-in profiles:

  • Write: enables tools for reading, editing, and running commands.
  • Ask: focuses on read-only codebase questions.
  • Minimal: uses no project tools.

Configure Profiles

Open the profile selector in the Agent Panel, then click Configure.

You can also run {#action agent::ManageProfiles} from the command palette.

From the profile modal, you can:

  • create a custom profile
  • fork an existing profile
  • configure a profile default model
  • configure built-in tools
  • configure MCP tools
  • delete custom profiles

Profiles and Settings

Profiles are stored under agent.profiles in your settings.

{
  "agent": {
    "profiles": {
      "ask": {
        "name": "Ask",
        "tools": {
          "read_file": true,
          "grep": true,
          "terminal": false,
          "edit_file": false
        },
        "enable_all_context_servers": false,
        "context_servers": {},
        "default_model": {
          "provider": "zed.dev",
          "model": "claude-sonnet-4-5"
        }
      }
    }
  }
}

The exact model IDs and provider IDs depend on your configured LLM Providers.

Profiles vs. Tool Permissions

Setting Controls Example
Agent profile Whether a tool is available in a profile Disable terminal in a read-only profile
Tool permissions Whether a permission-gated tool call is allowed, denied, or confirmed Always confirm terminal commands

If a tool is not available in the active profile, the Zed Agent cannot use it. If the tool is available and permission-gated, Tool Permissions still controls whether the tool call requires approval.

Agent Path Boundaries

Agent profiles apply to the Zed Agent. External Agents and Terminal Threads do not use Zed Agent profiles unless their integration explicitly supports similar behavior.