# What Programming Languages Does Kimi CLI Support?

> Discover the programming languages Kimi CLI supports. This versatile tool reads, edits, and generates code in any language with a native Python SDK for integration.

- Repository: [Moonshot AI/kimi-cli](https://github.com/MoonshotAI/kimi-cli)
- Tags: api-reference
- Published: 2026-07-19

---

**Kimi CLI is built with Python 3.12+ but operates as a language-agnostic assistant capable of reading, editing, and generating code in any programming language, while only providing a native Python SDK for programmatic integration.**

The MoonshotAI/kimi-cli repository delivers a powerful command-line interface for AI-assisted development. While understanding what programming languages kimi-cli supports requires distinguishing between its implementation stack and its operational capabilities, this Python-based tool can interact with virtually any codebase regardless of the language used.

## Python-Based Core Implementation

Kimi CLI is fundamentally a **Python application** requiring version 3.12 or higher. According to the [`pyproject.toml`](https://github.com/MoonshotAI/kimi-cli/blob/main/pyproject.toml) file at the repository root, the project specifies `python = ">=3.12"` as its core dependency. The CLI leverages the **Typer** framework for command-line parsing, utilizes **async-io** for concurrent operations, and implements a custom LLM abstraction layer called *kosong*.

The entry point resides in [`src/kimi_cli/cli/__init__.py`](https://github.com/MoonshotAI/kimi-cli/blob/main/src/kimi_cli/cli/__init__.py), which serves as the Typer-based launchpad for the Python runtime. When you execute the `kimi` command, you are invoking a thin wrapper around this Python module, typically managed through `uv run kimi`. The main application logic initializes in [`src/kimi_cli/app.py`](https://github.com/MoonshotAI/kimi-cli/blob/main/src/kimi_cli/app.py), where the runtime configuration loads and the primary `KimiCLI` object instantiates.

## Language-Agnostic Development Support

Despite its Python implementation, Kimi CLI is **language-agnostic for the code it helps you write**. The agent can read, analyze, edit, and generate source files in any programming language.

Supported languages for assistance include:

- **JavaScript** and **TypeScript** for web development
- **Go** and **Rust** for systems programming
- **Java**, **C++**, and **C#** for enterprise applications
- **Ruby**, **PHP**, and **Python** for scripting tasks

The tool can also execute external scripts and launch tools written in these languages, making it suitable for polyglot development environments.

## SDK Availability and Language Constraints

While the CLI itself accepts natural language commands in any context, programmatic integration is currently limited to **Python**. The repository includes an official Python SDK located at [`sdks/kimi-sdk/src/kimi_sdk/__init__.py`](https://github.com/MoonshotAI/kimi-cli/blob/main/sdks/kimi-sdk/src/kimi_sdk/__init__.py), which allows developers to embed Kimi functionality directly into Python applications.

As of the current repository state, no native SDKs exist for other programming languages like JavaScript, Go, or Rust. Developers working in other ecosystems must use shell invocation or subprocess calls to interact with the CLI rather than importing a native library.

## Practical Usage Examples

The following examples demonstrate how to interact with different languages using the CLI.

Executing a Python script:

```bash

# Create a Python file

echo 'print("Hello from Python")' > hello.py

# Ask Kimi to run it

kimi "run python hello.py"

```

Generating JavaScript code:

```bash
kimi "write a function in JavaScript that sums an array of numbers"

```

Accessing CLI help to confirm Python implementation:

```bash
kimi --help

```

## Summary

- **Kimi CLI is implemented in Python 3.12+**, using Typer and async-io as specified in [`pyproject.toml`](https://github.com/MoonshotAI/kimi-cli/blob/main/pyproject.toml) and [`src/kimi_cli/cli/__init__.py`](https://github.com/MoonshotAI/kimi-cli/blob/main/src/kimi_cli/cli/__init__.py).
- The tool is **language-agnostic** for code assistance, supporting JavaScript, TypeScript, Go, Rust, and any other programming language for reading and generation tasks.
- Only a **Python SDK** is available for programmatic use, located in [`sdks/kimi-sdk/src/kimi_sdk/__init__.py`](https://github.com/MoonshotAI/kimi-cli/blob/main/sdks/kimi-sdk/src/kimi_sdk/__init__.py).
- External tools and scripts in any language can be launched through the CLI interface.

## Frequently Asked Questions

### Is Kimi CLI itself written in Python?

Yes, Kimi CLI is a Python 3.12+ application built on the Typer framework. The entry point at [`src/kimi_cli/cli/__init__.py`](https://github.com/MoonshotAI/kimi-cli/blob/main/src/kimi_cli/cli/__init__.py) launches the Python-based runtime, and [`src/kimi_cli/app.py`](https://github.com/MoonshotAI/kimi-cli/blob/main/src/kimi_cli/app.py) handles the main application initialization and configuration loading.

### Can Kimi CLI help me write code in languages other than Python?

Absolutely. While the CLI is implemented in Python, it is language-agnostic for code assistance. It can read, edit, and generate code in any programming language including JavaScript, TypeScript, Go, Rust, Java, and C++, and can execute external scripts written in these languages.

### Does Kimi CLI offer SDKs for languages other than Python?

No, the repository currently only provides a Python SDK located in `sdks/kimi-sdk/`. Developers using other languages must invoke the CLI through shell commands or subprocess calls rather than using a native SDK integration.

### What Python version is required to run Kimi CLI?

Kimi CLI requires **Python 3.12 or higher**, as specified in the root [`pyproject.toml`](https://github.com/MoonshotAI/kimi-cli/blob/main/pyproject.toml) file. The project uses modern Python features including async-io patterns and the Typer framework for CLI construction.