Back to home@oppnc

dsh-kernel-mesh

Harness-kernel mesh for DeepSeek Harness: kimi/grok/codex/minimax model routes (L1), distilled subagent recipes (L2) and kernel_run/kernel_status/kernel_switch tools.

Stars
0
Language
JavaScript
Created
Aug 13, 2026
Updated
Aug 17, 2026
GitHub repo

Introduction

English | 中文

dsh-kernel-mesh

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 four coding harnesses — Kimi Code, Grok Build, OpenAI Codex, and MiniMax Mini-Agent — into DSH plugins, bundled in this one package.

The payoff is simple: switch to a Kimi / Grok / Codex / MiniMax model inside DSH, and it's no different from opening each one's own CLI. Every model stays in the environment it knows best — main agent or subagent, it feels like coming home.

What's inside

  • L1 kernel routeskimi-kernel / grok-kernel / codex-kernel / minimax-kernel, registered as DSH model routes your main agent can switch to.
  • L2 subagent recipeskimi-agent / kimi-explore / kimi-plan, grok-agent / grok-explore, codex-agent / codex-explore, minimax-agent.
  • Three kernel toolskernel_status, kernel_run, kernel_switch.
  • Vendor search tools, offered only when opted inkimi_search / kimi_fetch appear only if dsh-kernel-kimi is installed and a Moonshot credential exists; grok_search / grok_fetch appear only if dsh-kernel-grok is installed and a Grok OAuth credential exists. They stay separate tools (different corpora). Official web_search is DeepSeek's own search and is not a wrapper.

Kernel matrix

KernelWireEndpoint
kimi-kernelAnthropic Messageshttps://api.kimi.com/coding/v1/messages (kimi-cli 1.49.0: max_tokens clamped to remaining context; catalog includes k3)
grok-kernelResponses (proxy)https://cli-chat-proxy.grok.com/v1/responses
codex-kernelResponses (custom)your codex base_url + /responses
minimax-kernelAnthropic Messages (CN)https://api.minimaxi.com/anthropic/v1/messages

Install

Copy this directory into your profile's node_modules and register it as a bundle:

cp -r dsh-kernel-mesh ~/.dsh/profiles/node_modules/dsh-kernel-mesh

Then add "dsh-kernel-mesh" to dsh.profile.bundles in ~/.dsh/profiles/web/package.json and restart:

dsh web

Once pnpm works in your environment, you can install straight from GitHub:

dsh plugin --profile web add github:oppnc/dsh-kernel-mesh

Usage

kernel_status                          # which kernels, L2 types, transports are registered
kernel_run(kernel, type, task)         # fan a task out to a foreign kernel
kernel_switch('kimi')                  # set the default model route for future sessions
Kerneltype values
kimicoder, explore, plan
grokgeneral, explore
codexgeneral, explore
minimaxgeneral

Screenshots

The whole family on GitHub — every README has a one-tap language switch:

dsh-kernel-mesh README (EN)dsh-kernel-mesh README (中文)dsh-kernel-kimi README
dsh-kernel-grok READMEdsh-kernel-codex READMEdsh-kernel-minimax README

Full-size images live in docs/screenshots/.

License

MIT — see LICENSE.