dsh-three-level-agent
Discovered三级代理插件 for DeepSeek Harness: three-level subagent delegation (1x9x9) with tree-wide async agent messaging and a web UI tree panel
dsh-three-level-agent
三级代理插件 — three-level agent mode for DeepSeek Harness.
What it does
- 允许开启子代理:把 subagent 运行时的委派深度上限提升到 2(默认,可配置), 深度 1 的子代理可以继续建立自己的子代理(主代理 → 子代理 → 孙代理,三级结构), 同时把单棵代理树的驻留容量上限提升到 128,足以容纳 1×9×9 = 90 个子代理。
- 双向通信:注册全局工具
agent_message,代理树内任意代理之间都可以互发消息 (祖先、后代、同树兄弟),目标用list_agents给出的 id 或快捷方式"parent"/"root"寻址。 - 异步队列 + 互斥锁 + 就绪等待:发送只是入队并立即返回,发送方继续干活;
每个收件人一条 FIFO 队列,后台投递线程在互斥锁内线性投递,等待连接就绪
(分轮有界等待,不做重复重试);超出
maxWaitMs仍无法投递时才把失败通知 回投给发送方。已结束的子代理不会离开树索引——只要它的父代理还活着, 投递会通过运行时的冷恢复(cold resume)把它唤醒,就像原生send_message一样。
Install
From the plugin market (recommended)
Add this index URL in the market settings (Discover page):
https://raw.githubusercontent.com/AntheaLaffy/dsh-three-level-agent/main/market/index.json
The plugin then appears in the Discover page as 三级代理 / Three-level agents and installs
with one click (plugin_manager install_bundle with the market's install target). The index is
format 1 (market/index.json) and pins the current commit through a git
install source.
From the local checkout
# In a profile-launched dsh session:
plugin_manager install_bundle /path/to/dsh-three-level-agent
Configuration
maxDepth(default 2): 委派深度上限,≥2 即开启三级代理。maxActiveSubagents(default 128): 单棵树的驻留子代理容量,1×9×9 至少需要 90。readyTimeoutMs(default 30000): 连接就绪等待的单轮时长。maxWaitMs(default 600000): 一条排队消息等待连接的总预算,超时投递失败并通知发送方。delivery(defaultqueue):queue作为独立下一回合投递;steer在最近步骤边界注入。
Plugin rows are edited in the profile's cordis.patch.yml:
- id: three-level-agent
name: 'dsh-three-level-agent'
config:
maxDepth: 2
maxActiveSubagents: 128
Comments
Loading…
Similar plugins
by viyiviyi
DeepSeek Harness 插件:三级任务树,节点完成时由 AI 提交结果,插件随即把该节点的执行过程从上下文里折叠掉。
★ 0
MIT
JavaScript
Sep 27, 2026
dsh plugin --profile web add dsh-task-treeby omdsh-dev
Agent preset 检查器:看清每个 preset 的层来源、装配树、提示词与工具(DeepSeek Harness 插件)
★ 0
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add dsh-preset-inspectorby Rgndmln
为 DeepSeek Harness 打造的 3D 智能体工作轨迹可视化插件。A 3D agent-work trajectory visualization plugin for DeepSeek Harness.
★ 3
MIT
TypeScript
Aug 17, 2026
dsh plugin --profile web add spatial-trajectoryby viyiviyi
树形任务流 · DeepSeek Harness 插件:把多步任务组织成目标→任务→子任务三级树,节点完成时由 AI 提交结果,插件随即把该节点的执行过程从上下文里折叠掉。
★ 3
↓ 200/wk
MIT
JavaScript
Oct 15, 2026
dsh plugin --profile web add dsh-tree-task-flowby Tacrine
Oh My DSH Chs - unofficial Simplified-Chinese fork of the tri-agent preset (Atlas orchestration + Prometheus planning), packaged for DeepSeek Harness. Content licensed under the upstream SUL-1.0; see
★ 0
JavaScript
Oct 11, 2026
dsh plugin --profile web add @tacrine_f/oh-my-dsh-omo-fork-chsby KouzakiUmi
DeepSeek Harness 插件:按 Agent preset 限制每个 Agent 可见的工具,保留全局 provider 挂载;基于 agent/created 与 ctx.tools.restrict()。
★ 0
MIT
JavaScript
Oct 19, 2026
dsh plugin --profile web add dsh-preset-tool-guard