Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

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

LanguagePackageStatus
Gogo/Available
Node.jsnode/agent_sdk/Available
Pythonpython/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

关于 About

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

语言 Languages

TypeScript72.2%
Go20.2%
Python4.4%
JavaScript2.5%
CSS0.5%
Makefile0.1%
HTML0.0%
Shell0.0%
Batchfile0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
181
Total Commits
峰值: 68次/周
Less
More

核心贡献者 Contributors