Skip to main content
This guide explains how to use the Kimi K2.7 Code model in the RooCode extension for VS Code.
RooCode is an AI programming extension for VS Code, maintained by the RooCode Team. Its configuration options and supported capabilities may change across RooCode versions. This guide is based on the official Kimi API calling method and describes a general integration approach: forwarding RooCode model requests to the Kimi API through the Moonshot provider.

Get an API Key:

Visit Kimi Open Platform to create an API key, and choose the default project.

Install RooCode

  1. Open VS Code.
  2. Click the Extensions icon in the left activity bar, or use the shortcut Ctrl+Shift+X / Cmd+Shift+X.
  3. Enter roo code in the search box.
  4. Find the Roo Code extension, usually published by RooCode Team.
  5. Click the Install button to install it.
  6. After installation, you may need to restart VS Code.
search-roocode

Verify Installation

After installation, you can verify that RooCode was installed successfully in either of these ways:
  1. Check whether the RooCode icon appears in the left activity bar in VS Code.
  2. Open the command palette with Ctrl+Shift+P / Cmd+Shift+P and search for commands related to “RooCode”.

Configure The Moonshot Provider

Configure RooCode as follows:
  • Set API Provider to Moonshot.
  • Set Moonshot Entrypoint to api.moonshot.ai.
  • Set Moonshot API Key to the key you obtained from Kimi Open Platform.
  • Set Model to kimi-k2.7-code.
  • Under Browser, select Disable browser tool usage.
roocode