Kimi Code CLI
Work through coding tasks in an interactive terminal session that can inspect, edit, and run project code.
- Source repo
- MoonshotAI/kimi-code
- Stars
- ★ 8.4k
- Last updated
- today [email protected]
- FARS reviewed
- Nov 08, 2026 +19 new
- License
- MIT
- Primary language
- TypeScript
- FA score
- 46/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Setup effort
- Low · running in minutes
- You'll need
- 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
- Source review
- 46/100 · Major gaps 1 safety controls not found
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.
- Developers who want a terminal agent to inspect an unfamiliar repository and explain its main directories.
- Individual developers who want an agent to edit code and run shell commands, iterating from the results.
- Teams that want to describe interface behavior with a screen recording or demo clip for coding work.
- Users who want to configure MCP servers conversationally instead of hand-editing JSON.
- 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 | bashirm 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 | bashOn Windows PowerShell, run:
irm https://code.kimi.com/kimi-code/install.ps1 | iexOn 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 --versionHow do you use this agent?
Open a project directory and launch the interactive UI:
cd your-project
kimiOn 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)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
FARS trust-control audit
- 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?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
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 ↗ -
[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 ↗ -
@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?
What can the agent access?
Can I use a non-Moonshot model?
Can I use it from an IDE?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.