Also used as: AI agent state.
Agent state represents information relevant to tracking an interaction or execution and guiding its next steps. It may indicate the current stage, data already obtained, and open questions. In Google ADK, session state is a collection of key-value pairs that changes during a conversation, separately from the full event history. That particular structure belongs to the documented implementation. Google ADK, session state.
Information at a particular moment
State answers questions such as: which request is being handled, what has been checked, and what remains unresolved? It does not need to reproduce the entire conversation. A completed-stage marker, a document identifier, and a list of pending items may be more useful for execution than the complete text of every message.
In a hypothetical supplier registration process, state could record that documents have arrived, the address still needs confirmation, and analysis is waiting for that information. On receiving another message, the application would consult that state to continue the relevant stage. Recording confirmation before checking the address would create an inaccurate representation of progress.
Duration and scope are separate choices
Session state does not necessarily disappear when a screen closes. Nor does it necessarily become permanent memory. ADK documents several scopes and explains that survival across an application restart depends on the selected service. Its in-process implementation loses data on restart, while persistent services behave differently. These details cannot automatically be applied to other libraries. Google ADK, persistence and scope.
Agent memory can make information from previous interactions available for later retrieval. State describes what the current execution is tracking, even when it remains stored for longer. A checkpoint can record a version of that state to support continuity.
For the hypothetical registration, retaining state helps resume the request but does not establish that the supplier has been approved. The stored information needs to distinguish data received, checks performed, and decisions pending. That separation makes progress understandable both to the agent and to the people following the work. It also avoids treating an old status marker as evidence of a verification that never took place.
Sources
- State: The Session’s Scratchpad Google ADK
ADK state holds key-value pairs with distinct scopes; persistence depends on the selected service.
A conversation about your organization.
Before recommending any tool, we talk with your teams and map how the work really happens.
Arrange a conversation


