Module 4: Memory & Context

ADK’s most core differentiator — understand how Agent “remembers” conversations, manages state, and optimizes context. From Session lifecycle to session rewind.

Articles

#ArticleCaseStatus
1Session Management: Creation, Persistence and Recoveryadk-go-memory-session🔄 In Progress
2State Read/Write: Agent Internal Stateadk-go-memory-state🔄 In Progress
3Event System: Understanding Agent Event Flowadk-go-memory-event🔄 In Progress
4Context Caching: Large Context Optimizationadk-go-memory-context-caching🔄 In Progress
5Context Compression: Keep Context Leanadk-go-memory-context-compression🔄 In Progress
6Rewind Sessions: Session Rewindadk-go-memory-rewind🔄 In Progress

Prerequisites

Learning Objectives

After completing this module, you will:

  • Master Session creation, persistence and recovery
  • Understand State read/write API and cross-turn sharing
  • Listen and handle various Agent events
  • Optimize with context caching and compression
  • Know when to use session rewind

Learning Path

Complete these six articles in order before proceeding to the “Multi-Agent Collaboration” module.

Module 3: Tool Usage | Module 5: Multi-Agent Collaboration →