From c0995f05c1efcb41d03d4127aa96a1b096a15bbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iago=20Berm=C3=BAdez=20Milleiro?= Date: Tue, 6 Jan 2026 09:36:32 +0100 Subject: [PATCH 1/2] docs: update "Custom Keybindingd for Extension-Based Agents section" to include a troubleshooting note for defining an agent name --- docs/src/ai/external-agents.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/src/ai/external-agents.md b/docs/src/ai/external-agents.md index 0467913b072ef2..732cba6eacd0e4 100644 --- a/docs/src/ai/external-agents.md +++ b/docs/src/ai/external-agents.md @@ -221,7 +221,7 @@ To assign a custom keybinding to start a new thread for agents that were added b { "agent": { "custom": { - "name": "My Agent", // The agent name as it appears in the UI (e.g., "OpenCode", "Auggie CLI", etc.) + "name": "My Agent", // The agent name as defined in the extension or in settings.json (e.g., "opencode", "Auggie CLI", etc.) "command": { "command": "my-agent", // The agent name in lowercase with no spaces "args": ["acp"] @@ -234,6 +234,9 @@ To assign a custom keybinding to start a new thread for agents that were added b }, ``` +> For most extensions, the `agent.custom.name` attribute matches the name of the agent that appears in the [Agent Panel](../ai/agent-panel.html) UI. +> In some cases however, the name might need to be written differently (e.g. in lowercase). + ## Debugging Agents When using external agents in Zed, you can access the debug view via with `dev: open acp logs` from the Command Palette. This lets you see the messages being sent and received between Zed and the agent. From 728f5942fe346010f33ed255d0e7f350c6427146 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iago=20Berm=C3=BAdez=20Milleiro?= Date: Tue, 6 Jan 2026 15:42:27 +0100 Subject: [PATCH 2/2] fix wrong link url for agent-panel --- docs/src/ai/external-agents.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/ai/external-agents.md b/docs/src/ai/external-agents.md index 732cba6eacd0e4..fb34a2731bce3d 100644 --- a/docs/src/ai/external-agents.md +++ b/docs/src/ai/external-agents.md @@ -234,7 +234,7 @@ To assign a custom keybinding to start a new thread for agents that were added b }, ``` -> For most extensions, the `agent.custom.name` attribute matches the name of the agent that appears in the [Agent Panel](../ai/agent-panel.html) UI. +> For most extensions, the `agent.custom.name` attribute matches the name of the agent that appears in the [Agent Panel](../ai/agent-panel.md) UI. > In some cases however, the name might need to be written differently (e.g. in lowercase). ## Debugging Agents