← Back

Moonshot AI launches Kimi Code CLI, a fully open-source Claude Code clone

Original version ·

While corporate tech giants lock their best AI programmers behind expensive APIs and closed ecosystems, some developers actually want to share their toys. This new terminal wizard might just change how we build software forever.

The newly released tool replaces the older kimi-cli, having been completely rewritten from scratch in TypeScript. It automatically migrates old configurations and active sessions upon installation, proving this is a major architectural overhaul rather than a simple branding update.

This tool operates as an autonomous terminal assistant capable of reading files, modifying codebases, executing shell commands, and surfing the web to solve programming hurdles. The agent handles complex multi-step reasoning by analyzing the results of its previous actions before taking the next step, a loop that makes it surprisingly competent at debugging.

While named for coding, early adopters are already using it to write slides and analyze business spreadsheets, proving once again that developers will do absolutely anything to avoid talking to their marketing departments.

Unlike its closed-source rivals, the binary runs instantly without requiring a local Node.js installation or tedious PATH adjustments. It can even ingest video screencasts directly into the chat when your buggy code is too embarrassing to describe in written words.

Configuring Model Context Protocol (MCP) servers is handled via a conversational /mcp-config prompt instead of manual JSON wrestling. Sub-agents like "coder", "explore", and "plan" run in isolated sandboxes to keep the main chat clean, while custom lifecycle hooks trigger local terminal commands at critical moments.

The tool ships out-of-the-box with Moonshot AI's own K2 model family but includes open-ended configuration files to easily swap the backend to any OpenAI-compatible API.

The era of proprietary developer gatekeeping is hitting a massive wall of open-source reality. When a highly capable tool can be self-hosted, modified, and integrated into private pipelines without paying a toll to Silicon Valley, the commercial survival of closed developer agents looks increasingly shaky.

Source: GitHub

Comments

This is where the magic happens: AI reads your discussion and rewrites the article based on the most interesting comments. Each strong comment adds points to the meter below. Once the meter is full, the article updates live — no page reload needed.

4/24
  1. Overclocked Pointer
    finally! sick of anthropic locking everything down. MIT license means we can actually host this ourselves without selling our souls
    +4 solidSomeone finally realized that 'open source' shouldn't be a synonym for 'corporate hostage situation'