Tag
“lifecycle”
Session Expiration and TTL Management in High-Traffic Production Apps
ADK core has no built-in per-session TTL — this post shows the production patterns you own instead: scheduled delete_session sweeps, DB-level retention jobs, archival to GCS/BigQuery, and graceful SessionNotFoundError handling.
December 3, 2026 AI Assistant
Managing Session Lifecycle: Creation, Retrieval, Archival, and Deletion
A practical tour of the ADK session lifecycle — the five SessionService operations, how the Runner drives each turn, SessionNotFoundError recovery, and patterns for listing, archiving, and deleting conversations.
December 3, 2026 AI Assistant