S
Study LibraryPractice Lab

Subagents and Context Isolation

atomic-noteD1 · 14.7%Section: D1 Agents & WorkflowsUpdated 2026-11-15

A subagent executes a bounded task in an isolated context, using a restricted toolset and returning a compact result to its caller.

Blueprint area: D1 - Agents and Workflows MOC (official domain weight 14.7%).

Engineering principles

  • Use isolation for specialized research, code search, or verification that otherwise pollutes the main context with raw tool output.
  • Define purpose, authority, allowed tools, expected output format, and failure/blocked protocol in its configuration.
  • Pass only necessary input and avoid copying entire histories into each worker; synthesize results into durable decisions.
  • Compare subagents with tasks inside a single agent: subagents bring independence but increase orchestration cost.

Failure modes

  • Delegating without evidence and a structured response creates opaque conclusions.
  • Subagents should not inherit unrestricted authority just because the parent has it.

Check your understanding

  • ☐ Can the parent verify findings without reading the entire child transcript?
  • ☐ Can the child modify a resource it was only supposed to inspect?

Memory Scopes and Persistence · Context Compaction and Tool Output Pruning · Exam Blueprint and Coverage

Evidence and verification

  • Provenance: author-written engineering synthesis aligned to exam guide objectives; this is not a transcript or hidden Skilljar lesson.
  • Primary references:
  • Check currency: model options, pricing, API flags, release-specific behavior and runtime permissions can change after the source was read. See Source Register.