

Free Lesson
Building Your First Agent: State, Tools, and Loops
30 min
Sep 15, 2026 12:00 PM
What you'll learn
Master the three core agent concepts
State tracking, tool invocation, and loop termination, with live code.
How to build a minimal agent loop from scratch
Infinite tool-calling and lost state, and how to guard against both.
Where agent loops commonly fail, like infinite tool-calling
Grounded in real examples from the session.
Why this topic matters
Agent frameworks hide the three things you actually need to understand: how state is tracked, how tools are called, and how the loop decides when to stop. This session builds a simple agent live, exposing all three.
You'll learn from

Dr. Aki Wijesundara
AI Founder | Educator | Google AI Accelerator Alum

Manu Jayawardana
AI Advisor | Co-Founder & CEO at Krybe | Co-Founder of Snapdrum
Previous Students from




