子代理隔离Sub-agent Isolation
Sub-agent Isolation
让子代理去搜,主对话只拿结论,不被细节塞满。Let sub-agents do the searching so the main conversation keeps only the conclusions.
Anthropic 的做法:搜索的细节上下文留在子代理内部。
主代理只负责综合结果,把窗口留给决策。
Anthropic's pattern: detailed search context stays isolated inside sub-agents.
The lead agent focuses on synthesizing results, keeping the window for decisions.
「窗口被搜索记录填满」是长任务的典型失败模式,这是它的解法。"The window filled up with search results" is a classic long-task failure; this is the fix.
子代理架构
去 Agent 图谱:看有哪些装得上的客户端、运行时与工具Agent atlas: which clients, runtimes and tools you can install ↗
回到名词地图看第3段的其他 75 个词 →Back to the map: the other 75 terms in stage 3 →
- Anthropic《Effective context engineering for AI agents》Anthropic, Effective context engineering for AI agents ↗
别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.
任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →