Operate Zed Agent
Choose the Zed agent path before editing settings. Read
references/zed-surface-map.md when the request crosses native and external
agent configuration.
Choose the Agent Path
- Use Zed Agent when Zed should own the model, provider, tools, profiles,
permissions, instructions, skills, and MCP configuration.
- Use an External Agent when an ACP agent such as Codex, Claude, OpenCode, or
Hermes should own its runtime, model, authentication, native skills, and
persistent state while Zed owns the editor UI.
- Use a Terminal Thread when the original CLI or TUI behavior matters more than
ACP-native diffs, approvals, or session rendering.
Do not apply Zed Agent Skills or profiles to an External Agent by assumption.
The external agent keeps its own configuration unless its ACP implementation
explicitly accepts a forwarded capability.
Configure Zed Agent
- Confirm the worktree is trusted before expecting project-local skills.
- Use Zed's Skills Manager to create or import a skill when interactive
management is appropriate. A GitHub URL import is an installation copy, not
a remote runtime dependency.
- Keep manually managed skills as direct children of global
~/.agents/skills/ or project .agents/skills/; Zed does not discover
nested or arbitrary search roots.
- Keep names and descriptions concise because Zed has a catalog budget.
- Use
/skill or @skill for explicit invocation. Use
disable-model-invocation only when the skill must never be selected
implicitly.
- Treat
zed://skill links as sharing/import affordances, not proof of a
centrally hosted runtime registry.
- Use Zed Instructions for always-on guidance, Agent Profiles for tool
selection, Tool Permissions for approval policy, and Zed MCP configuration
for external tools.
- Expect installed skill changes to reload without restarting, then verify the
catalog entry and one harmless invocation.
Configure an External Agent
- Check the live canonical ACP Registry instead of trusting a product page or
an agent's source manifest.
- Prefer the registry only when the requested agent is actually present.
- Otherwise add a custom
agent_servers entry using the agent's official
executable and arguments. Do not substitute an unreviewed third-party
launcher merely to make a registry row appear.
- Configure provider credentials and native agent state in the external agent
unless its integration documents another owner.
- Start a new thread and verify the agent identity, working directory, model,
skills, MCP tools, and approval behavior.
- Use
dev: open acp logs to inspect Zed-to-agent protocol traffic.
For Hermes, use operate-acp-agent-integration to check the canonical registry
and validate hermes acp --check before adding a custom entry. The manual
command is hermes with args: ["acp"]; prefer an accepted official registry
entry if one becomes available later.
On the locally verified 2026-08-10 setup, Hermes 0.20.0 passed
hermes acp --check and Zed used a custom agent_servers.hermes-agent entry
with command hermes and argument acp. Keep that as dated local evidence;
the canonical registry remains the publication authority.
Guards
- Do not install or update Zed, an external agent, a skill, or an MCP server
without user intent.
- Do not claim a registry entry exists because a source repository contains an
agent.json; verify the published registry feed.
- Do not expose secrets in Zed settings when the agent supports its own secure
authentication flow.
- Do not automate visible Zed interaction without approval when a settings or
thread check requires the app UI.
Report
Report the selected path, Zed version when relevant, configuration owner,
authentication owner, skill and MCP sources, registry or custom launch path,
runtime evidence, and remaining editor-side checks.
1---2name: operate-zed-agent3description: Configure and troubleshoot Zed Agent, ACP External Agents, and Terminal Threads. Use for Zed Skills, MCP, profiles, permissions, registry installs, custom agents, and ACP logs.4---56# Operate Zed Agent78Choose the Zed agent path before editing settings. Read9`references/zed-surface-map.md` when the request crosses native and external10agent configuration.1112## Choose the Agent Path1314- Use Zed Agent when Zed should own the model, provider, tools, profiles,15 permissions, instructions, skills, and MCP configuration.16- Use an External Agent when an ACP agent such as Codex, Claude, OpenCode, or17 Hermes should own its runtime, model, authentication, native skills, and18 persistent state while Zed owns the editor UI.19- Use a Terminal Thread when the original CLI or TUI behavior matters more than20 ACP-native diffs, approvals, or session rendering.2122Do not apply Zed Agent Skills or profiles to an External Agent by assumption.23The external agent keeps its own configuration unless its ACP implementation24explicitly accepts a forwarded capability.2526## Configure Zed Agent27281. Confirm the worktree is trusted before expecting project-local skills.292. Use Zed's Skills Manager to create or import a skill when interactive30 management is appropriate. A GitHub URL import is an installation copy, not31 a remote runtime dependency.323. Keep manually managed skills as direct children of global33 `~/.agents/skills/` or project `.agents/skills/`; Zed does not discover34 nested or arbitrary search roots.354. Keep names and descriptions concise because Zed has a catalog budget.365. Use `/skill` or `@skill` for explicit invocation. Use37 `disable-model-invocation` only when the skill must never be selected38 implicitly.396. Treat `zed://skill` links as sharing/import affordances, not proof of a40 centrally hosted runtime registry.417. Use Zed Instructions for always-on guidance, Agent Profiles for tool42 selection, Tool Permissions for approval policy, and Zed MCP configuration43 for external tools.448. Expect installed skill changes to reload without restarting, then verify the45 catalog entry and one harmless invocation.4647## Configure an External Agent48491. Check the live canonical ACP Registry instead of trusting a product page or50 an agent's source manifest.512. Prefer the registry only when the requested agent is actually present.523. Otherwise add a custom `agent_servers` entry using the agent's official53 executable and arguments. Do not substitute an unreviewed third-party54 launcher merely to make a registry row appear.554. Configure provider credentials and native agent state in the external agent56 unless its integration documents another owner.575. Start a new thread and verify the agent identity, working directory, model,58 skills, MCP tools, and approval behavior.596. Use `dev: open acp logs` to inspect Zed-to-agent protocol traffic.6061For Hermes, use `operate-acp-agent-integration` to check the canonical registry62and validate `hermes acp --check` before adding a custom entry. The manual63command is `hermes` with `args: ["acp"]`; prefer an accepted official registry64entry if one becomes available later.6566On the locally verified 2026-08-10 setup, Hermes 0.20.0 passed67`hermes acp --check` and Zed used a custom `agent_servers.hermes-agent` entry68with command `hermes` and argument `acp`. Keep that as dated local evidence;69the canonical registry remains the publication authority.7071## Guards7273- Do not install or update Zed, an external agent, a skill, or an MCP server74 without user intent.75- Do not claim a registry entry exists because a source repository contains an76 `agent.json`; verify the published registry feed.77- Do not expose secrets in Zed settings when the agent supports its own secure78 authentication flow.79- Do not automate visible Zed interaction without approval when a settings or80 thread check requires the app UI.8182## Report8384Report the selected path, Zed version when relevant, configuration owner,85authentication owner, skill and MCP sources, registry or custom launch path,86runtime evidence, and remaining editor-side checks.