dsh-subagent-registry
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
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.