Each agent includes a PostgreSQL database for persistent storage. Configure which memory types your agent supports using the toggles in the Workbench UI:
Session Storage
Automatic conversation history and state persistence (always enabled)
User Memories
Long-term facts and preferences about users (“ChatGPT-style” memory)
Session Summaries
Automatically summarizes long conversations for future reference
For advanced use cases, the storage is accessible programmatically via agno_agent.storage.
The memory configuration from the Workbench UI is automatically applied to your agent. Use the user_id parameter to access user-specific memories and conversation history:
Copy
Ask AI
from xpander_sdk import Backendfrom agno.agent import Agentbackend = Backend()agno_agent = Agent(**backend.get_args()) # Memory settings applied from UIagno_agent.print_response(message="What did we talk about yesterday?", user_id="user123")