Maintains reusable named subagent profiles for DeepSeek Harness and runs them with per-profile model, reasoning effort, and agent-preset settings.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:xiagaogaozi/dsh-subagent-pool
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
DeepSeek Harness 的命名子代理池插件:在设置页「子代理」维护一批可复用的子代理(每个 = 名字 + 描述 + 模型 + 推理等级 + 预设),主代理在对话中按描述判断"什么时候用谁",用 subagent_run(name, task) 按名字调用——模型/推理等级/预设自动套用,调用即干活返回结果。
安装
dsh plugin --profile web add "file:local-plugins/<path>/<tarball>.tgz"
(或按部署习惯的本地 tarball 流程安装;插件含 host 与 client 两部分,装完重启 dsh。)
使用
- 设置 → 子代理 → 添加(名字/描述/模型/推理等级/预设)→ 保存
- 主代理的系统提示里会出现子代理目录(
{{subagent_pool}}变量) - 需要时调用:
subagent_run(name="林晚", task="……")
配置项语义
| 字段 | 说明 |
|---|---|
| 名称 | 唯一模板名,subagent_run 按它查找 |
| 描述 | 发给主代理:什么时候才调用(调度契约) |
| 模型 | 子代理模型覆盖(provider/model),空 = 跟随主代理 |
| 推理等级 | off / high / max,空 = 跟随模型默认 |
| 预设 | 子代理挂载的 agent preset,空 = 继承主代理 |
技术要点
- 设置页走同源 HTTP 路由(
/plugins/dsh-subagent-pool/profiles)——harness.handle私有桥只在动态插件 VM 可用,普通安装包不可用 - 预设挂载 =
recompose+agent-preset/selected会话事件(两步缺一不可,否则恢复时回退继承预设) - 推理等级 = 子代理 ctx 上的
agent/requestwaterfall(与 DSH 官方installModelSelection同款) - 调用形态:一次性(每次新会话,干完即弃)
- UI 全部使用官方
dsh-client-ui-primitives组件与图标 +--dsw-*token
License
MIT
Links
More in this category
loopx-project/loopx#dsh-loopx-plugin★ 6797
LoopX, a provider-neutral, local-first state kernel and control plane for long-horizon agents: keeps Goal, Todo, gate, evidence, quota, recovery, and handoff state above DeepSeek Harness, while the plugin bootstraps the CLI and skills, admits bounded same-session continuation, and adds a loopback GoalBar for the exact bound loop. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Q00/ouroboros#integrations/dsh-plugin★ 6408
Config-only bundle that mounts Ouroboros through the DSH MCP client, exposing 36 interview, Seed, execution, evaluation, and evolution workflow tools in DSH.
chuspeeism/dashi-taskboard#deepseek-harness★ 3576
Embeds the active installed Codex Taskboard runtime in the DeepSeek Harness sidebar, using its launcher runtime descriptor instead of a fixed port.
NanmiCoder/dsh-agent-teams★ 3196
AgentTeams multi-agent teams.
EthanYoQ/AI-Novel-Writer#dsh-ai-novel-writer★ 3052
Installs a dedicated AI novel-writing preset and workbench: revisioned local project assets, a compact side drawer, and native approval-gated single-file changes.
shanliuling/dsh-image-gen★ 1974
Native conversational image generation for DeepSeek Harness: ask the agent to create an image, and it handles generation and keeps the result directly in the conversation.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.