An agent is a model that chooses its own next step, in a loop, until the job is done. That one change — the model decides the control flow — turns a request into a long-running, stateful, expensive process that can act on the world. This module covers what must be designed around the loop for it to be dependable.
| # | Lesson | The question it answers |
|---|---|---|
| 4.a | Anatomy of an Agent | What is an agent made of, and when should I not build one? |
| 4.b | Orchestration and Durable Execution | How does an hour-long task survive a crash, a deploy and a human pause? |
| 4.c | Context Engineering and Memory | How does a long task stay inside the context window and stay coherent? |
| 4.d | Multi-Agent Systems | When do several agents beat one, and how do they talk? |
| 4.e | Sandboxes and Tool Execution | Where does model-written code run, and what contains it? |
Read Tools and Protocols and Reliability Patterns first; this module builds directly on both.