Six components appear in almost every AI system, whatever its shape. Learn each one once — what it does, what it stores, how it fails — and a full design becomes a matter of arranging them.
| # | Lesson | The question it answers |
|---|---|---|
| 2.a | Model Access and Gateways | How do applications reach models, and what belongs in the gateway? |
| 2.b | Context and Retrieval | How does the right information get into the context window? |
| 2.c | State, Memory and Caching | Where does state live, and which of the four caches helps? |
| 2.d | Tools and Protocols | How does a model act on the world, and what do MCP and A2A standardise? |
| 2.e | Evaluation and Quality | How do I know it works, and keep knowing after every change? |
| 2.f | Reliability Patterns | What keeps the system up when a model is slow, wrong or gone? |
Each lesson ends with a short list of the tools that fill the box. Read the mechanism first; the list will have changed by the time you need it.