XMoon/dsh-subagent-router

XMoon★ 2TypeScriptLast synced: 2026-08-21

Open on GitHub

Dynamic model routing for DSH subagents, with continuable spawn sessions and one-shot fork support.

README excerpt

@xmoon76/dsh-subagent-router English 中文 A model-facing DSH plugin that starts a subagent on a model-selected LLM provider and model . The model picks the route ( provider / model ); the deployment owns the subagent backend ( subagentProvider , default spawn ), the default scheduling policy ( backgroundMode ), and the route allowlist ( allowedProviders ). Per-call scheduling is overridable with the optional run in background parameter, exactly like the official @deepseek-ai/dsh-tool-subagent tools. Later turns of a continuable child reuse the official send message / list agents / interrupt agent tools from @deepseek-ai/dsh-tool-subagent-control ; background one-shot jobs are collected with the official job output / job kill tools from @deepseek-ai/dsh-tool-jobs . Installation (as a DSH profile bundle) This package ships as a DSH profile bundle : its cordis.patch.yml ( dsh.bundle.patch ) inserts TWO router rows into the profile composition automatically — tool-subagent-router (spawn + continuable, subagent route ) and tool-subagent-router-fork (fork + one-shot, subagent fork route ). Requires a profile whose bundles include @deepseek-ai/dsh-base (every shipped web / headless template…

View full README on GitHub →
Agentsdeepseek-harnessdshdsh-plugindsh-pluginsagent

Category