kimi-cli
Kimi Code CLI is your next CLI agent.
What it is and what it does
Kimi CLI is a terminal-based AI agent designed to assist with software development workflows. It can read and edit code files, execute shell commands, fetch and search web content, and autonomously adjust its actions during execution. The agent runs interactively in your terminal and can be toggled into shell command mode via keyboard shortcut, allowing you to run commands without leaving the interface.
The package integrates with multiple development environments: it works as a standalone CLI, can be embedded in VS Code via extension, supports the Agent Client Protocol for IDE integration (Zed, JetBrains), and includes Zsh shell integration. It also supports Model Context Protocol (MCP) servers for extended tool access. However, the project is in transition—the maintainers are moving users toward Kimi Code CLI as the next-generation version, and this package will be gradually wound down, though existing installations and documentation remain available.
Use it for:
- Automate repetitive code editing and refactoring tasks directly from the terminal without switching to an editor.
- Execute and debug shell commands with AI assistance, including planning complex multi-step operations.
- Fetch and analyze web content or search results as part of development research workflows.
- Integrate AI-assisted development into Zsh shell workflows via the plugin for seamless agent mode toggling.
- Connect external tools and services via MCP server configuration to extend the agent's capabilities.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Kimi CLI is a terminal-based AI agent that helps with software development tasks by reading and editing code, executing shell commands, searching web pages, and autonomously planning actions.
Yes, with conditions. Kimi CLI is actively maintained, has low install friction, and offers genuine utility for terminal-based development workflows—especially if you want AI assistance without leaving the shell or IDE. However, install it with awareness that the project is explicitly transitioning to Kimi Code CLI; the maintainers recommend migration. Verify the license before use in proprietary contexts, and confirm that the 29 runtime dependencies align with your environment constraints. Best suited for developers already comfortable with terminal-first workflows.
Install
kimi-cli on PyPI
pip
pip install kimi-cliuv
uv add kimi-clipoetry
poetry add kimi-cliInstalling kimi-cli
Before you install
Low install friction with a pure-Python wheel. Active maintenance as of 29 days ago. However, the project is explicitly transitioning to Kimi Code CLI; the documentation notes this project will be gradually wound down, so long-term support is uncertain.
License in practice
License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license before use in proprietary or restricted contexts.
Quickstart
pip install kimi-cli
kimi
# Then send /login to authenticate, or use 'kimi acp' to run as an Agent Client Protocol server.
Requires Python 3.12 or later. Some features (VS Code integration, Zsh plugin, MCP support) depend on external tools or configuration.
Verify before relying
- Exact license terms and any restrictions on commercial use or redistribution.
- Whether the gradual wind-down of this project affects bug fixes or security updates.
- System requirements for standalone binary builds (if applicable to your use case).
- Whether all 29 runtime dependencies are required for basic CLI operation or only for specific features.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.12) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 29 — agent-client-protocol, aiofiles, aiohttp, typer, kosong, loguru, prompt-toolkit, pillow, pyyaml, rich, ripgrepy, streamingjson, trafilatura, lxml, tenacity, fastmcp, pydantic, httpx, pykaos, batrachian-toad, tomlkit, jinja2, pyobjc-framework-cocoa, fastapi, uvicorn, scalar-fastapi, websockets, keyring, setproctitle |
| Maintenance | actively maintained — 29 days since the last release |
| First released | |
| Downloads | 310,451/month — #7,745 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: kimi_cli-1.49.0-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
openhandsOpenHands is a CLI tool that runs an AI agent…
permissive · top 5,000 on PyPI
altimate-datapilot-cliA CLI tool that provides an AI assistant…
permissive · top 15,000 on PyPI
serena-agentSerena is an MCP server that provides semantic…
permissive · top 15,000 on PyPI
deepagents-codeA terminal-based AI coding agent that works…
permissive · top 15,000 on PyPI
mergify-cliMergify CLI is a command-line tool for managing…
permissive · top 15,000 on PyPI
apm-cliAPM is a dependency manager and configuration…
permissive · top 15,000 on PyPI
pairmuxpairmux lets AI agents control interactive…
permissive · top 15,000 on PyPI
autokerenAn agentic coding CLI with an interactive…
permissive · top 15,000 on PyPI
praisonaiagentsPraisonAI agents is a Python framework for…
unclear · top 15,000 on PyPI
pydantic-deepA Python framework and terminal assistant for…
permissive · top 15,000 on PyPI