How to add short-term memory to your AI agent (Sessions & State Explained)
Skills:
Agent Foundations90%
Lab → https://goo.gle/agentmemorylab
ADK doc →https://goo.gle/4t2J6BG
ADK crash course → https://goo.gle/adk-lab
Learn how to pass information between agents with agent short term memory. Annie breaks down short-term memory for AI agents using Google's Agent Development Kit (ADK), including how sessions, events, and state work together to keep your agent context aware.
Chapters:
0:00 - Intro
1:22 - What a session is and why it matters for agent memory
2:00 - [Demo] Memory loss vs memory fixed
2:48 - The difference between events (full interaction logs) and state (quick-access context)
3:53 - A live demo comparing an agent with and without short-term memory
5:05 - Recap
This is part 1 of a 3 part memory series — stay tuned for episodes on persistent memory and long-term memory!
More resources:
Source code → https://goo.gle/40Qi7NJ
ADK Sample → https://goo.gle/4sznhtK
Watch more AI agent crash course → https://goo.gle/AIforBeginners
🔔 Subscribe to Google Cloud Tech → https://goo.gle/GoogleCloudTech
#GoogleCloud #AIAgents
Speakers: Annie Wang
Products Mentioned: Agent Development Kit, Gemini
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
More on: Agent Foundations
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
The Wall Every AI Has Been Hitting And the Startup That Claims to Have Broken Through
Medium · LLM
Unsolved AI Mystery Is Solved Along With Lessons Learned On Why ChatGPT Became Oddly Obsessed With Gremlins And Goblins
Forbes Innovation
The Human Element in AI-Based Emotion Recognition: When Machines Start to Read Our Faces
Medium · Deep Learning
ChatGPT vs Claude AI: Which AI Tool is Best for Your Business? — Complete Guide by Amigoways
Medium · ChatGPT
Chapters (6)
Intro
1:22
What a session is and why it matters for agent memory
2:00
[Demo] Memory loss vs memory fixed
2:48
The difference between events (full interaction logs) and state (quick-access
3:53
A live demo comparing an agent with and without short-term memory
5:05
Recap
🎓
Tutor Explanation
DeepCamp AI