Introduction¶
In DeepSeek Harness (DSH), when connecting multiple models or agents, a common approach is to manually write routing logic based on experience or make ad-hoc decisions within each conversation. Tasks have varying requirements for capabilities, budgets, and context windows. Pure manual methods are slow and not conducive to reuse. The community plugin dsh-plugin-agent-router (maintained by thegabopacheco-sudo, category: Model Inference) provides local rules and explanations within Harness to recommend a model or agent based on task characteristics. It is an independent community entry in the DSH “everything is a plugin” ecosystem and has no official app store affiliation with DeepSeek / Huansuan.
What is it¶
dsh-plugin-agent-router is an MCP-type plugin for DSH (current package version 0.1.0, MIT license). Official description: Recommends applicable models/agents by combining task requirements (advantages, budget, context) with local rules and explanations. Runtime environment requires Node.js >= 20; the plugin entry point is the packaged dist/server.mjs.
Core Features¶
The tools listed in the README correspond to one capability each:
| Tool | Function |
|---|---|
status |
View plugin/router related status |
policies |
Manage or view local rules (policies) |
route |
Recommend a model based on current strategy and task information |
In addition to the table, the documentation does not expand on the parameters and return fields of each tool; refer to the tool descriptions inside Harness and the repository documentation when using them.
Installation and Activation¶
Installation has two methods, and the command must be consistent with the repository README.
- GUI path: Open DSH → Settings → Plugins, install
github:thegabopacheco-sudo/dsh-plugin-agent-router, and follow the prompts to allow script execution. - CLI: Add the plugin under a specific profile:
dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-agent-router
After installation, the postinstall script will execute; the plugin integrates with the DSH bundle via cordis.patch.yml. Newly added plugins run with the current DSH process permissions. It is recommended to browse the GitHub source code and LICENSE before installation to ensure consistency with team security policies.
Typical Usage¶
The documentation does not provide a reproducible example of a route call. After enabling the plugin and loading the MCP service in DSH, you can proceed as needed:
- Use
statusto confirm the plugin is available; - Use
policiesto view or maintain local routing rules; - Call
routeto get a recommended model or agent and explanation, provided the task and constraints are clearly described.
Specific input parameters are based on the tool schema exposed by Harness.
Security and Auditing¶
The security agreements in the README are as follows:
- Default read-only; write operations require
confirm:trueand explicit user request. - Environment variable
DSH_AGENT_ROUTER_MODE=read-onlycan disable write actions. - Whitelists and audit logs are located at
<DSH_HOME>\cache\agent-router\audit.jsonl.
If the environment is sensitive to model routing policies, it is recommended to verify the output of policies and route in read-only mode before deciding whether to enable write operations.
Use Cases and Notes¶
Suitable for: Developers or teams who need to standardize “which model/agent to use” within a DSH workflow and wish to harden decisions using local rules and textual explanations.
Note: Stars and community visibility do not imply maturity; version 0.1.0 features are limited to the three tools listed in the README. Do not assume configuration items or integrations not appearing in the documentation. The plugin category on SkillHub is “Model Inference”.
Links¶
- Community Directory: thegabopacheco-sudo/dsh-plugin-agent-router
- Source Code and Documentation: GitHub — thegabopacheco-sudo/dsh-plugin-agent-router