Free module
Agent and prompt patterns
Learn agent and prompt patterns hands on: ReAct, prompt chaining and routing, self-consistency, reflection, long-term memory, GraphRAG and computer use.
The lessons
Each lesson is free and interactive. Press Start lab to run its commands in a live lab and to sit its quizzes and tasks, with no account needed.
1 · Container lab
The ReAct pattern for AI agents
I can run a ReAct loop and read its trace.
Read the lesson2 · Container lab
Prompt chaining and routing
I can split a model job into a checked chain with a router in front.
Read the lesson3 · Container lab
Self-consistency and reflection prompting
I can decide when to trust a model's answer by voting over samples and checking drafts.
Read the lesson4 · Container lab
Long-term memory for AI agents
I can choose which memories an agent reads back for a task.
Read the lesson5 · Container lab
Multi-hop questions and GraphRAG
I can answer a multi-hop question by following a knowledge graph.
Read the lesson6 · Container lab
Agent frameworks and computer use
I can choose whether to use an agent framework and limit what a computer-use agent may do.
Read the lesson
Worked in a real lab
Every lesson of this module is worked in a lab started for you alone. The labs it uses:
Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.