Pattern Selection Map¶
This selection map compares patterns by what they cost, where they break, and what they assume — so you pick the cheapest one that works.
Adopting agent patterns without comparing their costs produces two documented failure modes: stacking sophisticated patterns (cargo-cult agent setup) and stacking frontier-model roles until economics collapse (compound engineering's 80/20 inversion). The matrix below surfaces the trade-offs from each pattern's canonical page so you can compare without re-reading every one.
It is scoped to this site's 14 patterns that share a common set of axes. Patterns where these axes are not the dominant trade-off live on their own pages.
The Matrix¶
| Pattern | Token cost | Latency overhead | Frontier-model dependency | Blast radius | Verification cost | Task class |
|---|---|---|---|---|---|---|
| Harness Engineering | low | none | none | contained writes | linter-able | open-ended |
| Agent Self-Review Loop | high | +N turns | one role | contained writes | eval-able | iterative |
| Cognitive Reasoning vs Execution | medium | +1 turn | one role | contained writes | linter-able | iterative |
| Episodic Memory Retrieval | low | +1 turn | none | read-only | eval-able | iterative |
| Agent Circuit Breaker | low | none | none | read-only | linter-able | iterative |
| Agent Backpressure | low | none | none | contained writes | linter-able | iterative |
| Multi-Agent Topology Taxonomy | medium | +N turns | one role | contained writes | human-only | open-ended |
| Declarative Multi-Agent Topology | medium | +N turns | one role | contained writes | linter-able | open-ended |
| Economic Value Signaling | medium | +N turns | none | production effects | human-only | open-ended |
| Review-Then-Implement Loop | high | +N turns | one role | contained writes | eval-able | iterative |
| Agentic Code Review Architecture | high | +N turns | one role | read-only | eval-able | iterative |
| Incremental Verification | low | +1 turn | none | contained writes | linter-able | iterative |
| Escape Hatches | low | none | none | read-only | human-only | open-ended |
| Compound Engineering | very high | unbounded | all roles | production effects | human-only | open-ended |
Axis Legend¶
Token cost — relative to a baseline single-shot prompt:
low— fixed or one-time setup; per-task addition negligiblemedium— roughly 1.5×–2× baselinehigh— roughly 2×–5× baseline (multiple review or critic passes)very high— 5×+ baseline, or stacks frontier-model roles across phases
Latency overhead — wall-clock impact on time-to-result:
none— runs in parallel or as setup+1 turn— one added model round-trip+N turns— a bounded loop (typically 2–5 iterations or fan-out turns)unbounded— loops until convergence or human intervention
Frontier-model dependency — how many roles need a top-tier model:
none— works with mid-tier or open-weight modelsone role— one role (reasoning, reviewer, or planner) needs a frontier model; the rest run cheaperall roles— every role needs a frontier model; the most expensive shape
Blast radius — the maximum reach of a failure or unintended action:
read-only— only observes or gates; no external writescontained writes— writes scoped to branches, ephemeral state, or pre-approved pathsproduction effects— writes reach production or shared ledgers without an automatic gate
Verification cost — how correctness is checked:
linter-able— a deterministic script or type check confirms wiringeval-able— needs an LLM-graded or metric-based eval; deterministic checks fall shorthuman-only— requires human judgement (taste, architecture, market dynamics)
Task class — the kind of work the pattern fits:
one-shot— single-prompt, single-result tasksiterative— bounded loops with a clear convergence criterionopen-ended— long-running work with no fixed convergence point
Why It Works¶
The matrix compresses information already sourced on each pattern's canonical page. Experienced engineers think in trade-off axes when choosing architectural patterns but lack a centralised comparison surface — cognitive offloading of the cross-page comparison step is the mechanism. The axes are the dimensions where stacking patterns blindly produces the documented failure modes: token economics, latency, frontier-model cost, and blast radius. These map onto the production-engineering work the 80% problem in agentic coding identifies as the failure surface — the retry logic, rate limiting, and blast-radius controls that agentic coding skips on the way to a fast first draft.
When This Backfires¶
The matrix is a comparison aid, not a recommendation engine. Three failure modes to watch:
- Pattern shopping — scanning the table and assembling several patterns at once produces the exact stack-everything failure mode the page exists to defuse, the cargo-cult agent setup anti-pattern. The TL;DR and the closing rule are deliberate counterweights.
- Stale rows — pattern pages evolve over time. If a pattern page changes its cost or blast-radius characterisation, the matrix row diverges silently until the next periodic audit catches it. The
last_reviewedfrontmatter dates the synthesis. - Axis flattening — a single ordinal value per axis hides distributions. A pattern marked
mediumtoken cost in steady state may spike tohighduring cold start or on certain task shapes. The canonical page carries the nuance; the matrix row does not.
Key Takeaways¶
- Compare across patterns on costs you already care about — token spend, latency, blast radius — before composing them.
low-cost patterns (harness engineering, agent backpressure, incremental verification) are the unsexy foundation; sophisticated patterns assume these are already in place.very highcost patterns (compound engineering) deliver on long horizons but collapse economics on short tasks — match cost class to task class.production effectsblast radius (economic value signaling, compound engineering) requires human-only verification — these are not patterns to stack speculatively.- If two patterns score similarly across all axes, pick the one your team can debug at 3am.
Related¶
- Patterns — the parent index this map sits under
- Cargo Cult Agent Setup — copying patterns without understanding the trade-offs is the failure mode this map exists to defuse
- AI Development Maturity Model — adoption phases for AI coding tools; complements the per-pattern trade-off view with a developmental view
- Cost-Aware Agent Design — the broader treatment of cost as a first-class design constraint
- Compound Engineering — the highest-cost pattern on the matrix; the planning/review investment that makes it economic
- Multi-Agent Topology Taxonomy — coordination-pattern comparison (Sequential / Concurrent / Group chat / Handoff / Magentic) for the topologies above; orthogonal axes to this map's six