dsh-agent-teams: Agent Team Orchestration Plugin for DeepSeek Harness

tkr520521/dsh-agent-teams

Skills & AgentsVerified
Listed on 2026-08-19
Page last updated 2026-08-27

DSH plugin turns the subagents seam into reusable, policy-gated agent teams for orchestration.

Encapsulate DeepSeek Harness's subagents into reusable, policy-gated teams with concurrency control and role-based workflows.

install
dsh plugin --profile web add github:tkr520521/dsh-agent-teams
Category
Skills & Agents
Platform
DSH Plugin
Author
tkr520521
Distribution
Plugin

dsh-agent-teams Key Features

team_run to run teamsteam_list to list teamsteam_delegate to delegateConcurrency limits & policy gates

Listed on dsh-plugin.org

dsh-agent-teams Repo Summary

dsh-agent-teams is an Agent core DSH plugin for DeepSeek Harness, maintained by tkr520521 under the MIT license. It turns the subagents seam into reusable, policy-gated agent teams, solving multi-agent orchestration challenges such as team definition, concurrency control, and policy enforcement. Core capabilities include three tools (team_run, team_list, team_delegate), policy gating via tools/pre-execute, and concurrency limits via maxConcurrentDelegations.

What core features does the dsh-agent-teams DSH plugin support?

The plugin provides three core tools: team_run to execute tasks with a team, team_list to list available teams, and team_delegate to delegate tasks to a specified team. It integrates with providers like spawn, fork, and acp through ctx.subagents.start(), and uses tools/pre-execute for policy gating, ensuring fail-loud behavior when concurrency limits are exceeded. Teams can be defined with roles (e.g., planner, writer, reviewer) and prompts, enabling multi-stage workflows.

How to install dsh-agent-teams?

Use the following command, specifying your profile name:

bash
dsh plugin --profile web add github:tkr520521/dsh-agent-teams

After installation, configure provider dependencies in your profile, such as @deepseek-ai/dsh-subagent-spawn-in-process or @deepseek-ai/dsh-subagent-fork-in-process.

How to configure teams and concurrency policies for dsh-agent-teams?

In cordis.patch.yml, insert the plugin configuration with provider (default spawn), maxConcurrentDelegations (default 3), and a teams array. Each team has a name and an agents list, where each agent has a role and prompt. For example, define a writing team with planner, writer, and reviewer roles.

How to use dsh-agent-teams?

Usage is straightforward: instruct the model with a command like "Use team_run with team "writing" on: ...", and the plugin will execute the planner, writer, and reviewer sequence, returning the final result.

How does dsh-agent-teams work?

The workflow: the model calls the team_run tool, triggering a pre-execute policy check; if allowed, it calls ctx.subagents.start() to launch sub-agents, executes roles in order, and aggregates results. The plugin injects dependencies via inject: ['tools', 'subagents'] and supports lifecycle management with exec.signal and run.dispose().

How to develop and test dsh-agent-teams?

Development requires Node.js. Run npm install, npm run build (tsc to lib/), and npm test (using the built-in runner). For testing, copy an existing profile to isolate the environment.

View more DSH plugins at dsh-plugin.org

DSH Plugin FAQ