Introduction¶
DeepSeek Harness (DSH) provides each sub-agent with a fixed native parent relationship, which can be inflexible when building complex teams. Sometimes you need to adjust reporting relationships based on business logic without modifying the underlying sub-agent tree. dsh-combinagents provides a standalone, editable reporting-relationship overlay for DSH agents and sub-agents.
Plugin Positioning¶
dsh-combinagents is a local plugin bundle (maintained by Tetrachlorosilane) that layers an editable reporting-relationship structure on top of the DSH native sub-agent tree. It does not move sessions, rewrite native parents, change workspaces, or modify sandbox/permission policies. It only changes who reports to whom, while preserving each session’s original workspace, sandbox mode, and permission settings.
Core Features¶
1. Reporting-Relationship Overlay¶
- The right sidebar provides an Agent Composition tab.
- An independent count chip is displayed next to the session title.
- You can add local sessions or external agents as nodes and set a Reports To parent (no parent means it acts as the root).
- Supports renaming nodes (without changing the DSH session title).
2. Edge-Level Authorization¶
- Set Message and Interrupt permissions on each edge.
- New manual connections allow messages by default; interrupt is off by default and must be explicitly enabled.
3. Auto-Mirroring & Sync¶
- When a sub-agent is launched, the plugin automatically mirrors it into the composition and grants a delegated edge.
- When a sub-agent is launched but not auto-mirrored, use Sync Native Agents to import native descendants.
4. Teams & Tasks¶
- In Teams, select a lead and member nodes to create a team.
- A team has its own task board, and task tools (create, list, get, claim/release, edit, dependencies, reassign, complete, reopen, delete) are scoped to that team.
- Tasks created using the Team selector within a session are attributed to the corresponding team.
5. Clone & Branch¶
- Clone Whole Tree: Clones the entire team tree; the source tree remains unchanged, including copied tasks and team scope.
- Bud as New Root: Clones a node and its subtree as a new independent root.
6. Native Tool Model Preservation¶
- The plugin does not register shadow copies of native tools; instead, it registers a
tools/executeinterceptor. - For the following six tools, the native definitions (name, description, parameters, output schema, display, prompt guidance, limits) remain unchanged—only the execution path uses the composition:
list_agentssend_messageinterrupt_agentsubagentsubagent_forkwait_agent
7. Cross-Profile Convergence¶
- When another DSH profile edits the composition, changes are visible without restarting the Host.
8. Cleanup Helpers¶
- Session Cleanup: Preview orphaned cloned sessions and one-time placeholders; after opening the first user message / last message snippet, you can delete them during a confirmation step.
Installation & Enablement¶
This plugin is a local DSH bundle and is not published to npm. Installation steps are as follows:
-
Place the plugin checkout directory at a stable local path.
-
Register it as a local bundle in your DSH profile. Use the DSH Plugin Manager’s bundle installation method (corresponding to your DSH version), or use an equivalent local package link in the profile.
-
Enable the plugin in your profile configuration. Example:
- id: dsh-combinagents
config:
autoGrantDelegatedEdges: true
# Only needed when the JSONL session root is not $DSH_HOME/sessions
# sessionRoot: /absolute/path/to/sessions
disabled: false
-
Keep the native agent plugin mounted. Do not use the legacy
composedpreset that removes the native agent plugin; otherwise, the plugin has no native definitions to intercept. -
Restart the Host and refresh the GUI.
Typical Usage¶
-
Open a standard DSH session.
-
Open Agent Composition from the right sidebar or the count chip at the session title.
-
If the session has no composition yet, click Create Composition.
-
Click Add a Session, select another session, set its Reports To parent, or keep it as a root node.
-
Open Details on an edge and enable message or interrupt authorization.
-
Use
subagentorsubagent_forkto launch a sub-agent; it will be auto-mirrored into the composition. -
If any native descendants are not mirrored, use Sync Native Agents to import them.
-
In Teams, select the lead and member nodes, then create the team.
-
Use the Team selector in shared tasks; tasks will be attributed to the corresponding team.
Applicable Scenarios & Notes¶
- Suited for scenarios where you need to adjust reporting relationships based on business logic without modifying the DSH native sub-agent tree.
- The plugin runs with the current DSH process permissions. Ensure your profile exposes
sessions,storageDomain,subagents, and the right sidebar UI. - It is recommended to review the source code and license (MIT) before installation.
- A session can belong to at most one composition. If you add a session already in another composition to the current one, its subtree will be moved, and the remaining part of the source forest will be re-keyed to a new local root.
Summary¶
dsh-combinagents provides a standalone reporting-relationship overlay for DSH agents and sub-agents, supporting custom teams, task scoping, and edge-level authorization, while keeping the native tool model and session context intact. It does not move sessions or modify sandbox/permission policies, making it ideal for flexibly organizing team structures and collaboration flows while preserving the native agent tree.
- Plugin directory page: https://www.skillhub.cn/plugins/Tetrachlorosilane/dsh-combinagents
- GitHub: https://github.com/Tetrachlorosilane/dsh-combinagents