dsh-model-router

Serial 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 a model per subtask with a required reason, waits for each result, and falls back to a default model; every route is checked against the Session model-selection policy before a child starts. Needs Plugins → Subagent → Model selection enabled for the routes you want (new sessions only) and each model's provider configured. Uses the same plugin id as other model-router plugins, so install only one of them.

Overview

Serial 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 a model per subtask with a required reason, waits for each result, and falls back to a default model; every route is checked against the Session model-selection policy before a child starts. Needs Plugins → Subagent → Model selection enabled for the routes you want (new sessions only) and each model's provider configured. Uses the same plugin id as other model-router plugins, so install only one of them.

Installation

Install from GitHub

dsh plugin --profile web add github:yunxiao11xie/dsh-model-router

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.