Kimi Code is Moonshot AI's AI coding agent, available as a terminal CLI, a desktop app and IDE extensions such as VS Code. The Kimi Code CLI runs in your terminal and can read and edit code, run shell commands, search files, fetch web pages and choose its next step based on the feedback it receives. Since October 2026 it runs Kimi K3.1 Pro, Moonshot's model with a 1-million-token context window, which you select with the /model command.
The CLI is open source under the MIT license and ships as a single binary installed with an official script on macOS, Linux and Windows, where it uses Git Bash as its shell, or through npm. It replaces the legacy Python kimi-cli, which is now archived. On first launch, /login signs in with Kimi Code OAuth or a Moonshot AI Open Platform API key, and the CLI can also be configured for other compatible providers. It accepts video input, configures MCP servers conversationally with /mcp-config, installs skills, MCP servers and data sources from a plugin marketplace or any GitHub repository, and speaks the Agent Client Protocol (kimi acp), so editors such as Zed and JetBrains IDEs can drive a session.
The CLI itself is free. Using it with Kimi models requires either a Kimi membership that includes Kimi Code (Plus at $19/month or $15/month billed annually, Pro at $39/month, Max at $99/month or Ultra at $199/month) or a Kimi API key billed per token, where K3.1 Pro costs $2 input and $10 output per 1M tokens. The free Adagio membership does not include Kimi Code.

