Migrate your terminal AI workflow to the successor tool
The AI tool that edited code and ran shell commands inside the terminal window has stopped. Kimi CLI, written in Python, is no longer maintained and has been fully replaced by Kimi Code CLI, created by the same team. Support for existing installation environments has ended, so they will soon stop working; the repository now serves only as a reference for data migration.
Why and how to migrate
This repository is locked as read-only, so no new releases or security updates are provided. Previously installed versions are no longer supported, and their normal operation is not guaranteed, so you should move to the successor version as soon as possible. When you start the migration, running the kimi command automatically detects existing settings, MCP servers, input history, and session data, and suggests the migration. The original data is never modified or deleted, and you can re-run the process at any time with the kimi migrate command. However, login credentials, MCP approvals, and plugins are not transferred, so you must run /login again in the new environment and re-approve MCP servers.
Archived packages and license
All packages included in this repository have been archived together. Versions published on PyPI remain available but no longer receive updates. kimi-cli, kimi-code (a legacy alias on PyPI), kosong, pykaos, and kimi-sdk are all in the same state. The source code remains public under the Apache License 2.0, so it can be referenced, but it should not be used for actual development or operations.
Features previously provided
Kimi CLI was an AI agent that assisted with software development tasks in the terminal. It could read and edit code, execute shell commands, and search and fetch web pages. Pressing Ctrl-X switched to shell command mode, allowing you to run commands directly without leaving Kimi CLI. It could integrate with IDEs via a VS Code extension or ACP (Agent Client Protocol), and installing a Zsh plugin allowed AI features to be used in Zsh environments. It also supported managing and connecting MCP (Model Context Protocol) servers, enabling integration with external tools.
Before opening this repository
This repository is a historical record, not a currently usable tool. You must switch to Kimi Code CLI to start new projects or maintain existing environments. Use this repository only to check how to perform data migration safely without touching the original data. Although the license is Apache 2.0, maintenance has stopped, so you cannot expect patches for security vulnerabilities. Leaving existing installation environments as they are risks them stopping at any time, so it is safe to proceed with the migration to the successor version immediately after reading the contents of this repository.