Skip to content

Appendix B: Pattern Catalog ​

PatternDescriptionUse whenMain riskKey Reference
Single-shot answerOne model call produces the final answerTask is simple and self-containedCannot recover from missing information(39)
Retrieve-then-answer (RAG)Retrieve relevant facts, then answerKnowledge is external and largeRetrieval misses relevant facts(12)
ReAct loopReason, act, observe, repeatTask requires multi-step interactionLooping and context growth(19)
Plan-then-executeProduce a plan, then execute stepsTask has stable subtasksPlan becomes stale as environment changes(40)(41)
Reflect-verifyCheck intermediate or final output before continuingCorrectness is critical and checkableVerification becomes expensive or weak(42)(43)
Human-in-loopPause for human approval or inputActions are risky or ambiguousLatency and user burden(2)(44)
Summarize-continueCompress history before continuingLong tasks exceed context budgetImportant details are lost in summary(10)(11)
Agent-as-toolWrap an agent so it can be called like a toolSpecialization, isolation, or parallelism is neededCost, latency, and error compounding(45)(46)