Question 1 · choose 1
Your coordinator, built with the Claude Agent SDK, runs the web-search and document-analysis subagents, then spawns the synthesis subagent through the Agent tool with the prompt "Synthesize the findings so far into a report." The report cites none of the sources the earlier subagents found. What is the most direct fix?
- ARaise the synthesis subagent's maxTurns so that it has enough turns to go and locate the earlier subagents' results itself
- BSpawn the synthesis subagent in the same turn as the search subagents so that it receives their results as they arrive
- CGive the synthesis subagent the same system prompt as the coordinator so that it shares the coordinator's knowledge
- DPass the search and analysis findings, with their source URLs, in the prompt of the Agent tool call that starts synthesis
Show the answer and why
ARaise the synthesis subagent's maxTurns so that it has enough turns to go and locate the earlier subagents' results itself
Incorrect
More turns do not give a subagent access to the parent's history or the other subagents' transcripts.
BSpawn the synthesis subagent in the same turn as the search subagents so that it receives their results as they arrive
Incorrect
Subagents launched together run independently; synthesis would start before any findings exist and would not receive them.
CGive the synthesis subagent the same system prompt as the coordinator so that it shares the coordinator's knowledge
Incorrect
A system prompt carries instructions, not the coordinator's conversation, so the earlier findings would still be missing.
DPass the search and analysis findings, with their source URLs, in the prompt of the Agent tool call that starts synthesis
Correct
A subagent starts with a fresh context; the Agent tool's prompt string is the only content passed from the parent, so the findings must be in it.
Subagents do not inherit the coordinator's conversation or share memory between invocations. Pass prior agents' complete findings explicitly in the delegation prompt, ideally in a structured form that keeps sources attached.
Anthropic documentation