Kimi Code for VS Code quick start
Kimi Code for VS Code is an extension integrated into Visual Studio Code. Once installed, you can ask questions, review code diffs, and quickly commit changes — all from within the editor.
Installation
- Open VS Code
- Go to the Extensions Marketplace (shortcut
Ctrl+Shift+X/Cmd+Shift+X) - Search for Kimi Code
- Click Install
If the extension doesn't appear, try restarting VS Code or running Developer: Reload Window from the Command Palette.
Login configuration
After installation, sign in to your Kimi account:
- Open the Kimi Code chat panel
- Enter the
/logincommand - Follow the prompts to complete authorization — the system will automatically bind your account
Basic usage
Chat panel
Kimi Code provides a native chat panel in the VS Code sidebar where you can:
- Ask Questions: Type your question and the AI will respond using your project context
- Reference Files: Use the
@symbol to reference files or folders — the AI reads their content as context - Slash Commands: Use
/commands for project scanning, context management, and more
Code changes
AI-generated code changes are displayed in a diff view where you can:
- Review Changes: Inspect AI-suggested modifications line by line
- Accept or Reject: Selectively apply some or all changes
- Revert: Roll back changes that have already been applied
MCP integration
The VS Code extension also supports MCP integration — you can configure MCP servers in your project to extend the AI's capabilities.
Comparison with CLI
Both methods can be used as needed and do not conflict with each other. The CLI is better suited for terminal power users and automation scenarios, while the VS Code extension is ideal for developers who prefer a graphical interface.