AI Agent Hub
Back to plugins
🤖

dsh-subagent-model

Model Inference Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install Momojie-S/dsh-subagent-model

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

To install this plugin in DeepSeek Harness, run the command with the full source URL: dsh plugin install https://github.com/Momojie-S/dsh-subagent-model.

About this plugin

The built-in subagent tool in DeepSeek Harness has limited flexibility in model selection and context inheritance, which restricts developers in building dynamic AI workflows. The dsh-subagent-model plugin solves this by registering the subagent_model tool, enabling optional parameters for model routing (provider, model, max_tokens) and context inheritance (fresh_context) on each call. This allows sub-agents to switch models or control context inheritance based on task requirements, enhancing adaptability. Ideal for developers needing fine-grained control over sub-agent behavior—such as in multi-model collaboration, resource optimization, or context-sensitive tasks—this plugin offers improved flexibility and efficiency for complex applications.

Use Cases

  • Dynamically switch the model used by sub-agents in multi-model workflows.
  • Control whether sub-agents inherit parent session context based on task requirements.
  • Optimize sub-agent resource allocation for cost savings and improved efficiency.

Best For

  • Developers building complex AI workflows.
  • Engineers requiring fine-grained control over sub-agent behavior.
  • Advanced users performing model inference with DeepSeek Harness.