Advanced Agents: sections and modules
Planning, Reflection & Reasoning Patterns
Compare ReAct with plan-and-execute and add replanning.
- Lessons
- 9 lessons
- By
- Sourav Banerjee
- Prerequisites
- None
Lessons
Start modulePractise and Check
- Deliverable
- Verified answers: add chain-of-verification to your RAG answer step and measure how many unsupported claims it removes on the golden set.
- Assessment
- Answer the five Interview questions without notes, then run the lab.
- Interview probe
- Larkspur's cancellation assistant, a plan-and-execute agent, told a customer their data is kept for 12 months after cancelling. The handbook says 30 days. The trace shows the retention lookup ran. What went wrong, and what do you change?
- Common mistakes
- Setting
max_iterationswith no room for replanning after a wrong result - Verifying each claim in a call that can still see the draft
- Trusting a majority vote when the samples share a systematic error
- Trusting a self-critic's
has_errorsverdict without running the code against tests
- Setting
Your Progress
Saved in this browser when you leave the box.