# Repository Briefing: MoonshotAI/kimi-code
> Source: https://repoforai.com/repo/MoonshotAI/kimi-code (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/MoonshotAI/kimi-code
- **Official Docs / Website**: https://www.kimi.com/code/docs/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (98/100 · Maintenance 35/35 · Adoption 23/25 · Releases 20/20 · License 20/20)
- **Latest Release**: kimi-code-desktop@1.5.1 (2026-11-26) — https://github.com/MoonshotAI/kimi-code/releases
- **Review Snapshot**: 2026-11-29
- **Deployment / Stack Signals**: CLI, MCP
- **Momentum**: 8,342 ★ total (+8 24h / +57 7d) · 1,421 forks
- **When to Use**: Best for: Developers who want a terminal agent for repository maintenance, MCP tool setup without manual JSON edits, and access from an ACP-compatible editor. Skip if: 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.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Execution loop: The terminal agent reads and edits code, searches files, runs shell commands, and uses the results to decide what to do next.
- MCP setup: `/mcp-config` adds, edits, and authenticates MCP servers conversationally without requiring manual JSON edits.
- Editor integration: `kimi acp` exposes a session over stdio to ACP-compatible clients such as Zed and JetBrains and reuses the CLI login.
- Work decomposition: Built-in `coder`, `explore`, and `plan` subagents can work in parallel with separate contexts.
- Extension controls: Lifecycle hooks can gate tool calls and record decisions, while marketplace and GitHub installs surface a trust level before installation.
- Visual input: The interactive client accepts screen recordings or demo clips alongside text.
```

## Quick Start / Clone
```bash
curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash
```
