Kimi-Code Documentation: Where to Find Complete Guides and API References
Kimi-Code documentation is located in the docs/ directory of the MoonshotAI/kimi-code repository and published online at https://moonshotai.github.io/kimi-code.
The documentation covers installation, CLI commands, configuration, IDE integration, and extensibility. All source files live under docs/en/ and render into a static site, with the main entry point at docs/en/index.md.
Online Documentation Site
The fastest way to access Kimi-Code documentation is through the hosted site at https://moonshotai.github.io/kimi-code/en/.
This site mirrors the markdown source files in the repository and provides searchable, navigable guides. The docs/en/index.md file serves as the homepage, aggregating links to all major sections.
Repository Documentation Structure
The docs/ directory organizes content by topic. Here are the key files and their purposes:
Getting Started Guide
| Purpose | File Path |
|---|---|
| Installation, first launch, basic commands | [docs/en/guides/getting-started.md](https://github.com/MoonshotAI/kimi-code/blob/main/docs/en/guides/getting-started.md) |
This guide covers the installation script, initial setup, and your first interactive session. The CLI entry point at apps/kimi-code/src/main.ts instantiates the UI and command handlers documented here.
Command Reference
| Purpose | File Path |
|---|---|
| Slash commands, keyboard shortcuts, CLI options | [docs/en/reference/kimi-command.md](https://github.com/MoonshotAI/kimi-code/blob/main/docs/en/reference/kimi-command.md) |
Documents all slash commands including /login, /new, /model, /mcp-config, and /help. Also lists keyboard shortcuts for the interactive TUI.
Configuration Documentation
| Purpose | File Path |
|---|---|
| Providers, model overrides, environment variables, data locations | [docs/en/configuration/providers.md](https://github.com/MoonshotAI/kimi-code/blob/main/docs/en/configuration/providers.md) |
Explains how to configure OpenAI, Anthropic, Kimi, and other providers. Includes paths to local data directories and override mechanisms.
Customization and Extensibility
| Purpose | File Path |
|---|---|
| Skills, plugins, MCP servers, hooks | [docs/en/customization/plugins.md](https://github.com/MoonshotAI/kimi-code/blob/main/docs/en/customization/plugins.md) |
Covers the Model Context Protocol (MCP) integration and marketplace skills. Shows how to extend the CLI with custom servers or published plugins.
IDE Integration (ACP)
| Purpose | File Path |
|---|---|
| Using Kimi-Code from Zed, JetBrains, VS Code | [docs/en/guides/ides.md](https://github.com/MoonshotAI/kimi-code/blob/main/docs/en/guides/ides.md) |
Documents the Agent Client Protocol (ACP) bindings that enable editor integration. Includes configuration examples for supported IDEs.
Release Notes
| Purpose | File Path |
|---|---|
| Changelog, version history, breaking changes | [docs/en/release-notes/changelog.md](https://github.com/MoonshotAI/kimi-code/blob/main/docs/en/release-notes/changelog.md) |
Lists new features and fixes per release.
Quick Reference: Essential Commands
These examples come directly from the Getting Started and Command Reference documentation:
# Install Kimi-Code via official script
curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash
# Verify installation
kimi --version
# Start interactive session in project directory
cd my-project
kimi
Interactive slash commands (run inside the TUI):
/login # OAuth/API-key authentication flow
/new # Start fresh session
/model # Switch active model
/mcp-config # Configure MCP server
/help # Show all commands and shortcuts
One-off prompt without entering TUI:
kimi -p "Generate a TypeScript function for kebab-case conversion"
ACP configuration for Zed editor (from docs/en/guides/ides.md):
// ~/.config/zed/settings.json
{
"agent_servers": {
"Kimi Code CLI": {
"type": "custom",
"command": "kimi",
"args": ["acp"],
"env": {}
}
}
}
Invoke a skill directly from command line:
kimi -p "/run my-skill --arg value"
SDK and Implementation Documentation
Beyond user-facing docs, implementation details appear in:
| File | Documentation Purpose |
|---|---|
packages/node-sdk/README.md |
TypeScript SDK powering the CLI |
apps/kimi-code/src/main.ts |
CLI entry point—UI, config, and command wiring |
The Node SDK README documents programmatic usage for building on top of Kimi-Code's core functionality.
Summary
- Primary documentation site: https://moonshotai.github.io/kimi-code/en/
- Source location:
docs/en/directory in MoonshotAI/kimi-code - Entry point:
docs/en/index.md - Key guides: Getting Started (
docs/en/guides/getting-started.md), Command Reference (docs/en/reference/kimi-command.md), Configuration (docs/en/configuration/providers.md) - Extension docs: Customization (
docs/en/customization/plugins.md) and IDE integration (docs/en/guides/ides.md) - Quick start: README.md contains installation badges and overview links
Frequently Asked Questions
Where is the official Kimi-Code documentation hosted?
The official documentation is published at https://moonshotai.github.io/kimi-code. The site is generated from markdown files in the docs/en/ directory of the GitHub repository. Both sources stay synchronized—all web content originates from version-controlled documentation files.
How do I find documentation for a specific slash command?
Slash commands are documented in [docs/en/reference/kimi-command.md](https://github.com/MoonshotAI/kimi-code/blob/main/docs/en/reference/kimi-command.md). This file contains complete syntax, parameters, and keyboard shortcut mappings. You can also run /help inside any Kimi-Code interactive session for inline reference.
Is there documentation for integrating Kimi-Code into my IDE?
Yes—the ACP (Agent Client Protocol) integration guide lives at [docs/en/guides/ides.md](https://github.com/MoonshotAI/kimi-code/blob/main/docs/en/guides/ides.md). It covers Zed, JetBrains, and VS Code setup with configuration snippets. The protocol implementation enables external editors to communicate with the kimi CLI process.
Where can I find information about extending Kimi-Code with plugins?
Extension documentation is in [docs/en/customization/plugins.md](https://github.com/MoonshotAI/kimi-code/blob/main/docs/en/customization/plugins.md). This covers the MCP server protocol, marketplace skills, and hook system. The main.ts entry point loads these extensions at runtime according to the documented configuration schema.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →