kimi-code  by MoonshotAI

AI coding agent for terminal-based development

Created 1 week ago

New!

1,217 stars

Top 31.7% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Summary

Kimi Code CLI is an AI-powered coding agent designed for terminal environments, enabling users to read/edit code, execute shell commands, search files, and fetch web content. It streamlines development workflows by integrating AI assistance directly into the command line, targeting developers and power users seeking efficient, AI-augmented coding experiences.

How It Works

The agent operates as a single binary, offering rapid startup and a purpose-built terminal UI (TUI). It leverages Moonshot AI's Kimi models by default but supports other compatible providers. Core functionality includes AI-driven decision-making for task execution, support for subagents (coder, explore, plan) for parallel work, and AI-native configuration of Model Context Protocol (MCP) servers. Lifecycle hooks allow integration with local automation and user-defined checks.

Quick Start & Requirements

  • Installation is via a single command script: macOS/Linux (sh curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash) or Windows PowerShell (powershell irm https://code.kimi.com/kimi-code/install.ps1 | iex).
  • Usage involves navigating to a project directory and running kimi.
  • Initial authentication requires /login within the CLI using Kimi Code OAuth or a Moonshot AI API key.
  • Development requires Node.js ≥ 24.15.0 and pnpm 10.33.0.
  • Documentation is available for Getting Started, Interaction, Sessions, Configuration, and Command reference.

Highlighted Details

  • Single-binary distribution for simplified installation without Node.js or global module conflicts.
  • Millisecond startup time for the TUI.
  • Video input support for describing complex visual information.
  • AI-native MCP configuration via conversational commands.
  • Dispatchable subagents for focused, parallel task execution.
  • Lifecycle hooks for gating tool calls and triggering external automation.

Maintenance & Community

The project actively tracks issues and security vulnerabilities via GitHub. No explicit community channels (e.g., Discord, Slack) or roadmap links are provided in the README.

Licensing & Compatibility

Released under the permissive MIT License, allowing for broad use, modification, and distribution, including in commercial applications.

Limitations & Caveats

While the installation script aims for ease of use, development and contribution require specific Node.js and pnpm versions. The core functionality is tied to Moonshot AI's Kimi models or compatible providers. No explicit alpha/beta status or known bugs are mentioned.

Health Check
Last Commit

7 hours ago

Responsiveness

Inactive

Pull Requests (30d)
121
Issues (30d)
64
Star History
1,232 stars in the last 7 days

Explore Similar Projects

Feedback? Help us improve.