How to Add Short-Term Memory to Your AI Agent (Sessions and State Explained)

How to Add Short-Term Memory to Your AI Agent (Sessions and State Explained)

26 March 2026 • 18:01
SHARE
Futur-IA: How to Add Short-Term Memory to Your AI Agent (Sessions and State Explained)

Author: Google Cloud Tech – Duration: 00:06:03

Laboratory → https://goo.gle/agentmemorylab

ADK document →https://goo.gle/4t2J6BG

ADK Intensive Course → https://goo.gle/adk-lab

Learn how to transmit information between agents using agent short-term memory. Annie breaks down the short-term memory of AI agents using Google's Agent Development Kit (ADK), including how sessions, events, and state work together to account for your agent's context. Chapters: 0:00 – Intro 1:22 – What is a session and why it is important for the agent's memory 2:00 – [Demo] Memory Loss and Corrected Memory 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 the first part of a three-part series on memory – 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 courses → https://goo.gle/AIforBeginners

🔔 Subscribe to Google Cloud Tech → https://goo.gle/GoogleCloudTech

#GoogleCloud #AIAgents Speakers: Annie Wang Products Mentioned: Agent SDK, Gemini

Tags:
SHARE

SHARE

NEWSLETTER: Recevez le meilleur de l'actu IA!

Follow us on social networks (French)


              Vidnoz AI

Catégorie:  Video

Vidnoz AI is a video generator tool that allows teams, businesses, and users to create engaging AI videos quickly and affordably. By eliminating the need for cameras, actors and studios, Vidnoz AI saves time and money. Users have reported saving up to 80% on video creation costs and creating videos 10x faster than before. Main[...]


WP Dev AI

Catégorie:  Developer tools

WP Dev AI allows users to effortlessly create custom features for WordPress websites through AI-generated code, eliminating the need for expensive developers. With clear instructions and code snippets accessible at any time, users can effectively improve their WordPress sites without technical expertise. Main Features: AI-powered code generation: Instantly translate feature descriptions into functional code snippets[...]

Leonardo AI

Catégorie:  Image generator

Unleash your creativity with the power of Leonardo Ai. This software allows you to create high-quality visual assets for your projects with unmatched quality, speed and style consistency. It allows you to cultivate originality, offers simplified mastery and boosts innovation, making it an essential tool for various creative activities. Main Features: Image generation: Leonardo's image[...]


              Suno.ai

Catégorie:  Music

Suno.ai is revolutionary software that allows anyone, from shower singers to professional artists, to create music without the need for musical instruments. With just your imagination, you can create your own songs effortlessly. Suno.ai offers a unique and exciting approach to music creation, making it accessible to everyone. Main Features: Music creation based on imagination:[...]

Popular news

Tags