Kimi CLI
Kimi CLI (official name: Kimi Code CLI) is Moonshot AI's open-source terminal-native AI coding agent, the CLI surface of the Kimi Code product. It runs an agentic loop in the terminal, operating on code, files, and shell commands via natural language, backed by the Kimi K2 model line.
Canonical version: Kimi CLI.
Kimi CLI (official name: Kimi Code CLI) is Moonshot AI's open-source terminal-native AI coding agent, the CLI surface of the Kimi Code product. It runs an agentic loop in the terminal, operating on code, files, and shell commands via natural language, backed by the Kimi K2 model line.
It is positioned alongside Claude Code and Gemini CLI as a first-class agentic coding CLI — distinguishing itself with open-weight model support and native Agent Client Protocol (ACP) integration.
Key Features
- Interactive CLI (
kimi) — conversational AI agent in the terminal with natural language or shell command execution - Browser UI (
kimi web) — local browser interface with session management and file references - ACP service (
kimi acp) — runs as a service exposing the Agent Client Protocol for IDE integration (e.g., Zed, OpenClaw) - Shell mode — toggle with
Ctrl-Xto run shell commands directly inside Kimi CLI - Model Context Protocol (MCP) support — connects to local (stdio) and remote (http/sse) MCP servers; manage with
kimi mcpsub-commands - Multi-provider — supports Moonshot AI, OpenAI, Claude, and Gemini as backends
- Tool approval flow — built-in approval and timeout controls for external tool execution
Built-in Tools
File read/write, shell execution, code analysis, web search and fetch.
Commands
kimi— start interactive sessionkimi web— open browser UIkimi acp— start ACP servicekimi mcp— manage MCP server configurations
Positioning
Kimi CLI is Moonshot's answer to Claude Code and Gemini CLI in the agentic terminal agent space, with two differentiating bets:
- Open-weight models (K2 line) can be self-hosted
- First-class ACP support makes it a drop-in backend for any ACP-compatible editor or orchestrator
References
- GitHub: https://github.com/MoonshotAI/kimi-cli
- Docs: https://moonshotai.github.io/kimi-cli/en/guides/getting-started.html
- Kimi Code Docs: https://www.kimi.com/code/docs/en/kimi-code-cli/getting-started.html
- API platform: https://platform.kimi.ai
Related
- Kimi Code
- Kimi
- Moonshot AI
- AI Agent Harness
- Claude Code
- Gemini CLI
- GitHub Copilot CLI
- Model Context Protocol (MCP)
- AI Agents
- Agentic Engineering
- Agentic Development Environment (ADE)
About Sébastien
I'm Sébastien Dubois, and I'm on a mission to help knowledge workers escape information overload. After 20+ years in IT and seeing too many brilliant minds drowning in digital chaos, I've decided to help people build systems that actually work. Through the Knowii Community, my courses, products & services and my Website/Newsletter, I share practical and battle-tested systems.
I write about Knowledge Work, Personal Knowledge Management, Note-taking, Lifelong Learning, Personal Organization, Productivity, and more. I also craft lovely digital products and tools.
If you want to follow my work, then become a member and join our community.
Ready to get to the next level?
If you're tired of information overwhelm and ready to build a reliable knowledge system:
- 📚 KM for Beginners — 10+ hours of structured video lessons
- 🚀 Obsidian Starter Kit — Ready-made vault with 40+ templates
- 💼 Knowledge Worker Kit — Complete guides + lifetime community
- 🦉 1-on-1 Coaching — Personalized guidance
- 🎯 Join Knowii — Community + ALL courses & tools
Found this valuable? Share it with someone who needs it.