AI Agent Hub
Back to plugins
⚙️

dsh-routed-subagent

Workflow Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install leonardoxr/dsh-routed-subagent

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install leonardoxr/dsh-routed-subagent in DeepSeek Harness to install the plugin; the source is available at https://github.com/leonardoxr/dsh-routed-subagent

About this plugin

In multi-model workflows, subagent delegation often suffers from a lack of precision: you cannot dictate which model handles a given child task or cap how much reasoning effort it expends. dsh-routed-subagent fills that gap by introducing allowlisted model-and-reasoning routing to DeepSeek Harness, requiring every delegation call to select a preconfigured model policy and an exact effort level, so arbitrary provider or model passthrough is never accepted.

Under the hood, the plugin validates the model and effort pair against local policy and ctx.llm.resolveCallConfig() before any child is spawned. It exposes fine-grained controls such as maximum delegation depth, a per-policy list of models children may further delegate to, output-token caps, and foreground or background execution toggles. All of these are editable through the built-in Settings card; saving hot-remounts the tool and automatically revokes recursive authority held by children from the previous settings generation. Every invocation result echoes the effective provider, model, and reasoningEffort for easy auditing.

If you are building multi-model pipelines in DeepSeek Harness and need deterministic routing, enforced reasoning budgets, or auditable delegation rules for a team, this plugin is the control layer you have been missing.

Use Cases

  • Route different child tasks to different models to balance cost and quality
  • Cap recursive delegation depth and available model scope to prevent runaway spawning
  • Audit every delegation call by echoing the resolved model and reasoning effort

Best For

  • Developers building multi-model workflows in DeepSeek Harness
  • Teams needing to constrain subagent delegation scope and reasoning cost
  • Platform engineers requiring auditable, policy-driven model routing