Kimi Code CLI

Kimi Code CLI is an open-source terminal coding agent developed by Moonshot AI. Designed to bring Moonshot AI's long-context and reasoning capabilities directly to local development environments, it operates directly inside the terminal to inspect source files, manage multi-step coding workflows, and execute system commands. Day-to-day interaction occurs through a command-line interface where developers prompt the agent to perform code analysis, refactoring, and automated patch creation. The harness runs an agent execution loop (backed by Moonshot's `kosong` framework and `kagent` Rust-based kernel) that can dispatch background tasks, invoke built-in agent skills, and interface with LLM endpoints including Moonshot's Kimi models and Anthropic-compatible APIs. What sets Kimi Code CLI apart is its modular, high-performance architecture comprising a Rust agent core (`kagent`) paired with modular agent skill definitions. It handles long-running background operations while maintaining an active agent loop, making it resilient for complex repository-wide tasks and multi-file code modifications. Kimi Code CLI is open-source software hosted publicly on GitHub. Users configure their own Moonshot AI or compatible LLM provider API keys to cover model inference costs.

Tags: ai agent, cli, coding agent, developer tools, terminal

Visit Kimi Code CLI