Kimi Delegate

•

Enables Claude Code to delegate bounded coding tasks to Kimi K2.7-code, leveraging Moonshot prefix caching for efficient and cost-effective development.

Kimi Delegate is an MCP server that integrates Kimi K2.7-code (Moonshot AI) with Claude Code, allowing developers to delegate a range of programming tasks. It offers three distinct modes: 'Propose' for reviewing code before writing, 'Apply' for automatically writing files and returning a diff, and 'Agent' for autonomous code generation, testing, and self-correction within a secure environment. The tool is optimized for Moonshot's prefix caching, significantly reducing costs for iterative tasks. It emphasizes human oversight where critical, especially for committing code or interacting with external systems, and provides robust verification mechanisms to ensure code quality and security, making it a powerful assistant for developers.

Características Principales

01Three distinct delegation modes: Propose (text only), Apply (writes files, returns diff), and Agent (autonomous with self-correction).
02Robust path validation and command refusal mechanisms for secure agentic execution, preventing critical system access.
030 GitHub stars
04Optimized for Moonshot AI prefix caching, significantly reducing token costs for iterative development cycles.
05Detailed cost reporting for tokens in/out, cache hits, and estimated expenses for full transparency.
06Context-aware session resumption for agentic tasks, allowing human intervention for out-of-reach actions without losing progress.

Casos de Uso

01Automating code application and receiving compact diffs for efficient integration of changes with reduced Claude-side costs.
02Delegating single file generation or modifications with a 'propose' mode for review before any changes are written to disk.
03Empowering an AI agent to autonomously explore, edit, run tests, and self-correct code within a defined project directory.