kimi-code

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

168 articles 4.6k View on GitHub ↗
168 articles
How to Migrate from the Legacy Node-SDK to the New Klient SDK Architecture

Migrate from the legacy Node-SDK to the new Klient SDK architecture. Learn to replace RPC calls, initialize transport-agnostic, and adopt the v2 engine bootstrap pattern for seamless integration.

migration-guide
Aug 16, 2026
How Kimi Code's Wire Vocabulary System Handles Model Definitions and Cross‑Reducers

Discover how Kimi Code's wire vocabulary system uses defineModel and defineReducer for type-safe state containers and automatic updates. Learn about its dependency graph and cycle detection.

internals
Aug 16, 2026
How Kimi-Code's Swarm Feature Enables Parallel Subagent Execution

Discover how Kimi-Code's swarm feature enables parallel subagent execution with its metadata-driven coordination and concurrent task dispatching for efficient workflows.

deep-dive
Aug 16, 2026
How to Debug Session Issues Using the Kimi Code Server Debug Endpoints

Debug Kimi Code session issues effectively using kap-server debug endpoints. Inspect registries, invoke methods, and capture business state for faster problem resolution.

how-to-guide
Aug 16, 2026
How Kosong's Provider Abstraction Layer Handles Multiple LLM Providers in Kimi Code

Discover how Kosong's provider abstraction layer unifies multiple LLM backends via a single ChatProvider interface and provider-specific adapters, simplifying integration within Kimi Code.

internals
Aug 16, 2026
Tree-Sitter-Bash Parser API: How to Use the MoonshotAI Parser Safely

Explore the Tree Sitter Bash parser API from MoonshotAI. Learn how to safely parse Bash code in TypeScript with the @moonshot-ai/tree-sitter-bash package. Discover best practices for secure usage.

how-to-guide
Aug 16, 2026
How the MCP OAuth Flow Works for Authenticating External Servers in Kimi Code

Understand the MCP OAuth flow in Kimi Code. Learn how it securely authenticates external servers using temporary localhost servers and persistent disk storage for efficient token management.

deep-dive
Aug 16, 2026
How to Configure the Kimi-Code CLI Using Config Files and Environment Variables

Learn to configure the Kimi-Code CLI easily with config files or environment variables. Customize your settings for seamless integration with MoonshotAI.

how-to-guide
Aug 16, 2026
How the Kimi-Code Telemetry Event System Works: Architecture, Client API, and Naming Conventions

Explore the kimi-code telemetry event system. Learn about its compile-time registry, TypeScript naming conventions, singleton client, and pluggable sinks for efficient event delivery.

internals
Aug 16, 2026
How to Create Custom Features Using the `Feature` Base Class in agent-core-v2

Learn to build custom features in agent-core-v2 by extending the Feature base class. Implement setup() for automatic discovery and management by FeatureManagerService.

how-to-guide
Aug 16, 2026
How MiniDB Handles Snapshot and WAL Persistence in Kimi Code's Embedded JSON Document Store

Discover how MiniDB ensures data durability and fast recovery in Kimi Code's embedded JSON store using WAL and snapshot persistence. Learn about its efficient design.

internals
Aug 16, 2026
Agent-Core v1 vs v2 Architecture in Kimi Code: A Complete Technical Comparison

Compare Kimi Code's agent-core-v1 and agent-core-v2 architectures. Discover agent-core-v2s scoped DI engine and four lifecycle layers for production servers.

deep-dive
Aug 16, 2026
…

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →