Skip to main content
Why do we need Session Storage? Teams are ephemeral and stateless. When you run a Team, no state is persisted automatically. In production environments, we serve (or trigger) Teams via an API and need to continue the same session across multiple requests. Storage persists the session history and state in a database and allows us to pick up where we left off. Here is a simple example showing how to configure storage for a Team:
See Agent Session Storage for more details on how sessions are stored in general.

Session table schema

If you have a db configured for your team, the sessions will be stored in the sessions table in your database. The schema for the sessions table is as follows: This data is best displayed on the sessions page of the AgentOS UI.

Developer Resources