← 返回命令列表

Linux command

kimi 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start an interactive session

kimi

Start as ACP server for IDE integration

kimi acp

Add an HTTP MCP server

kimi mcp add --transport http [name] [url]

Add an stdio MCP server

kimi mcp add --transport stdio [name] -- [command] [args]

List configured MCP servers

kimi mcp list

Remove an MCP server

kimi mcp remove [name]

说明

Kimi CLI is Moonshot AI's command-line agent for AI-driven coding and terminal operations. It features a dual-mode interaction design combining traditional shell operations with intelligent agent capabilities, switchable with a single keystroke. The tool supports three UI modes: shell mode for interactive terminal interface, print mode for non-interactive scripting, and ACP mode for editor integration. It can read and edit code, execute shell commands, search and fetch web pages, and autonomously plan and adjust actions during execution. Built on Python 3.13+ with async patterns, Kimi CLI defaults to Moonshot AI's Kimi API but supports any OpenAI-compatible endpoint through the kosong framework. It integrates with MCP servers for extended tool functionality.

FAQ

What is the kimi command used for?

Kimi CLI is Moonshot AI's command-line agent for AI-driven coding and terminal operations. It features a dual-mode interaction design combining traditional shell operations with intelligent agent capabilities, switchable with a single keystroke. The tool supports three UI modes: shell mode for interactive terminal interface, print mode for non-interactive scripting, and ACP mode for editor integration. It can read and edit code, execute shell commands, search and fetch web pages, and autonomously plan and adjust actions during execution. Built on Python 3.13+ with async patterns, Kimi CLI defaults to Moonshot AI's Kimi API but supports any OpenAI-compatible endpoint through the kosong framework. It integrates with MCP servers for extended tool functionality.

How do I run a basic kimi example?

Run `kimi` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more kimi examples?

This page includes 6 examples for kimi, plus related commands for nearby Linux tasks.