Lesson 4 · 6 min
Parallel Fan-Out
Map-reduce over Claude calls when the work shards cleanly.
If the task decomposes into independent shards (e.g. summarize 100 documents), run them in parallel and reduce. Watch for rate limits — use the Messages Batch API or a concurrency limiter at the SDK level.
Quick check
Agentic ArchitectureSelect one
You're building an agent that runs across many turns. What should you persist between turns?
