Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: Update "Custom Keybindings for Extension-Based Agents section" to include a troubleshooting note for defining an agent name (#46144)

Iago Bermúdez464a55038c46
diff --git a/docs/src/ai/external-agents.md b/docs/src/ai/external-agents.md
index 0467913b072..fb34a2731bc 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.md) 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.