Previous parts of Build a Basic AI Agent From Scratch:

Basic Agent

Tools

Long Task Planning

Human in the Loop & Security