MoonshotAI/kimi-code
Terminal coding agent with MCP tools and ACP editor integration
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Kimi Code is a terminal-first coding agent in a TypeScript/pnpm monorepo with apps/ and packages/. Its TUI drives a feedback loop: the agent reads and edits files, searches the workspace, runs shell commands, and uses tool results to choose the next step. The packaged CLI ships as a single binary; the Node.js requirement applies to source development.
The integration boundaries are distinct. kimi acp lets an ACP editor drive an agent session over stdio. MCP connects the agent to external tools and data sources, and /mcp-config handles server configuration and authentication. Lifecycle hooks run local commands around agent events, giving teams a place to gate tool calls or record decisions.
Key Capabilities & Differentiators
Moonshot AI's Kimi models work out of the box, and the CLI can be configured for other compatible providers. First-run /login offers Kimi Code OAuth or a Moonshot AI Open Platform API key. The agent can inspect and modify a project, run shell commands, fetch web pages, and accept screen recordings or demo clips for tasks where visual behavior is hard to describe in text.
Built-in coder, explore, and plan subagents can work in parallel while keeping their contexts separate from the main conversation. Skills, MCP servers, and data sources can be installed from the marketplace or GitHub. Verify the chosen provider's behavior before relying on video input or assuming feature parity across providers.
Trade-offs & Limitations
Against Claude Code, evaluate Kimi Code on the integrations you actually need: ACP support in your editor, MCP setup via /mcp-config, and the behavior of your chosen model provider. The binary simplifies workstation setup. With hosted models, however, response time depends partly on network and service conditions, and usage is subject to provider terms and pricing.
The agent can edit files and run local commands, so decide what it may access before using it on sensitive repositories. Approval controls, hooks, and extension trust labels are useful review points; separate subagent contexts should not be treated as an OS sandbox. MIT covers the repository code, not the terms of hosted inference or third-party extensions.
Hardware & Deployment Guide
The official installers target macOS, Linux, and Windows without requiring Node.js. On Windows, install Git for Windows first: the CLI uses Git Bash, and KIMI_SHELL_PATH can point to the absolute path of a nonstandard bash.exe. Verify the installation with kimi --version, start kimi in the project, and run /login. Source development requires Node.js ≥24.15.0 and pnpm 10.33.0; pnpm dev:cli starts the development CLI.
The CLI runs locally, but the documented login paths connect to hosted model services; the binary is not an offline inference bundle. Desktop 1.5.1 is listed separately from the desktop 1.6.0 canaries and the CLI 2.9.0 canary. The CLI canary notes session migration when creating a worktree and fullscreen mouse support for docked TUI dialogs and selectors. Verify availability in your chosen release channel before depending on either change.
/mcp-config adds, edits, and authenticates MCP servers conversationally without requiring manual JSON edits.kimi acp exposes a session over stdio to ACP-compatible clients such as Zed and JetBrains and reuses the CLI login.coder, explore, and plan subagents can work in parallel with separate contexts.Developers who want a terminal agent for repository maintenance, MCP tool setup without manual JSON edits, and access from an ACP-compatible editor.
You need a verified offline inference stack, cannot allow an agent to run local shell commands, or require a drop-in replacement for an existing Claude Code workflow.
Quick Start & Installation
curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| kimi-code ★ | 8.3k | +57 | TypeScript | MIT | Terminal coding agent with MCP tools and ACP editor integration |
| gemini-cli | 109.5k | +442 | TypeScript | Apache-2.0 | A Node.js terminal agent for enterprise Gemini coding workflows and MCP tools |
| cline | 72k | +187 | TypeScript | Apache-2.0 | Shared coding-agent engine for IDEs and terminals, with pluggable models and MCP |
| qwen-code | 31.1k | +141 | TypeScript | Apache-2.0 | TypeScript coding agent with swappable models and MCP for repository-scale work |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/MoonshotAI/kimi-code.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about kimi-code
How does an editor connect to Kimi Code, and where does MCP fit?
kimi acp over stdio. The editor reuses the CLI login. ACP connects the editor to the agent session; MCP connects the agent to external tools and data sources.Do I need Node.js, a GPU, or a particular amount of VRAM?
Does the MIT license cover commercial use and self-hosted inference?
How should a team evaluate Kimi Code as a Claude Code alternative?
/mcp-config simplify setup, then compare model results, approval behavior, and compatibility with the tools and extensions you already rely on. Do not assume your Claude Code workflows transfer unchanged.Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy