mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
Apply the accepted pre-release package, service, type, directory, and role renames as one repository-wide change.
2.5 KiB
2.5 KiB
subagent/:subagent 能力家族
English | 中文
本家族允许一个 agent(智能体)将工作委派给子 agent。多个具名提供方可在同一上下文中共存。
| 包 | 职责 | ctx 键 |
|---|---|---|
subagent/ |
定义提供方注册、委派和继续执行 | ctx.subagents |
subagent-inprocess/ |
提供共享的进程内运行驱动器 | 无 |
subagent-spawn-in-process/ |
启动全新的进程内子 agent | 注册到 ctx.subagents |
subagent-fork-in-process/ |
从父 agent 已完成的历史记录启动进程内子 agent | 注册到 ctx.subagents |
subagent-acp/ |
通过 ACP(Agent Client Protocol)启动进程外子 agent | 注册到 ctx.subagents |
subagent-codex/ |
启动真实的 Codex app-server 子 agent | 注册到 ctx.subagents |
subagent-claude-code/ |
通过官方 Claude Agent SDK 启动真实的 Claude Code 子 agent | 注册到 ctx.subagents |
subagent-dsh-sdk/ |
通过 TypeScript SDK 启动进程外 Harness 子 agent | 注册到 ctx.subagents |
tool-subagent/ |
向模型公开委派操作 | 注册到 ctx.tools |
tool-subagent-control/ |
向模型公开子级消息发送和列举操作 | 注册到 ctx.tools |
tool-subagent-report/ |
提供从子级到父级的报告通道 | 注册到子级作用域 |
子系统参考——启动请求、结果、实时运行、提供方约定、可续跑后台子 agent——见 docs/subsystems/subagent.md;设计依据见 subagent 能力 seam、可续跑后台 subagent与合并 subagent 控制服务 Agent Note。