Kimi Code CLI

Work through coding tasks in an interactive terminal session that can inspect, edit, and run project code.

Stars
★ 8.4k
Last updated
today [email protected]
FARS reviewed
Nov 08, 2026 +19 new
License
MIT
Primary language
TypeScript

At a glance

How it runs
CLI
Works with
Universal · cross-platform
Setup effort
Low · running in minutes
You'll need
Git for Windows (Windows only)Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
Developers who want a terminal agent to inspect an unfamiliar repository and explain its main directories.
Not a fit if
  • Teams that need to avoid model services or API charges
Website
kimi.com/code/docs ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-04latest release [email protected] (2026-12-03)+6.3 ★/day over 7 days

What does this agent do, and when should you use it?

Kimi Code CLI is an AI coding agent that runs in a terminal and can read and edit code, run shell commands, search files, and fetch web pages. It chooses subsequent steps based on feedback from those actions, with an interactive terminal UI for ongoing work. It works out of the box with Moonshot AI's Kimi models and can be configured for other compatible providers. The official installer provides a single-binary distribution and does not require Node.js; kimi acp also connects it to editors that support the Agent Client Protocol. On Windows, Git for Windows supplies the Git Bash shell environment required for the first launch.

Start kimi in a project directory and describe a task; the CLI can read and edit project files, search files, run shell commands, and fetch web pages, then continue based on the resulting feedback. On first launch, /login accepts either Kimi Code OAuth or a Moonshot AI Open Platform API key. Video input lets users submit screen recordings or demo clips for the agent to inspect, while /mcp-config supports conversational addition, editing, and authentication of MCP servers. The built-in coder, explore, and plan subagents can handle focused work in isolated contexts; kimi acp drives a session over stdio from a compatible editor.

  1. Developers who want a terminal agent to inspect an unfamiliar repository and explain its main directories.
  2. Individual developers who want an agent to edit code and run shell commands, iterating from the results.
  3. Teams that want to describe interface behavior with a screen recording or demo clip for coding work.
  4. Users who want to configure MCP servers conversationally instead of hand-editing JSON.
  5. Developers who want to drive a terminal agent session from Zed, JetBrains, or another ACP client.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash
  • irm https://code.kimi.com/kimi-code/install.ps1 | iex
Environment variables
KIMI_SHELL_PATH
Config files
~/.config/zed/settings.json
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

On macOS or Linux, use the official installer:

curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash

On Windows PowerShell, run:

irm https://code.kimi.com/kimi-code/install.ps1 | iex

On Windows, install Git for Windows before the first launch. If Git Bash is in a custom location, set KIMI_SHELL_PATH to the absolute path of bash.exe. After installation, check the version in a new shell session:

kimi --version

How do you use this agent?

Open a project directory and launch the interactive UI:

cd your-project
kimi

On first launch, run /login in the CLI and choose Kimi Code OAuth or a Moonshot AI Open Platform API key. After logging in, try a task such as:

Take a look at this project and explain its main directories.

To use ACP with Zed, add this to ~/.config/zed/settings.json:

{
  "agent_servers": {
    "Kimi Code CLI": {
      "type": "custom",
      "command": "kimi",
      "args": ["acp"],
      "env": {}
    }
  }
}

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

FARS trust-control audit

Not found in source — apply before daily use
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • The official script installs a single-binary distribution, and the README says Node.js is not required.
  • The terminal UI is designed for long, focused agent sessions and aims for fast startup.
  • It works with Kimi models out of the box and can be configured for other compatible providers.
  • It includes video input, conversational MCP configuration, isolated-context subagents, and lifecycle hooks.
  • ACP support connects sessions to editors such as Zed and JetBrains over stdio.
Limitations
  • Login is required through Kimi Code OAuth or a Moonshot AI Open Platform API key; model service pricing is not stated.
  • Windows requires Git for Windows, and a custom Git Bash location needs an environment variable.
  • The agent can run shell commands and read or edit project files, which teams should evaluate against their local execution policies.
  • Other compatible model providers are not identified, and the README does not document provider-specific feature differences.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Kimi Code CLI This agent 46 · Major gaps CLI ★ 8.4k today TypeScript —
Poolside pool 49 · Major gaps CLIFree + model costs ★ 452 3mo ago — OpenAI API
Oh My Pi 68 · Some gaps CLIFree + model costs ★ 41k today TypeScript Codex · OpenAI API · Claude API
Maki Coding Agent 67 · Some gaps CLIFree + model costs ★ 1.5k 1d ago Rust OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
46/ 100 5-point scale 2.3 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 19 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 8/29
Reliability 8/14
Adaptability 9/18
Convention 10/18
Effectiveness 7/13
Verifiability 4/8
Why each dimension lost points
Trust8 / 29 · 1.4/5

The README lists code reading and editing, shell commands, web fetching, plugins, MCP, and lifecycle hooks, and mentions surfaced plugin trust levels and interaction approval documentation. However, this packet does not show permission boundaries, approval defaults, detailed data flows, or sensitive-data controls, so those areas receive only partial credit. No recovery mechanism for changes is shown, so rollback scores 0. The MIT license and security reporting channels are present, but publisher identity remains unknown as instructed, leaving attribution only partially supported.

Reliability8 / 14 · 2.9/5

The repository guide, package entry points, and test excerpts show clear module boundaries. Doctor tests cover missing configuration, invalid fields, and explicit-path errors, supporting the consistency and failure-message scores. The README specifies Node and pnpm requirements and package.json declares engine requirements, but the packet does not show dependency availability safeguards or security auditing, limiting that score.

Adaptability9 / 18 · 2.5/5

The README describes terminal coding, video input, ACP editor integration, and multiple compatible model providers; it also gives Windows Git Bash requirements and a path override. This supports ordinary scenario and environment coverage. The candidate has broad capabilities, but the supplied material does not clearly document tool limits or precise activation conditions, so boundaries and trigger precision receive partial credit.

Convention10 / 18 · 2.8/5

The README provides installation, quick start, documentation links, development requirements, and examples; repository skills also have clear names and purposes. The LICENSE contains the full MIT terms, earning full credit for licensing. Security support is limited to the latest release, and the packet does not show a complete release history, limitations list, or named maintenance responsibility. Installation instructions also do not show script verification, so related criteria are deducted.

Effectiveness7 / 13 · 2.7/5

This is a terminal coding agent with described editing, command execution, search, web retrieval, and IDE integration capabilities; the test excerpts also show readable diagnostic output. The product's practical value is supported, but claims such as startup speed are not substantiated by static evidence, and cost versus benefit is not quantified, so these criteria do not receive full marks.

Verifiability4 / 8 · 2.5/5

README claims about installation, environments, and features can be cross-checked against package.json, workflows, test excerpts, and the security policy. Doctor tests provide concrete inputs and expected diagnostics. Some feature and performance claims remain README assertions without equivalent code or measurement evidence in this packet, so fact-inference separation receives partial credit.

Risks and how to mitigate them
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • This is a static review of the supplied file sample. Detailed permission and approval behavior, data handling paths, a complete limitations list, and release history are not shown, so their actual behavior cannot be confirmed.
  • The README recommends downloading and executing an install script through curl or PowerShell; the packet does not include the script or a verification procedure. Verify the script's source and contents through a trusted channel before installation.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision eb2035f3cad5 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/kimi-code.svg)](https://followagents.com/en/agents/kimi-code)
<a href="https://followagents.com/en/agents/kimi-code"><img src="https://followagents.com/badge/kimi-code.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. [email protected] Kimi Code Desktop 1.6.1-canary.20261204032434-3f47582 Pre-release
    Release notes excerpt
    目标版本:1.6.1;来源:main @ 3f4758245b84bb5cc7a2feaf15e269856a449cc6。CDN 需手动发布。[Windows Bash 源码](https://github.com/MoonshotAI/kimi-code/releases/download/[email protected]/Windows-Bash-Sources.tar)
    View on GitHub ↗
  2. [email protected] Kimi Code Desktop 1.6.0
    Release notes excerpt
    1.6.0 Minor Changes - [#5723](https://github.com/MoonshotAI/kimi-code/pull/5723) [5421e73](https://github.com/MoonshotAI/kimi-code/commit/5421e73f1ff7f8431662428d1eec58a5d41e55cd) Thanks [@kimi-agent-bot](https://github.com/kimi-agent-bot)! - Type / after a space or newline inside a draft to insert a skill pill at the cursor without clearing the surrounding text; typing 、 inside a draft stays plain punctuation. Turn off "Use / for skills in drafts" in Composer settings to open slash commands only at the start of the input. …
    View on GitHub ↗
  3. @moonshot-ai/[email protected] Kimi Code CLI 2.9.0
    Release notes excerpt
    Minor Changes - [#5562](https://github.com/MoonshotAI/kimi-code/pull/5562) [f3beb18](https://github.com/MoonshotAI/kimi-code/commit/f3beb188c18664088d223e33b1d5c13e48954546) Thanks [@Grapedge](https://github.com/Grapedge)! - Add the /workspace slash command to switch between personal and business workspaces. Run /workspace to switch workspaces. …
    View on GitHub ↗

FAQ

Does it cost money to use?
The README does not state software or model service pricing. First-run login offers Kimi Code OAuth or a Moonshot AI Open Platform API key; check those services for applicable charges.
What can the agent access?
The README documents code and file access, shell command execution, web page fetching, video input, and MCP server configuration.
Can I use a non-Moonshot model?
Yes. The CLI can be configured for other compatible providers, but the README does not name them or describe provider-specific feature support.
Can I use it from an IDE?
Yes. Kimi Code CLI supports the Agent Client Protocol; the README includes a Zed configuration example and points to JetBrains setup guidance.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts