| Pattern | Who decides the steps | Today |
|---|---|---|
| 1 · Single call | You, in advance; the model does one thing | Text at level |
| 2 · Reason with tools | The model, step by step, with a knowledge base | School guide assistant |
| 3 · Plan and execute | First a plan, then separate executors | School news: three channels |
| 4 · Self-critique | The model reviews its own work | Checker |
| 5 · Gatekeeper | Code or a person lets it through or not | Gatekeeper, teacher in the loop |
Rule of thumb: choose the lowest pattern that works. Every step up costs time, credits and surprises.
Workshop AI Agents with Dify · LeX Consultancy · CC BY-SA 4.0