Kimi Code CLI is an AI coding agent designed to run directly in the terminal, built by Moonshot AI and written in TypeScript. The tool functions as an autonomous agent capable of reading and editing code, executing shell commands, searching files, fetching web pages, and making decisions based on feedback received during execution. It integrates natively with Moonshot AI's Kimi models while remaining configurable to work with other compatible AI providers.
The installation process is streamlined for accessibility, requiring only a single command with no Node.js dependency for end users, though development requires Node.js 24.15.0 or later and pnpm 10.33.0. The tool supports macOS, Linux, and Windows environments, with Windows users needing Git for Windows installed beforehand.
Key architectural features include single-binary distribution that eliminates setup friction, millisecond-level startup times for the terminal UI, and a purpose-built interface optimized for extended agent sessions. The tool supports video input capabilities, allowing users to provide screen recordings or demo clips that the agent can analyze and convert into actionable outputs like code or visual transformations. Configuration of Model Context Protocol servers can be handled conversationally through the /mcp-config command, avoiding manual JSON editing. The plugin ecosystem enables installation of skills, MCP servers, and data sources from the marketplace or GitHub repositories, with trust levels surfaced during installation.
The platform includes subagent functionality with built-in coder, explore, and plan agents that can work in parallel within isolated contexts while maintaining a clean main conversation thread. Lifecycle hooks allow users to run local commands at critical points for gating risky operations, auditing decisions, triggering notifications, or connecting to external automation systems. Integration with editors and IDEs is supported through the Agent Client Protocol, enabling Zed, JetBrains, and other compatible clients to drive Kimi Code CLI sessions directly through the kimi acp subcommand without requiring separate authentication.
The repository maintains connections with related projects including hmbown/codewhale, hmbown/deepseek-tui, and moonshotai/kimi-cli through overlapping contributor networks. The project is released under the MIT License and acknowledges the pi-tui library as a foundation for its terminal user interface implementation.