packages/zed-extension/README.md
A Zed extension that integrates Qwen Code as an AI agent server using the Agent Client Protocol (ACP).
cmd-shift-x on macOS or ctrl-shift-x on Linux/Windows)Alternatively, you can install from the command line:
zed --install-extension qwen-code
cmd-shift-a on macOS or ctrl-shift-a on Linux/Windows)@filename to mention files in your conversationWhen running as an agent server, Qwen Code will:
~/.qwen directory for runtime settings~/.qwen/settings.json (except for initial login)For additional environment variables, configure them in your Zed settings:
{
"agent_servers": {
"qwen-code": {
"env": {
"QWEN_LOG_LEVEL": "info",
"YOUR_CUSTOM_VAR": "value"
}
}
}
}
If you encounter errors like "server shut down unexpectedly" or similar issues:
cmd+shift+p (macOS) or ctrl+shift+p (Linux/Windows)If the agent server starts successfully but you experience problems during use:
cmd+shift+p (macOS) or ctrl+shift+p (Linux/Windows)You can report issues at either:
See LICENSE file for details.
Contributions are welcome! Please feel free to submit issues or pull requests.
Qwen Code is an AI-powered coding assistant that helps developers write better code faster. It provides intelligent code completion, refactoring suggestions, bug detection, and natural language code generation.
Learn more at qwenlm.github.io/qwen-code-docs
The current version still requires Node.js to run. A single-file executable version is in development - stay tuned for updates!