SingleStore Agent Storage is a class that implements the AgentStorage interface using SingleStore (formerly MemSQL) as the backend storage system. It provides high-performance, distributed storage for agent sessions with support for JSON data types and schema versioning.

Parameters

ParameterTypeDescriptionDefault
table_namestrName of the SingleStore tableRequired
schemaOptional[str]Database schema name"ai"
db_urlOptional[str]SingleStore connection URLNone
db_engineOptional[Engine]Pre-configured SQLAlchemy engineNone
schema_versionintSchema version number1
auto_upgrade_schemaboolAuto-upgrade schema on initFalse