AI From Scratch/Phase 14/Lesson 02/~60 minutes

ReWOO and Plan-and-Execute: Decoupled Planning

BuildPython (stdlib)

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...

Loading lesson page...