TypeScript Apache-2.0

kimi-agent-sdk

Kimi Agent SDK provides a programmatic interface to interact with the Kimi CLI

M

MoonshotAI

Dernière activité 29 mai 2026
MoonshotAI/kimi-agent-sdk

576

étoiles

88

forks

99

issues ouvertes

Ce README est souvent en anglais.

Kimi Agent SDK

Go SDK Version Node SDK Version Python SDK Version

License

Kimi Agent SDK is a set of multi-language libraries that expose the Kimi Code (Kimi CLI) agent runtime in your applications. Use it to build products, automations, and custom tooling while keeping the CLI as the execution engine.

The SDKs are thin, language-native clients that reuse the same Kimi CLI configuration, tools, skills, and MCP servers. They stream responses in real time, surface approvals and tool calls, and let you orchestrate sessions programmatically.

Overview

Kimi Agent SDK provides a programmatic interface to interact with the Kimi CLI, enabling you to:

  • Build custom applications - Integrate Kimi Agent into your own tools and workflows
  • Automate tasks - Script complex multi-turn conversations
  • Extend capabilities - Register custom tools that the model can call
  • Handle approvals - Programmatically respond to permission requests

Available SDKs

Language Package Status
Go go/ Available
Node.js node/agent_sdk/ Available
Python python/ Available

Quick Start

Installation

# Go
go get github.com/MoonshotAI/kimi-agent-sdk/go

Go quick start: guides/go/quickstart.md

# Node.js
npm install @moonshot-ai/kimi-agent-sdk

Node.js quick start: node/agent_sdk/README.md#quick-start

# Python
pip install kimi-agent-sdk

Python quick start: guides/python/quickstart.md

Examples

Projets similaires

Kimi Code CLI — The Starting Point for Next-Gen Agents

TypeScript
MMoonshotAI
7,7 k étoiles1,3 k

An open-source AI agent that brings the power of Gemini directly into your terminal.

TypeScriptaiai-agentscli
Ggoogle-gemini
107,2 k étoiles14,7 k

AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI

TypeScript
Eearendil-works
110,2 k étoiles14 k