Agent Systems: Choosing and Composing Patterns
Outline
- Start with the simplest deterministic structure that meets the task’s needs.
- Add a pattern only when it addresses a named source of complexity or uncertainty.
- Compare patterns by latency, cost, observability, reliability, and ease of revision.
- Discuss useful combinations: chaining + reflection; router + specialized tools; plan + memory; parallelization + aggregation + human review.
- Include a decision table: task shape, recommended pattern, main failure mode.
- End with three questions:
- What is the task’s main source of uncertainty?
- Which interface makes that uncertainty observable?
- What is the simplest pattern that provides that interface?