CCA-F 练习题库· Agentic Architecture & Orchestration
关于 subagent(如 Claude Code 和 Anthropic 的多智能体研究系统中所使用的),下列哪些陈述是准确的?(多选)
- A每个 subagent 在自己独立的 context window 中运行,拥有自己的 system prompt 和工具访问权限。
- Bsubagent 把体量庞大的中间产物(搜索结果、日志、文件内容)挡在主对话之外,只把浓缩后的结果返回给 lead。
- Csubagent 在 orchestrator 的 context window 内部执行,把它们的所有 token 直接追加到其中。
- D限制 subagent 的工具,以及把它路由到 Haiku 这类更便宜的模型,都是定义一个 subagent 的正当理由。
- E由于各自拥有不同的工具、prompt 和探索轨迹,subagent 降低了路径依赖,并使独立的调查成为可能。
正确答案:A B D E(多选)
解析
subagent 的定义性属性是上下文隔离。
- A根据 Anthropic 的 Claude Code 文档,“each subagent runs in its own context window with a custom system prompt, specific tool access, and independent permissions”(每个 subagent 在自己的 context window 中运行,拥有自定义的 system prompt、特定的工具访问权限和独立的权限)。
- B它 “does that work in its own context and returns only the summary”(在自己的上下文中完成该工作,只返回摘要),从而把体量庞大的搜索结果、日志和文件内容挡在主对话之外。
- D文档把 “limiting which tools a subagent can use”(限制 subagent 可以使用哪些工具)和 “routing tasks to faster, cheaper models like Haiku”(把任务路由到 Haiku 这类更快、更便宜的模型)列为定义 subagent 的明确理由。
- EAnthropic 的多智能体研究文章补充道,subagent 提供了 “separation of concerns—distinct tools, prompts, and exploration trajectories—which reduces path dependency and enables thorough, independent investigations”(关注点分离——不同的工具、prompt 和探索轨迹——从而降低路径依赖,并使彻底、独立的调查成为可能)。
- C恰恰说反了:整件事的要点就在于一个独立的 context window,而不是把 subagent 的 token 追加进 orchestrator 的上下文。
延伸阅读
本题为本站自有原创练习题,非任何官方考试内容;解析对照 Anthropic 公开文档撰写, 如与最新文档不符请以官方为准。想在限时环境下检验水平,可参加 模拟考(题目与本页题库不重叠)。