Using in JetBrains IDE
Kimi Code CLI supports integration with IDEs through the Agent Client Protocol (ACP), allowing you to use AI-assisted programming directly within your editor.
Prerequisites
- Kimi Code CLI is installed and
kimi /loginconfiguration is completed. - The JetBrains IDE version supports AI chat features (including ACP).
Configuration
JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, etc.) support ACP through the AI Chat plugin.
If you don't have a JetBrains AI subscription, you can enable llm.enable.mock.response in the Registry to use the AI Chat feature. Press Shift twice to search for "Registry" to open it.
In the AI Chat panel menu, click "Configure ACP agents" and add the following configuration:
json
{
"agent_servers": {
"Kimi Code CLI": {
"command": "~/.local/bin/kimi",
"args": ["acp"],
"env": {}
}
}
}command needs to be the full path. You can run which kimi in the terminal to get it. After saving, you can select Kimi Code CLI in the AI Chat Agent selector.