Kimi Code
Also known as: Kimi CLI
Moonshot AI's coding agent for the terminal, a desktop app and VS Code, running on Kimi K3.1 Pro and other Kimi models, or on Anthropic, OpenAI and Google models in the open source CLI. It plans and edits code, runs commands, splits work across parallel subagents and a Tower mode with reviewers, schedules recurring prompts, and drives a browser and desktop through official plugins. Included with Kimi membership from $19 a month.
Kimi Code is the coding agent from Moonshot AI, the company behind the Kimi assistant and the Kimi K3 models. It comes in three surfaces that share one Kimi account: Kimi Code Desktop for macOS, Windows and Linux, Kimi Code CLI in the terminal, and an extension for VS Code, with JetBrains and Zed connecting to the CLI over ACP. The CLI was rebuilt on Node.js and released under the MIT license, its repository shows about 7,400 stars, and the earlier Python kimi-cli is archived with a migration guide.
The agent reads and searches a codebase, edits files, runs shell commands in the foreground or background, searches the web and fetches pages, and keeps a visible list of subtasks. /init writes an AGENTS.md for the project, Plan mode drafts an approach for review before any file changes, and /goal keeps a standing objective running across turns. The main agent dispatches built in coder, explore and plan subagents with their own context windows, swarm mode launches many at once, and the experimental Tower mode splits a task into missions on separate git branches and worktrees, runs workers in parallel in dependency order, sends each finished branch to an independent read only reviewer, and merges only the branches that pass.
Scheduled prompts can recur on a cron schedule inside a session. Official plugins add Kimi Datasource for financial, macroeconomic, academic and Chinese legal data, a browser extension that lets the agent operate the user's everyday browser, and desktop control on macOS and Windows, and the Desktop app has a built in browser the agent can click, type and scroll in. Sessions can be resumed, forked, exported or imported from Claude Code and Codex, and a local server exposes sessions, prompts, approvals and events over REST and WebSocket.
Kimi Code is included in Kimi membership. Plus is $19 a month, or $15 a month billed annually, Pro $39, Max $99 and Ultra $199, and the Free plan does not include it. Higher tiers unlock K3.1 Pro HighSpeed and context up to 1M tokens, usage runs on a rolling five hour window and a monthly total, and an optional prepaid Extra Usage balance covers work past the quota.
The CLI can also run Anthropic, OpenAI, Gemini, Vertex AI or any OpenAI compatible provider on the user's own keys. Members can create up to five API keys to use Kimi Code models in tools such as Claude Code, OpenCode and Hermes Agent. Accounts are individual, with no SSO, roles or published security attestation, and Moonshot points team and enterprise use to its pay as you go Kimi Platform.
It fits developers who want a capable coding agent with a large context window at a membership price, who like a desktop app and a terminal tool on one subscription, or who want Kimi models inside the tools they already use. It fits less well for organizations that need SSO, roles, audit trails across users or a security attestation, or that need hosting commitments for where code and prompts are processed.
Vendor details
Canonical URL
https://www.kimi.com/code
Category
Coding agent
Subcategory
Coding agent across desktop, terminal and VS Code on Kimi models, with parallel subagents, Tower missions with reviewer gated merges, scheduled prompts and official browser and computer use plugins
Funding status
First party product of Moonshot AI, the maker of the Kimi assistant and the Kimi K3 models. International Kimi services are provided by Moonshot AI Pte. Ltd. in Singapore, and the Chinese site names Beijing Moonshot AI Technology Co. Kimi Code CLI is MIT licensed at github.com/MoonshotAI/kimi-code. Funding is not stated on Moonshot AI's own pages.
Company status
first party product
Use cases & customers
Primary use cases
Target customers
Deployment options
Integrations
Kimi Code connects to MCP servers as local stdio commands or remote HTTP URLs, and plugins bundle Agent Skills, custom agents, MCP servers, hooks and slash commands from an official catalog, a curated partner catalog, GitHub or a zip. Official plugins add Kimi Datasource, with Wind, S&P Capital IQ, SEC EDGAR, World Bank, IMF, FRED and academic and Chinese legal sources, a browser extension for Chrome and Edge, and desktop control. The CLI runs Kimi, Anthropic, OpenAI, Gemini, Vertex AI and OpenAI compatible providers, works inside JetBrains and Zed through ACP, and imports recent Claude Code and Codex sessions. Kimi Code API keys bring Kimi models into Claude Code, OpenCode, Codex and Hermes Agent through OpenAI and Anthropic compatible endpoints.
In practice
A developer needs a refactor across dozens of files. Kimi Code drafts the approach in Plan mode, waits for approval, then edits the files and runs the tests, asking before each command in the default mode.
A lead wants three features built at once without collisions. Tower mode gives each mission its own branch and worktree, runs the workers in parallel, has a reviewer check each branch, and merges only the ones that pass.
Someone wants a weekday digest of failing builds. They ask Kimi Code to summarize recent CI failures every weekday at 9am, and the scheduled prompt runs in the same session each morning until it expires.
Sources & related URLs
Related / legacy domains
Research sources
Agentic Index coverage score
11.0 / 14 capabilities · 79%
| Integrations & Tool Calling | Full |
|---|---|
|
The agent works directly in the developer's environment. Built in tools read, write and edit files, search with ripgrep and glob patterns, run shell commands in the foreground or in the background, search the web and fetch pages. MCP servers connect as local stdio commands or remote HTTP URLs, and plugins bring in more servers, skills and agents. The official Kimi Datasource plugin queries market, filing, macroeconomic, academic and Chinese legal data on request, read only, and allow and deny rules can be set per tool, including wildcards for MCP tools. Sourcekimi.com/code/docs/en/kimi-code-cli/reference/tools.htmlread 2026-11-07 |
|
| Workflow Orchestration | Full |
|
The main agent dispatches subagents with their own context windows, the built in coder, explore and plan agents or custom ones defined in Markdown, and several can run in parallel or in the background and be resumed later. Swarm mode launches many subagents at once. The experimental Tower mode splits a larger task into missions, starts workers whose dependencies are met, gives each mission its own branch and worktree, sends finished branches to read only reviewers and merges approved ones in dependency order, with up to 256 workers and reviewers running together by default. /goal keeps a standing objective going across turns. Sourcekimi.com/code/docs/en/kimi-code-cli/guides/tower.htmlread 2026-11-07 |
|
| Knowledge Grounding & RAG | Partial |
|
Context comes from the project as the agent works. /init analyzes the codebase and writes an AGENTS.md, and the agent reads files with line ranges, searches contents with ripgrep, finds files by pattern, reads images and video, and fetches web pages. Long sessions compact their history automatically or on /compact with a hint about what to keep. Kimi Datasource answers questions from outside market, filing, academic and legal sources, while no index or embedding store is built over the customer's own code or documents. Sourcekimi.com/code/docs/en/kimi-code-cli/reference/slash-commands.htmlread 2026-11-07 |
|
| Human Oversight & Guardrails | Full |
|
Always Ask is the default mode. Reads run on their own, while every file write, edit, shell command and scheduled task waits in an approval panel where the user approves once, approves for the session or rejects. Ask When Needed lets routine calls through but still stops for sensitive files and dangerous commands, and Plan mode makes the agent draft a plan and wait before changing anything, with exit confirmed in every mode. Subagent dispatch needs approval unless a rule allows it. Never Ask runs everything unattended, and Tower workers always run in that mode. Sourcekimi.com/code/docs/en/kimi-code-cli/guides/interaction.htmlread 2026-11-07 |
|
| Security, Identity & Governance | Not documented |
|
Kimi Code runs on individual Kimi accounts that sign in with an OAuth device code or a Kimi Platform API key. The local server requires a bearer token and blocks a source after 10 failed attempts in 60 seconds on network binds, and hook rules load only from user config and local plugins, never from a checked out repository. There are no organization roles, SSO, SAML, SCIM or audit log for an administrator, no SOC 2 or ISO 27001 report is named, and team and enterprise use is pointed to the separate Kimi Platform. Sourcekimi.com/code/docs/enread 2026-11-07 |
|
| Observability & Auditability | Full |
|
Every session keeps an event stream for each agent and subagent, with a request trace used for recovery, replay and debugging. A session exports as a ZIP with its diagnostic logs or as a Markdown transcript, the local server returns paged message history and streams events such as tool calls and tool results, and /usage shows token and quota use. Hooks fire before and after every tool call, on each permission request and result, and on subagent start and stop, so a team can write its own log. There is no organization level export or central audit log. Sourcekimi.com/code/docs/en/kimi-code-cli/guides/sessions.htmlread 2026-11-07 |
|
| Memory & State Persistence | Partial |
|
Each session is saved by working directory with its metadata and an event stream for every agent, so work can be resumed with --continue or by ID, forked into an independent copy, or compacted when the context fills. Recent Claude Code and Codex sessions can be imported, with the full history kept for the agent to consult. Subagent state is saved inside the session, and scheduled tasks reload with it. The CLI keeps no memory that carries facts from one session into the next. Sourcekimi.com/code/docs/en/kimi-code-cli/guides/sessions.htmlread 2026-11-07 |
|
| Deployment & Data Residency | Full |
|
Kimi Code runs on the developer's own machine, as a desktop app for macOS, Windows and Linux, a CLI installed by script or npm, or a VS Code extension, and sessions can also bind to a remote environment. The CLI points at any provider the customer configures, including OpenAI compatible servers it hosts itself, so code and prompts can stay on its own infrastructure. Kimi models are served from separate China and overseas endpoints. Remote Control keeps every task on the user's machine and uses the web page only as a window. Sourcekimi.com/code/docs/en/kimi-code-cli/configuration/providers.htmlread 2026-11-07 |
|
| Prebuilt Agents / Templates / Packs | Full |
|
A plugin manager installs packaged capabilities from Official, Curated and Custom tabs or a marketplace file. The official catalog offers Kimi Datasource for financial and research data, a browser extension plugin and a computer use plugin, and Curated holds plugins from Kimi partners. Each plugin can bundle Agent Skills, custom agents, MCP servers, hooks and slash commands. The CLI also ships ready coder, explore and plan subagents and built in skills for configuration, themes and importing a Claude Code or Codex setup. Sourcekimi.com/code/docs/en/kimi-code-cli/customization/plugins.htmlread 2026-11-07 |
|
| Triggers & Channel Coverage | Full |
|
Scheduled tasks start work without a person at the keyboard. Asked for a reminder or a recurring job, the agent writes a cron expression in local time and injects the prompt back into the same session each time it fires, such as summarizing CI failures every weekday at 9am. Tasks stay with their session and reload on resume, and recurring ones expire after 7 days. Everything else is started by a person, through the desktop app, the CLI, VS Code, JetBrains or Zed over ACP, the local server API, or Remote Control from a phone, and no webhook or CI event starts a run. Sourcekimi.com/code/docs/en/kimi-code-cli/guides/use-cases.htmlread 2026-11-07 |
|
| Model Flexibility & Routing | Partial |
|
In the CLI, the customer adds providers of the Kimi, Anthropic, OpenAI, OpenAI Responses, Gemini and Vertex AI types, or any OpenAI compatible service such as DeepSeek and Qwen, and switches with /model, with a separate default for subagents. Desktop and VS Code pick among six Kimi model IDs, from K3.1 Pro and its HighSpeed version to K3, a 256K version of K3 and the K2.8 and K2.7 coding models, and higher tiers unlock the larger context and faster models. Choosing another maker is a CLI setting. Sourcekimi.com/code/docs/en/kimi-code-cli/configuration/providers.htmlread 2026-11-07 |
|
| APIs / SDKs / MCP Extensibility | Full |
|
A local server started with kimi web exposes sessions, prompts, approvals, configuration, models, providers and Remote Control over REST, with a WebSocket stream for turn, message and tool events, behind a bearer token. Live OpenAPI and AsyncAPI specs are served by the server itself, and Moonshot labels the API experimental. The CLI also runs as an ACP server for JetBrains, Zed and other editors, and a plugin manifest format lets teams package their own skills, agents, MCP servers and hooks. Sourcekimi.com/code/docs/en/kimi-code-cli/reference/server-api.htmlread 2026-11-07 |
|
| Testing, Debugging & Optimization | Partial |
|
In Tower mode, each finished worker branch goes to an independent reviewer that inspects it read only, and the tower merges only branches that pass its checks. Plan mode puts an approach in front of the user before any file changes, /undo rolls back recent prompts, and the debug export packages a session's trace for diagnosis. There is no evaluation harness, set of test cases or scored comparison for checking a change to an agent, a skill or a prompt before it is used. Sourcekimi.com/code/docs/en/kimi-code-cli/guides/tower.htmlread 2026-11-07 |
|
| Browser / Computer-use | Full |
|
The Desktop app has a built in browser that the agent can operate itself, reading page text and elements, taking screenshots, clicking, typing, filling forms, choosing options and scrolling, once the user allows it, with a Take over control to stop it at any point and a separate setting for subagents. The official Kimi Browser Extension plugin lets the agent operate the user's everyday Chrome or Edge, and the official Kimi Computer Use plugin operates desktop apps on macOS and Windows, where the Windows version can briefly take over the mouse and keyboard. Sourcekimi.com/code/docs/en/kimi-code-desktop/built-in-browser.htmlread 2026-11-07 |
|
The Agentic Index coverage score grades every vendor Full, Partial or Not documented against the same 14 buyer facing capabilities, from public evidence only. Each capability links to how all vendors in the index score on it. How this evidence is graded
Pricing
Included in Kimi membership from Plus at $19 a month, or $15 a month billed annually. Pro is $39, Max $99 and Ultra $199 a month, and the Free plan does not include Kimi Code.
A Kimi membership billed monthly or annually, with Kimi Code usage limited by a rolling five hour window and a monthly total, plus an optional prepaid Extra Usage balance once the plan quota runs out.
Included quota
Plus and above include Kimi Code with K3.1 Pro and K3. Pro and above add the HighSpeed models, and the plans page lists context up to 1M tokens on Max and Ultra. Usage runs on a rolling five hour window and a monthly total, and Kimi Code pauses when the monthly total is reached until it resets or the member upgrades. The request and token amounts behind each tier are not published.
What is public
Monthly and annual prices for the four paid Kimi memberships that include Kimi Code, which models each tier unlocks, how the five hour window and monthly total work, and the Extra Usage top up rules.
Billing mechanics
Each member subscribes monthly or annually and spends Kimi Code quota inside a rolling five hour window and a monthly total, then an optional prepaid Extra Usage balance. A plan change applies immediately and prorates the remaining days.
Cost watchouts
HighSpeed models draw quota about twice as fast, Tower, swarm and parallel subagents each consume their own tokens, and Extra Usage has no ceiling unless a monthly cap is set.
Variable cost rationale
The membership price is flat, and Kimi Code use is capped by a five hour window and a monthly total. Past that cap, spend comes from an Extra Usage balance only if the member switches it on, with no limit unless a monthly spending cap is set. HighSpeed models use quota about twice as fast, and running the CLI on another provider moves the cost to that provider's token bill.
Additional watchouts
The Free plan does not include Kimi Code, the 1M context and HighSpeed models need higher tiers, and changing the client identifier on an API key can suspend membership benefits.
Overage / add-ons
Subscribed members can switch on an Extra Usage balance that pays for requests once the plan quota runs out, drawn after the subscription quota. Top ups start at ¥25, up to 10 times and ¥3,000 a day, with a ¥10,000 balance cap and an optional monthly spending cap. The balance does not expire.
Sales call required
No, self serve available
Free / trial
The Free Kimi plan does not include Kimi Code. The MIT licensed CLI can run at no charge on the user's own provider keys.
Lowest paid plan
Kimi Plus, $19 a month or $15 a month billed annually
Commercial notes
The CLI is MIT licensed and runs on any configured provider. Members can create up to five Kimi Code API keys to use Kimi models in tools such as Claude Code, OpenCode and Hermes Agent, and team use is pointed to the pay as you go Kimi Platform.
Key ambiguities
The Kimi Code membership docs name new plans Go, Plus and Pro beside legacy Andante, Moderato and Allegretto, while the plans page sells Plus, Pro, Max and Ultra. Neither publishes the request or token amounts behind each tier, and the docs place 1M context at Pro while the plans page lists it from Max.
Cancellation / refund
A plan change takes effect immediately with remaining days prorated. Extra Usage balances are generally non refundable, non transferable and do not expire.
Missing data
The request and token amounts per tier, team or enterprise pricing for Kimi Code, and a full refund policy for subscriptions.
Related vendors
- Cognition — Maker of Devin, an autonomous AI software engineer
- 10Web — Agentic website platform whose AI agents build, host and manage…
- AgentUI — Managed AI app builder for operations teams that generates and hosts…
- Aider — Open source, model agnostic terminal coding agent that edits your…
- Amp — Amp is a coding agent from Amp Frontier Corporation that runs each…
- Anthropic Claude Code — Anthropic's agentic coding system across terminal, desktop, IDE, web…