Zed Editor
Zed Editor provides native support for AI coding assistants through the Agent Control Protocol (ACP). This integration allows you to use Qwen Code directly within Zed’s interface with real-time code suggestions.

Features
- Native agent experience: Integrated AI assistant panel within Zed’s interface
- Agent Control Protocol: Full support for ACP enabling advanced IDE interactions
- File management: @-mention files to add them to the conversation context
- Conversation history: Access to past conversations within Zed
Requirements
- Zed Editor (latest version recommended)
- Qwen Code CLI installed
Installation
-
Install Qwen Code CLI:
npm install -g qwen-code -
Download and install Zed Editor
-
In Zed, click the settings button in the top right corner, select “Add agent”, choose “Create a custom agent”, and add the following configuration:
"Qwen Code": {
"type": "custom",
"command": "qwen",
"args": ["--experimental-acp"],
"env": {}
}
Troubleshooting
Agent not appearing
- Run
qwen --versionin terminal to verify installation - Check that the JSON configuration is valid
- Restart Zed Editor
Qwen Code not responding
- Check your internet connection
- Verify CLI works by running
qwenin terminal - File an issue on GitHub if the problem persists
Last updated on