Preface¶
When doing multi-model development in DeepSeek Harness (DSH), it is common to manually switch providers, models, and reasoning tiers within a conversation. This requires re-selection whenever the task type changes, and a single conversation might mix coding, documentation editing, and translation. The community plugin dsh-decision-router (maintainer xinyang20) separates “understanding the task” from “executing the task”: an independent decision model routes tasks to the execution models you have configured in DSH, with options for local inference or cloud-based decisions upon user confirmation.
The following sections cover the plugin’s positioning, capability boundaries, and installation/configuration steps. The DeepSeek Harness ecosystem emphasizes “everything is a plugin”; the SkillHub directory page is a community site and has no official affiliation with DeepSeek or HF (High-Flyer).
What is this¶
DSH Decision Router is an automatic model selection plugin for DeepSeek Harness: the decision model is responsible for selecting the model and reasoning intensity, while the execution model is responsible for completing the user task. Its tagline is Decision-model-powered routing for DeepSeek Harness, with local inference and opt-in cloud decisions; the code is released under the MIT license, with the current version being v0.1.0. The README states that the verified host version is DSH 0.2.0-rc.2; other DSH versions require self-verification.
Core Features¶
Manual Priority, Per-Turn Decisions¶
The plugin only participates in routing when “Auto Model Selection → Auto” is selected in the native DSH model selector. It makes one decision per user interaction turn, and tool calls within the same turn reuse that result. If the user selects a specific execution model, the next model request will use that model and reasoning tier directly, and the routing mode will not override the manual selection.
2–6 Custom Routes¶
Configure 2–6 routes in “Settings → Auto Model Selection”: each route binds a provider, execution model, and reasoning tier already configured in DSH, along with a usage description and supplementary notes. Routes can be divided by capability or by scenarios (frontend, backend, translation, etc.); the order of the list does not imply strength. A fallback route must be designated for use when the decision times out, the service fails, or confidence is insufficient. Local decision failures do not automatically switch to the cloud, nor do cloud failures switch to other decision services.
Routing Modes¶
| Routing Mode | Behavior after selecting “Auto” |
|---|---|
| Auto Select | Requests the decision model and executes based on the result; uses the fallback route on failure or low confidence |
| Observe Only | Requests and records decision suggestions, but always uses the fallback route in practice |
| Pause Decision | Does not request the decision model; uses the fallback route |
Configuration changes take effect from the next decision round; manually switching to a specific model takes effect from the next model request (including subsequent tool steps in the same turn). The “Auto Model Selection” sidebar provides a read-only overview and recent routing records, which can be turned off in settings; to edit configuration, please enter the settings page.
Decision Methods¶
- Local: Supports Laya Multilingual, d1-3B, and d1-omni-600M; current documentation for the local auxiliary service specifies support for macOS (the d1 install script is for Apple Silicon arm64 only), restricting model subprocesses from initiating network connections via
sandbox-exec. - Cloud (Optional): System One-class APIs can be used after explicit user consent; default endpoint
https://api.typesafe.ai/v1/systemone, default modeljev-latest. The README notes that Jev API calls have not yet been verified with real keys; availability and costs need to be self-verified.
The three local decision models currently handle text routing only on the plugin side (image/audio projectors are not downloaded).
Installation and Activation¶
Before installation, you must have a working DSH setup with execution models and credentials configured. Plugin installation requires Node.js ^22.19.0 || >=24.0.0 and pnpm. The plugin runs with the permissions of the current DSH process; it is recommended to review the GitHub repository source code and license before installing.
To install v0.1.0 from GitHub:
dsh plugin --profile web add github:xinyang20/dsh-decision-router#v0.1.0
The repository contains a pre-built lib/client.js, so running prepare is not required for installation. Alternatively, you can download dsh-decision-router-0.1.0.tgz from Releases and execute the following in your download directory:
dsh plugin --profile web add ./dsh-decision-router-0.1.0.tgz
After installation, open DSH Web; if the plugin entry does not appear, restart DSH and refresh. The installation itself does not download decision models or start local inference services.
First-Time Configuration and Usage¶
- Open “Settings → Auto Model Selection”. Upon first installation, it is set to “Pause Decision”, and execution routes are not yet configured.
- Configure 2–6 routes and a fallback route; select the decision method (Local requires completing the preparation below and keeping the service running; Cloud requires confirming data transmission and filling in the endpoint, model, and key).
- Click “Save Model Configuration”, and set “Routing Mode” to “Auto Select” (or “Observe Only” as needed).
- In the conversation’s native model selector, choose “Auto Model Selection → Auto”, then send your task.
Routing mode and sidebar toggles are saved instantly; model, usage description, fallback route, etc., require clicking “Save Model Configuration”. If there are unsaved changes when closing the settings page, you can choose to continue editing, discard, or save and close.
The configuration is located at $DSH_HOME/plugins/dsh-decision-router/model-tiers.json (i.e., plugins/dsh-decision-router/model-tiers.json under the DSH data directory), containing routes, decision method, fallback, routing mode, sidebar settings, and optional cloud credentials. Routing records are retained within the host process for up to 200 entries and cleared upon restart; confidence reflects the concentration of the candidate probability distribution and is not calibrated with task success rates.
Local Decisions: Preparation and Service¶
The local mode requires separately cloning the same version of the repository on your local machine for preparation and starting the service (this is a separate path from the plugin installation via dsh plugin add mentioned above). Prepare Node.js and pnpm; for Laya, uv is also required.
git clone --branch v0.1.0 --depth 1 https://github.com/xinyang20/dsh-decision-router.git
cd dsh-decision-router
pnpm install --frozen-lockfile
Prepare the model(s) according to the README (choose one or both):
| Model | Preparation Command | Description |
|---|---|---|
| Laya Multilingual | pnpm run laya:setup, then pnpm run laya:download |
Pinned to Laya 0.3.28, uv + Python 3.12, CPU inference |
| d1-3B / d1-omni-600M | pnpm run d1:setup |
llama.cpp b11490 and GGUF; macOS arm64 only |
d1-3B text weights are approximately 1.67 GB (Q4_K_M); d1-omni-600M is approximately 407 MB (Q8_0) and is an experimental option. Dependencies and the first-time model download require an internet connection but do not carry task content; files are placed in .venv, .runtime, and .cache within the project.
Start the service in the repository directory and keep the terminal running:
pnpm run decision:serve
The service listens on 127.0.0.1:39401. Once ready: true appears, select the installed decision model in DSH settings. Only one model process is kept at a time; local HTTP does not follow redirects or environment proxies, and model subprocesses do not inherit API keys or proxy variables. Whether the execution model connects to the internet is still determined by the provider selected in DSH.
Cloud Decisions and Data Scope¶
Cloud mode does not require decision:serve or local weights. When selecting “System One API (Cloud)”, a data transmission prompt will appear; only after confirmation and saving the model configuration with the key will it be used for decisions. The content sent includes the state composed of the task, up to two recent user inputs, and the usage descriptions and supplementary notes of the candidate routes. The key is stored in the local configuration file with 0600 permissions and is unencrypted; execution model credentials are still managed by DSH.
Cloud requests are made only when the native model is “Auto” and the mode is “Auto Select” or “Observe Only”; “Observe Only” still sends data. When in “Pause Decision”, a manual execution model is selected, or the decision method is switched back to local, no further cloud requests are made.
Use Cases and Notes¶
Suitable for developers who have configured multiple execution models in DSH and wish to automatically switch models and reasoning tiers based on tasks. If you only need a fixed single model, this plugin is unnecessary.
Key notes are summarized below:
- The host version is based on 0.2.0-rc.2 verified in the README; re-verification is required after upgrading DSH.
- The documentation for the local decision service is currently geared towards macOS; the isolation methods described are not yet supported on Linux or other systems.
- Cloud decisions involve transmitting task fragments externally; please read the prompts in settings and self-assess the protocol and costs (see System One API documentation).
- Plugin installation does not replace the configuration of execution model provider credentials; the effectiveness of decision routing depends on the quality of usage descriptions and the capability of the decision model. The README does not provide accuracy or cost benchmark data.
Links¶
- Directory Page: https://www.skillhub.cn/plugins/xinyang20/dsh-decision-router
- Repository & Documentation: https://github.com/xinyang20/dsh-decision-router
- Feedback/Issues: https://github.com/xinyang20/dsh-decision-router/issues
If you have already set up multiple execution routes in the Harness and want to hand the “which route to pick” task to a dedicated decision model performed locally or on a controllable cloud, you can install the plugin using the command above and complete the routing and decision method configuration in the settings.