Using in Zed
Kimi Code CLI supports integration with IDEs through the Agent Client Protocol (ACP), allowing you to use AI-assisted programming directly within your editor.
Legacy CLI only
The new Kimi Code CLI (Node.js) does not currently support ACP integration. If you prefer using ACP in Zed, it is only available on the legacy CLI (Python/uv) for now.
Prerequisites
- Kimi Code CLI is installed and
kimi /loginconfiguration is completed. - Zed editor is installed.
Configuration
Zed is a modern IDE that supports ACP.
Add the following to Zed's configuration file ~/.config/zed/settings.json:
json
{
"agent_servers": {
"Kimi Code CLI": {
"type": "custom",
"command": "kimi",
"args": ["acp"],
"env": {}
}
}
}Configuration notes:
type: Fixed value"custom"command: Path to the Kimi Code CLI command. Ifkimiis not in PATH, use the full pathargs: Startup arguments.acpenables ACP modeenv: Environment variables, usually left empty
After saving the configuration, you can create Kimi Code CLI sessions in Zed's Agent panel.