description: "Nine tools that let the model create, message, and coordinate teammates, for compositions mounting the experimental Team plugins."
English | 中文
This package lets the model create named teammates, send them messages, inspect availability, wait for progress, interrupt stuck work, and coordinate through a shared task board. Every team member receives the same nine tools and guidance for coordinating in a shared workspace. Choose it when the model should operate a team only after you explicitly request one. It replaces legacy subagent controls with the same tool names, so compositions that need both must disable the legacy definitions. The package is published under its experimental name and provides no stability guarantee.
Add this package on top of @deepseek-ai/dsh-experimental-agent-team when the model should run a team through tools. Once mounted, every team member — the Lead and each teammate — gets the same nine tools plus a policy paragraph that states its own role and name.
Choose it when the model should create and coordinate teammates by itself rather than a human driving subagent controls. Avoid it when the legacy global subagent tools with the same names must stay available: the team tools replace them for team members, so a composition that wants both must disable the legacy definitions. The fixed policy creates teammates only when you explicitly ask for a team or teammates, so ordinary tasks never trigger delegation on their own.
The smallest addition to an existing composition is the two-package fragment from the agent-team README: durable session storage, the team domain package, and this package. The plugin itself takes two optional settings:
- id: tool-agent-team
name: '@deepseek-ai/dsh-experimental-tool-agent-team'
config:
freshProvider: spawn
forkProvider: fork
| Field | Default | Meaning |
|---|---|---|
freshProvider |
spawn |
Provider that starts fresh teammates |
forkProvider |
fork |
Provider that starts fork teammates |
The generated configuration catalog is the exhaustive source for every accepted field and its JSDoc.
Try it by asking the Lead model: "create a teammate named reviewer to check the diff, then send reviewer the change summary". The model calls the creation tool and then the messaging tool.
The nine tools group into four capabilities:
spawn_teammate takes a name, a description, and the initial task; only the Lead can call it.send_message steers a running member at its nearest step boundary, starts an idle member, and cold-resumes an inactive teammate.list_agents shows the roster with live status; wait_agent waits for the next team change; interrupt_agent stops a teammate's current turn (Lead only).team_task_create, team_task_list, team_task_get, and team_task_update add, browse, read, and update shared tasks.Any member can message any other member and use the task board; only the Lead creates and interrupts teammates. Task updates keep the domain's owner and revision checks, so an outdated edit is rejected instead of overwriting newer work.
Sending a message succeeds as soon as it is safely stored: the result is accepted (delivered now) or queued (waiting), and a queued message must not be resent. wait_agent returns noProgress right away when no other member is running or provisioning, telling the caller to wake a teammate first; otherwise it waits for the next change and the caller re-reads state afterward. Task edits based on an outdated revision are rejected rather than overwriting newer work.
Read these pages when the package-level contract is not enough. They move from the domain service to the exact schemas and the decisions behind the design.
ctx.agentTeams domain service behind these tools.One stable policy section states the exact Team role/name/id, the explicit-delegation requirement, shared-cwd behavior, filesystem stale-version recovery, Bash/formatter/codegen risk, task and write-scope coordination, Steer delivery, the no-retry mailbox rule, and the Lead's duty to wait before answering. The nine Team schemas from spawn_teammate through team_task_update appear only in Team member scopes.
Fixed policy and schema cost on every Team member request. Tool calls add compact JSON roster, task, wait, or receipt results. Peer content is retained by the Team domain in the target's history.
Prefix-stable while the Team plugin generation, configuration, member role/name, and schemas remain unchanged. The per-member identity line differs across Agents. Tool results and peer messages append after the reusable request prefix.
These limits describe what the policy and tools cannot guarantee for a team. They are current package constraints, not a comparison with other collaboration surfaces.