dsh-kernel-kimi
Discovered★ 3Kimi Code written in DSH form: the kimi-cli tool surface re-registered as native DeepSeek Harness tools.
English | 中文
dsh-kernel-kimi
DSH runs on one simple idea: everything is a plugin. Models, tools, subagents — plug them together however you like.
So we did exactly that: we turned Kimi Code into a DSH plugin. The Kimi Code CLI 0.39.1 tool surface you already know — Read, Write, Edit, Glob, Grep, Bash, ReadMediaFile, WebSearch, FetchURL, TaskList, TaskOutput, TaskStop, WaitFor, TodoList, AskUserQuestion, Skill, Agent, AgentSwarm, CreateGoal, GetGoal, SetGoalBudget, UpdateGoal, CronCreate, CronList, CronDelete, ExitPlanMode, EnterPlanMode — is now a set of native DSH tools. Same names, same schemas, same behavior.
The payoff is simple: use the kimi CLI natively inside DSH — no different from opening Kimi Code itself. Every model stays in the environment it knows best — main agent or subagent, it feels like coming home.
WebSearch / FetchURL talk to the same Moonshot endpoints the Kimi CLI uses (api.kimi.com/coding/v1/search and /fetch) with the shared OAuth token. Distilled from Kimi Code CLI 0.39.1 (@moonshot-ai/kimi-code).
We differentially verified against the real kimi CLI: the same task on the same directory produces identical results, item by item.
System prompt & subagents
lib/system-prompt.js carries the upstream Kimi Code CLI system.md (runtime
placeholders adapted to DSH); apply() registers it as the agent's sole
system-prompt section (complete: true + suppressRuntimeContext()).
lib/subagents.js ships the kernel's own subagent recipes — kimi-agent
(coder), kimi-explore, kimi-plan — each = the full system prompt with the
upstream roleAdditional block inserted. The mesh loads them and mounts this
plugin on each child with a config.tools whitelist.
Install
-
Install the plugin into your profile with the official plugin command:
dsh plugin --profile web add dsh-kernel-kimiGitHub also works (
dsh plugin --profile web add github:oppnc/dsh-kernel-kimi) becauselib/ships in the repository.This package is a plain plugin (no
dsh.bundledeclaration), sodsh plugininstalls it as an inactive dependency — that is expected: the preset row below references it by name. -
The
kimi-kernelagent preset ships indsh-kernel-mesh'spresets/directory. Copy it into the official user-preset root (or, if you run without the mesh, get the preset directory from the mesh repo):dsh_home="${DSH_HOME:-$HOME/.dsh}" cp -r "$dsh_home/profiles/web/node_modules/dsh-kernel-mesh/presets/kimi-kernel" "$dsh_home/.agent-presets/"The preset already includes the
kimi-surfacerow inside the planning group (so the plan tools can reachplanMode); if you author your own preset, add it there:- id: kimi-surface name: dsh-kernel-kimi
Usage
Start a session on the kimi-kernel preset and pick the model kimi-kernel/k3-256k. Your main agent runs on the Kimi kernel with the full kimi tool surface.
License
MIT — see LICENSE.
Comments
Loading…
Similar plugins
by myk5010
Kimi (Kimi Code account) integration bundle for DeepSeek Harness: provider route, models, device-code login and auto token refresh
★ 0
MIT
JavaScript
Sep 2, 2026
dsh plugin --profile web add dsh-kimi-providerby quei4r
Zero-config Kimi Coding web search provider for DeepSeek Harness: reuses the local kimi-coding credential, install and web_search just works.
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-host-kimi-searchby BaronCyrus
Use a Kimi Code subscription in DeepSeek Harness with OAuth, quota display, and composer usage
★ 4
↓ 175/wk
MIT
JavaScript
Sep 15, 2026
dsh plugin --profile web add dsh-kimi-subscriptionby kenny2077
Kimi Coding web search and web fetch providers for the DeepSeek Harness — one coding-plan key fills both ctx.web seams (POST /v1/search and /v1/fetch), a settings card in the GUI stores it via the cre
★ 0
↓ 69/wk
MIT
TypeScript
Aug 31, 2026
dsh plugin --profile web add dsh-web-kimiRegisters Kimi, Grok, Codex, and MiniMax as DeepSeek Harness model routes, vendor subagent recipes, and kernel_status / kernel_run / kernel_switch tools.
★ 0
↓ 85/wk
dsh plugin --profile web add dsh-kernel-meshby MicroHEROX
Kimi WebBridge for DeepSeek Harness — a third-party dsh plugin bundle that turns the local Kimi WebBridge daemon into 15 native kimi_webbridge_* browser tools (navigate, click, fill, snapshot, screens
★ 3
↓ 51/wk
MIT
JavaScript
Aug 21, 2026
dsh plugin --profile web add dsh-kimi-webbridge