RepoMoonshot AI (Kimi)Moonshot AI (Kimi)published Feb 6, 2026seen 5d

MoonshotAI/kimi-agent-rs

Rust

Open original ↗

Captured source

source ↗
published Feb 6, 2026seen 5dcaptured 14hhttp 200method plain

MoonshotAI/kimi-agent-rs

Description: Kimi Agent (Rust), the Kimi Code CLI Wire mode-compatible agent server.

Language: Rust

License: Apache-2.0

Stars: 63

Forks: 13

Open issues: 5

Created: 2026-02-06T13:28:20Z

Pushed: 2026-02-06T15:15:57Z

Default branch: main

Fork: no

Archived: no

README:

Kimi Agent (Rust)

Rust implementation of Kimi Code CLI. Wire-only JSON-RPC agent server over stdio.

Build & Run

cargo build -p kimi-agent
./target/debug/kimi-agent

Test

cargo test # all
cargo test -p kimi-agent # agent
cargo test -p kosong # LLM abstraction
cargo test -p kaos # OS abstraction

Workspace

| Crate | Purpose | |-------|---------| | kimi-agent | Main binary — wire server, tools, agent loop, MCP | | kosong | LLM abstraction — messages, tool schemas, providers | | kaos | OS abstraction — LocalKaos, path semantics |

Relationship to Python

This repo is a Rust rewrite of the Python kimi-cli runtime. The two must stay compatible on wire protocol, message formats, ~/.kimi data layout, tool schemas, and all other externally observable behavior. Python is the source of truth.

The Python repo is pinned as a git submodule at kimi-cli/:

git submodule update --init

Version numbers must always match kimi-cli exactly.

License

Apache-2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE).

Notability

notability 5.0/10

New repo from notable lab with moderate traction