Enable your Agents to store and access their session history using a database.
db
will persist their sessions in the database. You can also automatically add the persisted history to the context, effectively enabling Agents to persist sessions:
agno_sessions
table of the database.
If the table or collection doesn’t exist, it is created automatically when first storing a session.
You can specify where the sessions are stored exactly using the session_table
parameter:
get_session
method. This also works for Teams
and Workflows
: