You now know how to scale Claude Code beyond single-session work:
- Subagents run in isolated context windows; pack all context into the prompt
- Parallel agents cut time on independent tasks; sequential agents handle dependencies
isolation: "worktree"keeps file changes safe and reversible- Background agents run within your active session; retrieve their output by passing the
task_idback to Claude - Cost scales with agent count; use
/costand/compactto stay in budget - Review untrusted content before passing it to execution agents