Phase 14: Agent Engineering
AI From Scratch/Lesson 02/~60 minutes

ReWOO and Plan-and-Execute: Decoupled Planning

ReAct interleaves thought and action in one stream. ReWOO separates them: one big plan up front, then execute. 5x fewer tokens, +4% accuracy on HotpotQA, and you can distill the planner into a 7B model. Plan-and-Execute generalized it; Pla...

BuildPython (stdlib)
Loading lesson page...