deepseek-harness/packages/experimental/agent-team-profile
Turtle d68ff7e66f Merge remote-tracking branch 'origin/master' into turtle/omit-unneeded-invariants
# Conflicts:
#	docs/module-graph.i18n.yaml
#	docs/module-graph.md
#	docs/module-graph.zh.md
#	packages/session/session-projection/src/invariant.ts
#	tsconfig.base.json
2026-09-01 11:18:11 +08:00
..
src cleanup: omit unneeded invariant companions 2026-08-28 13:12:52 +08:00
tests fix(profile): preserve current fallback architecture after rebase 2026-08-26 00:15:18 +08:00
cordis.patch.yml fix(profile): preserve current fallback architecture after rebase 2026-08-26 00:15:18 +08:00
package.json Merge remote-tracking branch 'origin/master' into turtle/omit-unneeded-invariants 2026-09-01 11:18:11 +08:00
README.i18n.yaml cleanup: omit unneeded invariant companions 2026-08-28 13:12:52 +08:00
README.md cleanup: omit unneeded invariant companions 2026-08-28 13:12:52 +08:00
README.zh.md cleanup: omit unneeded invariant companions 2026-08-28 13:12:52 +08:00
tsconfig.json cleanup: omit unneeded invariant companions 2026-08-28 13:12:52 +08:00

description kind
Private Agent Teams profile layer over dsh-base, for source-checkout users who want Team-scoped coordination tools while retaining one-shot delegation. package-bundle

@deepseek-ai/dsh-experimental-agent-team-profile

English | 中文

Summary

dsh-experimental-agent-team-profile is a private profile layer that enables Agent Teams over @deepseek-ai/dsh-base. Its patch inserts the Team domain and Team-scoped tools, disables the overlapping global continuable-child controls, and keeps the ordinary fresh and fork delegation tools as one-shot operations. Add it explicitly to an initialized source-checkout profile; official releases exclude this package.

Table of Contents


Use this package

Install into a profile

From this repository checkout, add the package to an initialized profile, then run a task that asks the Lead to delegate work:

pnpm dsh plugin --profile headless add ./packages/experimental/agent-team-profile
pnpm dsh --profile headless "Use Agent Teams to split this task between two teammates, wait, and summarize."

The profile must already contain @deepseek-ai/dsh-base, whose Subagent services and provider rows this layer consumes. Removing the package with dsh plugin --profile <name> remove @deepseek-ai/dsh-experimental-agent-team-profile removes the bundle from the profile's ordered layer list.

What you get

The layer adds the Agent Teams domain and its scoped creation, roster, messaging, interruption, waiting, and task-board tools. It disables the global continuable-child control rows whose tool names overlap with Team controls, while leaving subagent and subagent_fork available as one-shot delegation tools.


Understand the implementation

Implementation internals — click to expand

The package's runtime content is cordis.patch.yml. Applied after dsh-base, the patch disables tool-subagent-control, tool-subagent-list-agents, and tool-subagent-report; sets the fresh and fork Subagent rows to one-shot; and inserts the Team service and tool rows with explicit providers and limits.

File Role
cordis.patch.yml Ordered patch over dsh-base
src/index.ts Empty module entry; the patch is the runtime content
— No runtime invariant companion is published; the package carries only a static profile patch. The Team domain and tool packages own the mutable relationships it activates.

Further Exploration


Model Experience

Team policy and tools

What the model sees

The Team policy and schemas belong to @deepseek-ai/dsh-experimental-tool-agent-team. This bundle changes composition only: Team-scoped list_agents, send_message, and interrupt_agent replace the disabled global continuable-child controls. subagent and subagent_fork remain available as one-shot delegation tools, whose children do not receive the continuable-child report tool.

Token effect

The bundle adds the Team policy and tool schemas described by dsh-tool-team; it adds no prompt text of its own.

KV Cache effect

The bundle's composition is prefix-stable while its patch, Team identity, and configured tool schemas remain unchanged.

Known Limitations and Deferred Work

  • Source-checkout only — this private package is not present in official npm, CLI, Web, or Python release payloads.
  • Shared checkout — every teammate observes the same working directory; this bundle adds no worktree isolation or filesystem locking.
  • Base profile required — the patch depends on row ids and Subagent providers supplied by dsh-base; it is not a standalone profile.

Dev Note

Working context for maintainers — click to expand

None.