dsh-model-router
Manifest validSerial model orchestration: a delegate tool over a built-in catalog of current Chinese-market models (DeepSeek, GLM, Doubao, Hunyuan, MiniMax, MiMo, Kimi, Qwen, GPT). The main agent splits work, picks
dsh-model-router
A serial model-orchestration layer for the DeepSeek Harness: a delegate tool that lets the main agent split a request into subtasks and hand each one to the model that fits it best, chosen against a built-in catalog of current Chinese-market models.
The main agent keeps the orchestrator role. Each delegate call starts a child agent on the chosen route with a fresh context, waits for its result, and returns it inline — one subtask at a time, serially, so results are reviewed before the next step.
Requirements
- DeepSeek Harness with the Web UI. The package declares a
dsh.bundlemanifest, is Host-only (no browser half), and itsengines.dshis>=0.2.0-rc.1 || >=0.2.1-rc.1 || >=0.2.2-rc.1. - Model selection must be allowed by the Session policy: open Plugins → Subagent → Model selection, enable it, tick the routes you want, then start a new Session (the policy is recorded per new Session). Without a recorded policy, only the parent Session's current route may be used —
delegaterefuses and says exactly that.
Install
dsh plugin add yunxiao11xie/dsh-model-router
Built-in catalog (calibrated 2026-11)
| Model | Provider | Fits |
|---|---|---|
| deepseek-flash (V4.1-Flash) | deepseek-account | frontend, UI, fast iteration, vision |
| deepseek-v4-pro | deepseek-account | hard reasoning, complex analysis |
| glm-5.3 | zai-coding-cn | backend, engineering rigor, review |
| glm-5.3-flash | zai-coding-cn | multimodal, fast frontend work |
| doubao-seed-evolving | volcengine | Chinese writing, agent work (evergreen id) |
| hunyuan-turbos-latest | tencent | Chinese documents, low cost (evergreen id) |
| MiniMax-M3.1-Flash | minimax | long context, batch work |
| mimo-v2.6-pro-ultraspeed | alibaba (Bailian) | high-volume light tasks |
| kimi-k3.1-pro / kimi-k3 | moonshot | long-context research, Chinese writing |
| qwen3.8-max / qwen3.8-flash | alibaba | reasoning, presentations; cheap documents |
| gpt-6-astra / gpt-6.1-sol | openai | general reasoning, English writing |
Entries whose provider is not configured are simply refused with guidance until you add the provider. Override any entry or add your own in the plugin config:
- id: model-router
name: dsh-model-router
config:
defaultModel: deepseek-flash
models:
- id: glm-5.3
provider: zai-coding-cn
strengths: [coding, backend, review]
notes: ...
cost: medium
How the agent uses it
The plugin injects a short system-prompt section listing the catalog and a routing method: split the request, judge what each subtask needs (kind of work, language, rigor, speed), match against strengths, and state the match in the required reason field. Any work type fits — code, documents, slides, translation, research.
Behavior rules:
- Serial: one delegation at a time; the tool waits for the result.
- Auditable: every call records why that model was chosen.
- Lenient fallback: a model id outside the catalog falls back to
defaultModel, and the result says so. - Policy-checked: routes must be allowed by the Session model-selection policy and have a mounted provider; refusals explain what to do.
License
MIT
Comments
Loading…
Similar plugins
by AshenSeeker
DSH plugin: routes each subagent to the best local model — free-first, quota-aware, capability-matched — with a control panel.
★ 2
MIT
JavaScript
Nov 6, 2026
dsh plugin --profile web add @local/subagent-switchby 643048695
Route DSH subagent delegations to configured models with per-role routing for explore, plan and patch subagents, round-robin or random distribution, cross-provider failover, and active-window slicing
★ 1
MIT
JavaScript
Nov 8, 2026
dsh plugin --profile web add dsh-subagent-role-routerby ringoage
The visual, manual subagent-model picker for DeepSeek Harness — predictable per-session routing with global coverage of every in-process subagent path, complementary to auto-routing plugins.
★ 0
MIT
JavaScript
Aug 16, 2026
dsh plugin --profile web add dsh-subagent-model-pickerby wld12314
Picks each subagent model from the local catalog by task category, unless the caller already named one. Free and quota tiers are ranked together by per-model capability tags; a pricier model is used o
★ 2
MIT
JavaScript
Nov 4, 2026
dsh plugin --profile web add @local/subagent-switchby ZhouXuan-Yu
Multi-source model rotation plugin for DeepSeek Harness — group models by source, order them (manual/auto), preset model + reasoning effort, auto-failover when quota runs out, and see which model actually answered.
★ 0
MIT
JavaScript
Oct 31, 2026
dsh plugin --profile web add dsh-model-rotationby gengwg
Deterministic, inspectable delegation-time model routing for DeepSeek Harness (dsh) subagents
★ 1
MIT
JavaScript
Nov 7, 2026
dsh plugin --profile web add dsh-agent-router