Accéder au contenu principal

Cours

Google: Manage Agent Memory and State

Intermédiaire1 h 30 min

Build stateful AI agents that maintain context and remember user preferences using session state, memory management, and personalization.

R1 h 30 min16 exercices800 XP130Attestation de réussite

Créez votre compte gratuit

Continuer avec Google
ou
En continuant, vous acceptez notre conditions d'utilisation, nos politique de confidentialité et que vos données soient stockées aux États-Unis.

Plébiscité par les apprenants de milliers d'entreprises

Vous formez une équipe ?

Essayer pour les entreprises

Description du cours

You've built basic LLM agents that respond to queries—now let's make them stateful. Use session state to build agents that maintain context, remember user preferences, and provide personalized experiences. Transform agents from stateless responders to intelligent assistants.

Prérequis

Ce cours ne requiert aucun prérequis.

Programme de formation

Plan du cours

1

Session State Fundamentals

Session state is a dictionary where your agent stores data it needs to remember and access programmatically. Unlike conversation history (which only the LLM can read), session state gives you code-level access to exact values.
Commencer le chapitre
2

Dynamic Instructions with State

In Part 1, you learned that session state is a dictionary you can access programmatically. Now you'll learn to inject state values into agent instructions using {var} templating, enabling dynamic agent behavior.
Commencer le chapitre
3

State Namespaces and Persistence

You've learned to use state for programmatic control and data passing. Now you'll master state namespaces—controlling how long state values persist and who can access them.
Commencer le chapitre
4

Reading List

Reading List
Commencer le chapitre
R

Google: Manage Agent Memory and State

Cours
terminé

Obtenez un certificat de réussite

S'inscrire maintenant

Développez vos compétences en données avec DataCamp for Mobile

Progressez où que vous soyez grâce à nos cours mobiles et à nos défis de code quotidiens de 5 minutes.