Part 2: AI Agent Code Walkthrough

genai.mentor · Intermediate ·✍️ Prompt Engineering ·1mo ago
Episode 2 - AI Agent Code Walkthrough In Episode 1, we covered the theory behind AI agents and autonomy. Now we open up the actual codebase and walk through every layer of a fully working AI Personal Assistant — line by line. By the end of this video, you'll understand exactly how to build an AI agent that reads your emails, manages your calendar, searches your Google Drive, and remembers your preferences — all from a single chat interface. 🔥 What you'll learn: 00:00 - Live Demo 02:00 - Welcome & Intro 05:00 - Architecture Overview (4 Layers) 08:30 - Project Structure Walkthrough 10:00 - …
Watch on YouTube ↗ (saves to browser)

Chapters (12)

Live Demo
2:00 Welcome & Intro
5:00 Architecture Overview (4 Layers)
8:30 Project Structure Walkthrough
10:00 The Agent Core: Agentic Loop Pattern
16:30 Tools: Teaching the Agent New Skills
21:00 The 3-Tier Memory System
26:30 System Prompt Engineering
29:40 Production Backend with Firebase Cloud Functions
34:00 Frontend Chat Experience
35:30 End-to-End Flow Walkthrough
39:00 5 Essential Patterns & Pro Tips
Building LiveKit Agents with Gemini Live API
Next Up
Building LiveKit Agents with Gemini Live API
Google for Developers