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
| # | Article | Case | Status |
|---|---|---|---|
| 1 | Session Management: Creation, Persistence and Recovery | adk-go-memory-session | 🔄 In Progress |
| 2 | State Read/Write: Agent Internal State | adk-go-memory-state | 🔄 In Progress |
| 3 | Event System: Understanding Agent Event Flow | adk-go-memory-event | 🔄 In Progress |
| 4 | Context Caching: Large Context Optimization | adk-go-memory-context-caching | 🔄 In Progress |
| 5 | Context Compression: Keep Context Lean | adk-go-memory-context-compression | 🔄 In Progress |
| 6 | Rewind Sessions: Session Rewind | adk-go-memory-rewind | 🔄 In Progress |
Prerequisites
- Completed Module 3: Tool Usage
- Understand Agent and Tool basics
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 →