Subagent missing the coordinator's findings in the Agent SDK

CCAR-F Agentic Architecture & Orchestration Easy Question 45 of 59

You are building a multi-agent research system using the Claude Agent SDK where a coordinator agent delegates topic investigation to specialized subagents. During execution, a subagent tasked with analyzing source documentation fails to locate referenced files and makes contradictory claims because it lacks the coordinator's earlier analysis findings. Investigation reveals that the subagent was spawned with only a task title.

How should you ensure the subagent has access to the required context?

Show answer and explanation

DInclude required file paths and prior findings directly in the prompt parameter when invoking the subagent.

Subagents run in isolated execution environments and do not automatically inherit conversation history or tool results from the parent coordinator. The only information passed from parent to subagent is the prompt string supplied during invocation. Therefore, all necessary file paths, context, and previous findings must be explicitly provided in that prompt. Subagent definitions do not support automatic transcript inheritance. The SDK does not provide shared global memory objects across subagents. Increasing context window limits does not overcome the fundamental architectural boundary of isolated subagent contexts.

Source: code.claude.com/docs/en/agent-sdk/subagents

Anonymous, no account needed. Your tally stays in this browser.

Next question Start 5 timed questions Browse all 59 original CCAR-F practice questions