Kimi Partner

Kimi Partner

Enables Codex to delegate scoped frontend implementation tasks to Kimi, while Codex retains task planning, review, and acceptance.

Category
访问服务器

README

<div align="center"> <img src="assets/logo/kimi-partner-logo-256.png" width="144" alt="Kimi Partner logo"> <h1>Kimi Partner</h1> <p><strong>Bring Kimi's frontend taste into your Codex workflow.</strong></p> <p> Let Kimi handle a scoped frontend implementation while Codex keeps task planning, change boundaries, code review, and final acceptance. </p> <p> <a href="README.zh-CN.md">简体中文</a> · <a href="https://github.com/jevonhou/kimi-partner/releases">Releases</a> · <a href="SECURITY.md">Security</a> </p> </div>

Designer-led workflow

Designer → Codex → Kimi → Codex → Designer

The designer defines the goal, visual system, and acceptance criteria. Codex constrains the writable scope and starts the task. Kimi implements the frontend. Codex reviews the Git diff, runs tests, and completes browser acceptance. The designer still makes the final visual judgment.

Kimi Partner real workflow: designer brief, scoped Kimi implementation, and Codex verification

This 30-second demo comes from a real public-example task: Kimi changed exactly two approved files, left Git HEAD unchanged, and produced zero out-of-scope changes. Codex then ran 42 tests and verified the result at 1440×900 and 390×844. See the public evidence record.

Kimi Partner provides application-level guardrails, not an operating-system sandbox. Always inspect the actual diff and verify the result independently.

Why Kimi Partner?

Many developers value Kimi's visual judgment and polished frontend output—especially its handling of layout, spacing, hierarchy, color, component details, and overall style. Real projects still need clear task decomposition, controlled file scope, traceable changes, and dependable acceptance.

Kimi Partner connects those needs. From inside Codex, you can explicitly hand a frontend task to Kimi and use its strengths in interface implementation and visual taste. Codex remains responsible for understanding the project, constraining writable files, reviewing the Git diff, running tests, and completing browser acceptance. You get both models' strengths in one real project without replacing your primary workflow.

flowchart LR
    U["User explicitly chooses Kimi"] --> C["Codex scopes the task"]
    C --> K["Kimi implements"]
    K --> R["Git-aware change receipt"]
    R --> V["Codex reviews and verifies"]
    V -->|"evidence-backed feedback"| K

Kimi is an implementation partner here—not an automatic router and not the final reviewer.

What it does

  • Opt-in delegation — Kimi is used only when the user explicitly asks for it or approves it for the current task.
  • Persistent async tasks — start a task, long-wait efficiently, and recover results across Codex task restarts.
  • Same-session review loop — return Codex's evidence-backed feedback to the captured Kimi session.
  • Model continuity — pin the model alias for every attempt; K3 sessions keep preserved thinking history.
  • Bounded execution — allowed paths, dependency-install controls, external-path checks, blocked Node inline/stdin execution, dangerous Git-command checks, and a hard per-attempt timeout.
  • Git reconciliation — changing HEAD or a file outside the allowed scope marks the task as failed.
  • Codex-owned acceptance — Kimi's summary is evidence, not proof; Codex still inspects the diff and runs the relevant tests and browser checks.

Tools

Tool Purpose
start_kimi_task Start an explicitly approved, scoped Kimi coding task.
get_kimi_task Read progress or wait briefly for state changes.
wait_kimi_task Wait up to five minutes for a terminal result, ignoring intermediate phases.
continue_kimi_task Resume the same Kimi session with Codex review feedback.
cancel_kimi_task Stop a verified active worker when the user asks.

Efficient waiting protocol

Use get_kimi_task for a quick snapshot or a backward-compatible wait of up to 30 seconds. For normal active work, use wait_kimi_task: it ignores intermediate phase updates and returns only when the task finishes or the wait expires. It defaults to 300 seconds. Real Codex-host probes completed both 120-second and 300-second MCP calls without a 60-second cutoff.

While a task is active, both read tools return only taskId, status, phase, updatedAt, terminal/detail flags, and a 60-second fallback polling suggestion. Once the task is terminal, the response expands to the complete task, attempts, summary/error, and Git change receipt. This keeps repeated status reads inexpensive without weakening final review evidence.

Requirements

  • macOS (the current process-group behavior is verified on macOS)
  • Node.js 22 or newer
  • Kimi Code CLI installed and signed in
  • A Codex build with codex plugin support
  • A target project inside a Git working tree

Install

Recommended: ask Codex

Paste this into Codex:

Install the Kimi Partner plugin from https://github.com/jevonhou/kimi-partner. Clone it to ~/plugins/kimi-partner, run its verification, register it in my personal Codex marketplace, install it, and confirm that its Skill and five MCP tools load.

This lets Codex inspect the repository shape, build the bundle, update the personal marketplace safely, and verify the installed copy.

Manual installation

git clone https://github.com/jevonhou/kimi-partner.git ~/plugins/kimi-partner
cd ~/plugins/kimi-partner
npm ci
npm run verify

Add this entry to the plugins array in ~/.agents/plugins/marketplace.json (preserve any existing entries):

{
  "name": "kimi-partner",
  "source": {
    "source": "local",
    "path": "./plugins/kimi-partner"
  },
  "policy": {
    "installation": "AVAILABLE",
    "authentication": "ON_INSTALL"
  },
  "category": "Productivity"
}

Then install it from the marketplace name declared at the top of that file (normally personal):

codex plugin add kimi-partner@personal

Start a new Codex task afterward so the new Skill and MCP tools are loaded.

Try it

Ask Codex:

Let Kimi implement the button interaction states in this project, but only allow changes to src/components/Button.tsx and src/styles/button.css. Then review the diff and verify it yourself.

Codex should prepare the task, call Kimi Partner, wait for the result, inspect the Git receipt, and run its own acceptance checks.

Safety model

Kimi Partner layers several controls:

  1. Input paths are normalized against the real Git root, including symbolic-link escape checks.
  2. The current model alias is captured and pinned across continuations.
  3. K3 attempts set KIMI_MODEL_THINKING_KEEP=all.
  4. Streamed tool calls are checked for out-of-scope writes, external absolute paths, unapproved dependency installs, and dangerous Git commands.
  5. Every attempt has a hard runtime limit (30 minutes by default; configurable from 1–120 minutes).
  6. Git state is reconciled after every attempt. Out-of-scope changes or a changed HEAD fail the task.

The streamed tool-call monitor is an application-level guardrail, not an operating-system sandbox. Codex must still inspect the final receipt and independently verify the work. See SECURITY.md for the full trust model.

Development

npm ci
npm run verify

The runtime is bundled into dist/mcp-server.mjs; an installed plugin does not need its own node_modules at runtime.

Project status

Kimi Partner is early-stage software. Version 0.1.x is intended for local experimentation and careful review. macOS is the verified platform; Windows and Linux process-group semantics are not yet claimed.

Unofficial project disclaimer

Kimi Partner is an independent community project. It is not affiliated with, endorsed by, or sponsored by OpenAI, Moonshot AI, or Kimi. Product names and trademarks belong to their respective owners.

License

MIT © 2026 Jevon Hou

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选