> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agno.com/llms.txt
> Use this file to discover all available pages before exploring further.

# State And Session

> Examples for session state management, chat history, and session persistence.

| Example                                                                                         | Description                                                                                |
| ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [Agentic Session State](/examples/agents/state-and-session/agentic-session-state)               | Required so the agent is aware of the session state.                                       |
| [Chat History](/examples/agents/state-and-session/chat-history)                                 | Manage and access agent chat history.                                                      |
| [Dynamic Session State](/examples/agents/state-and-session/dynamic-session-state)               | Update session state dynamically during agent runs.                                        |
| [Last N Session Messages](/examples/agents/state-and-session/last-n-session-messages)           | Remove the tmp db file before running the script.                                          |
| [Persistent Session](/examples/agents/state-and-session/persistent-session)                     | Persistent Session Example.                                                                |
| [Session Options](/examples/agents/state-and-session/session-options)                           | Simple example demonstrating store\_history\_messages option.                              |
| [Session State Advanced](/examples/agents/state-and-session/session-state-advanced)             | Define tools to manage our shopping list.                                                  |
| [Session State Basic](/examples/agents/state-and-session/session-state-basic)                   | Create an Agent that maintains state.                                                      |
| [Session State Events](/examples/agents/state-and-session/session-state-events)                 | Create an Agent that maintains state.                                                      |
| [Session State Manual Update](/examples/agents/state-and-session/session-state-manual-update)   | Create an Agent that maintains state.                                                      |
| [Session State Multiple Users](/examples/agents/state-and-session/session-state-multiple-users) | This example demonstrates how to maintain state for each user in a multi-user environment. |
| [Session Summary](/examples/agents/state-and-session/session-summary)                           | This example shows how to use the session summary to store the conversation summary.       |
