AI Agent Hub
Back to plugins
🖥️

dsh-subagent-registry

Client Updated 2026.08.26

Run the following command in DeepSeek Harness:

dsh plugin install fan56/dsh-subagent-registry

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

Run dsh plugin install fan56/dsh-subagent-registry in DeepSeek Harness to install this plugin, available at https://github.com/fan56/dsh-subagent-registry

About this plugin

Keeping a roster of specialist agents in dsh — a rigorous engineer, a nitpicking reviewer, a rubber-duck explainer — naturally leads to a folder of markdown files under ~/.dsh/agents/. But the main conversation has had no way to invoke them by name, and long-running tasks carry a painful risk: an API timeout or a crashed process means the next dispatch starts from zero, discarding every step already completed.

dsh-subagent-registry fills that gap. It scans the agents directory, reads each .md file (frontmatter metadata plus a markdown body used verbatim as the subagent persona), and registers them inside the use_agent tool so the parent conversation can dispatch any of them by name — no dsh core patching required. Before every dispatch, the plugin checks whether the same agent has a prior interrupted run; if one is detected, it resumes from the saved partial work instead of restarting. For long background tasks, setting background: true returns the child subagent id immediately while the parent keeps working, and ask_agent closes the loop by sending a follow-up message and waiting for the child reply, giving you full bidirectional parent-child conversation.

It is built for dsh users (0.1.2-rc.1 or later) who manage a team of markdown-defined agents, want long tasks to survive interruptions without losing progress, or need background subagents they can query interactively. Whether summoning a code reviewer before a commit, letting a rubber-duck explain a tricky module step by step, or dispatching a research agent that reports back when done, this plugin wires the whole flow together.

Use Cases

  • Register markdown-defined agent personas as name-dispatchable subagents invocable from the main conversation
  • Auto-resume an interrupted long run from its saved partial work on the next dispatch instead of restarting
  • Dispatch a background research agent, keep working in the parent, then query its progress and wait for a reply via ask_agent

Best For

  • dsh users who maintain a team of markdown-defined agent personas
  • Power users running long tasks who want interruption-safe resume without losing partial work
  • Developers who need background subagents they can query interactively in both directions