State & Session

Share state across team members and persist sessions, chat history, searches, and summaries.

ExampleDescription
Agentic Session StateDemonstrates team and member agentic state updates on shared session state.
Change State On RunDemonstrates per-run session state overrides for different users/sessions.
Nested Shared StateDemonstrates hierarchical teams that coordinate over shared session state.
Overwrite Stored Session StateDemonstrates replacing persisted session_state with run-time session_state.
State SharingDemonstrates sharing session state and member interactions across team members.
Chat HistoryDemonstrates retrieving chat history and limiting included history messages.
Persistent SessionDemonstrates persistent team sessions with optional history injection.
Session OptionsDemonstrates session naming, in-memory DB usage, and session caching options.
Session SummaryDemonstrates session summary creation, context reuse, and async summary retrieval.
Share Session With AgentDemonstrates sharing one session across team and single-agent interactions.
Custom Session SummaryDemonstrates configuring a custom session summary manager and reusing summaries in context.
Metadata ResolutionResolve team, session, and call metadata with later layers taking precedence.
Deep Nested Team HistoryReuse session history across a team nested three levels deep.
Nested Team HistoryPersist a nested sub-team's conversation history across delegations.
Nested Team History for MembersInclude the selected sub-team's history in its delegated task.
Search Past SessionsList a user's team sessions, then read one session's history.