|

Moonshot AI Releases Kimi Code CLI: A Terminal AI Coding Agent Built in TypeScript for Next-Gen Agents

Moonshot AI has launched Kimi Code CLI, an open-source coding agent that runs in the terminal. The software reads and edits code, runs shell instructions, searches recordsdata, and fetches net pages. It then chooses its subsequent step primarily based on the suggestions it receives. The undertaking is MIT-licensed and lives on GitHub..

Kimi Code CLI is the successor to the older kimi-cli. The new agent is written in TypeScript and distributed through npm. It works out of the field with Moonshot AI’s Kimi fashions. It will also be configured to make use of different suitable suppliers.

What is Kimi Code CLI

Kimi Code CLI is an AI agent for software program improvement and terminal operations. It can implement new options, repair bugs, and full refactors. It may also discover an unfamiliar codebase and reply structure questions. Batch file processing, builds, and chained check runs are supported too.

The execution mannequin is feedback-driven. The agent plans steps, modifies code, runs checks, and reviews its actions. Read-only operations run mechanically by default. For file edits or shell instructions, the agent asks for affirmation first. This approval move retains dangerous actions below developer management.

The CLI itself is free and MIT-licensed. Model entry requires Kimi Code OAuth or a Moonshot AI Open Platform API key.

https://github.com/MoonshotAI/kimi-code

Key Features

Moonshot lists a number of options geared toward lengthy, targeted agent classes:

  • Single-binary distribution. One command installs it, with no Node.js setup required.
  • Fast startup. Moonshot says the TUI is prepared in milliseconds.
  • Purpose-built TUI. The interface is tuned for prolonged agent classes.
  • Video enter. Drop a display recording or demo clip into the chat.
  • AI-native MCP configuration. Add and authenticate Model Context Protocol servers through /mcp-config.
  • Subagents for parallel work. Dispatch built-in coder, discover, and plan subagents in remoted contexts.
  • Lifecycle hooks. Run native instructions to gate software calls, audit choices, or set off notifications.

Installation and First Run

Two set up paths exist. The official script wants no pre-installed Node.js.

On macOS or Linux, run the set up script:

curl -fsSL https://code.kimi.com/kimi-code/set up.sh | bash

On Windows, use PowerShell:

irm https://code.kimi.com/kimi-code/set up.ps1 | iex

The world npm set up requires Node.js 24.15.0 or later:

npm set up -g @moonshot-ai/kimi-code

Verify the binary, then open a undertaking and begin the interactive UI:

kimi --version
cd your-project
kimi

On first launch, kind /login contained in the UI. You can select Kimi Code OAuth or a Moonshot AI Open Platform API key. To run one instruction with out the UI, use kimi -p "your activity". To resume the earlier session, add -C.

Use Cases

  • Understanding a undertaking: Ask for an structure overview and a module dependency diagram.
  • Implementing a function: Describe the signature, choices, and acceptance standards up entrance.
  • Fixing a bug: Give the symptom, copy steps, and anticipated conduct collectively.
  • Writing checks and refactoring: Extract repeated patterns, then run checks to verify conduct.
  • One-off automation: Analyze logs and output name counts with p50 and p99 latencies.
  • Scheduled duties: Ask the agent to set reminders or recurring checks through cron.

Plan mode is accessible by way of Shift-Tab or kimi --plan. It outputs a analysis plan earlier than touching recordsdata. For protected batch work, --yolo or /yolo skips approval prompts. The /fork command creates an experimental department you possibly can abandon. The /compact command compresses context to unlock tokens. For giant investigations, the principle agent can dispatch subagents in parallel.

How Kimi Code CLI Compares

Kimi Code CLI joins a number of established terminal coding brokers. The desk beneath compares it with three of them. Competitor particulars mirror mid-2026 and might change rapidly.

Attribute Kimi Code CLI Claude Code OpenAI Codex CLI Gemini CLI
Developer Moonshot AI Anthropic OpenAI Google
Backing mannequin Kimi fashions Claude fashions GPT-5.3-Codex Gemini 2.5 Pro
Language / runtime TypeScript Node.js Rust TypeScript
Install Script or npm (Node.js ≥ 24.15.0) Native installer or npm npm / native npm single binary
MCP assist Yes (/mcp-config) Yes Yes Yes
Subagents Yes (coder, discover, plan) Yes Yes No (sequential)
Plan mode Yes (Shift-Tab) Yes Yes Yes
IDE integration ACP (Zed, JetBrains) VS Code, JetBrains VS Code, IDEs VS Code (Code Assist)
License MIT Proprietary Open supply Apache 2.0

All 4 brokers assist the Model Context Protocol. They differ on backing mannequin, language, license, and orchestration. Kimi Code CLI and Codex CLI each ship native subagents. Gemini CLI runs duties sequentially with out subagent assist.

Key Takeaways

  • Kimi Code CLI is an MIT-licensed terminal coding agent from Moonshot AI.
  • It is written in TypeScript and installs through script or npm.
  • Built-in coder, discover, and plan subagents run in remoted contexts.
  • MCP servers are configured conversationally by way of /mcp-config, not uncooked JSON.
  • It succeeds kimi-cli and migrates present configuration and classes.

Marktechpost’s Visual Explainer


Kimi Code CLI · Guide
01 / 09

Overview

Kimi Code CLI

Moonshot AI’s open-source terminal coding agent that reads code, runs instructions, and plans its subsequent step.

  • Runs in your terminal as an AI coding agent
  • MIT-licensed · written in TypeScript · distributed through npm
  • Works with Kimi fashions or different suitable suppliers

Slide 02

What Is Kimi Code CLI?

  • Reads and edits code, runs shell instructions, searches recordsdata
  • Fetches net pages and chooses the subsequent step from suggestions
  • Read-only actions run mechanically by default
  • File edits and shell instructions ask for affirmation first

Slide 03

Key Features

  • Single-binary distribution — no Node.js setup required
  • Built-in coder, discover, and plan subagents
  • AI-native MCP configuration through /mcp-config
  • Lifecycle hooks and video enter assist

Slide 04

Install

macOS / Linux
curl -fsSL https://code.kimi.com/kimi-code/set up.sh | bash
Windows (PowerShell)
irm https://code.kimi.com/kimi-code/set up.ps1 | iex
npm (Node.js 24.15.0+)
npm set up -g @moonshot-ai/kimi-code

Slide 05

First Run

kimi --version
cd your-project
kimi
  • Type /login → Kimi Code OAuth or Moonshot API key
  • kimi -p "your activity" runs one instruction with out the UI
  • kimi -C resumes the earlier session

Slide 06

Use Cases

  • Understand a undertaking: structure overview and dependency map
  • Implement options with clear signatures and acceptance standards
  • Fix bugs from symptom, copy steps, and anticipated conduct
  • Write checks, refactor, and automate log evaluation or batch edits

Slide 07

Modes & Commands

  • Plan mode: Shift-Tab or kimi --plan
  • --yolo or /yolo skips approvals for protected batch work
  • /fork creates an experimental department you possibly can abandon
  • /compact compresses context to unlock tokens

Slide 08

How It Compares

Attribute Kimi Code CLI Claude Code Codex CLI Gemini CLI
Model Kimi fashions Claude fashions GPT-5.3-Codex Gemini 2.5 Pro
Language TypeScript Node.js Rust TypeScript
Subagents Yes Yes Yes No
License MIT Proprietary Open supply Apache 2.0

Slide 09

Key Takeaways

  • MIT-licensed terminal coding agent from Moonshot AI
  • Written in TypeScript; installs through script or npm
  • coder, discover, plan subagents in remoted contexts
  • MCP configured conversationally, not uncooked JSON
  • Succeeds kimi-cli; migrates config and classes

Marktechpost
Practitioner-first AI & ML information for engineers and information scientists · marktechpost.com


Check out the GitHub Repo hereAlso, be happy to observe us on Twitter and don’t neglect to affix our 150k+ ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to associate with us for selling your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar and so on.? Connect with us

The publish Moonshot AI Releases Kimi Code CLI: A Terminal AI Coding Agent Built in TypeScript for Next-Gen Agents appeared first on MarkTechPost.

Similar Posts