Agentic architecture and orchestration
27%What each one covers
- 1.1Agentic loops
Continuing on a tool-use stop and finishing on end of turn, returning tool results so the model can reason about the next step, and the anti-patterns that end a loop too early or too late.
- 1.2Coordinators and subagents
Hub-and-spoke orchestration, subagents that don't inherit the coordinator's history, choosing which subagents a query needs, and refining a synthesis until coverage is enough.
- 1.3Subagent invocation and context passing
Spawning subagents with the Agent tool, giving each the findings it needs in its prompt, keeping sources attached, running subagents in parallel, and forking.
- 1.4Enforcement and handoffs
Gating a step in code when compliance must be guaranteed, splitting multi-concern requests, and handing a case to a human with everything they need.
- 1.5Agent SDK hooks
Normalizing tool results before the model sees them, blocking a call that breaks a business rule and redirecting it, and choosing hooks over prompt instructions.
- 1.6Task decomposition
Fixed prompt chains for predictable work, adaptive plans for open-ended investigations, and splitting a large review into per-file and integration passes.
- 1.7Sessions, resumption and forking
Resuming a named session, forking to compare approaches, telling a resumed session what changed, and starting fresh with a summary when old tool results are stale.