Sessions

A Session is one conversation thread, with its events and state. Follow a support chat from create_session to delete_session, then see what a server restart does to in-memory and database sessions.

9 minPro

Checking your access…

This is a Pro lesson

Sign in to continue. Pro members get every animated lesson, its code and its quiz, across ADK, Agent Platform, Agent QA and CX Agent Studio.

Get Pro for ₹999

You're signed in, but this lesson is part of Pro

Get every Pro lesson, its code and its quiz for ₹999, once. Lifetime access, including lessons added later.

Unlocking your lesson…

If this doesn't change in a moment, reload the page.

In this module: Context, sessions and memory

  1. Agent context What each callback and tool can see. Pro
  2. Sessions One conversation, its events and its lifecycle. Pro
  3. State Session, user, app and temp prefixes. Pro
  4. Memory Remembering across sessions. Pro
  5. Artifacts Files and binary data, versioned. Pro
  6. Events The event stream that drives everything. Pro
  7. Context caching and compression Cutting cost and fitting long histories. Pro
  8. Rewind and migrate sessions Going back in time; moving storage. Pro