Storage
SingleStore
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
Parameter | Type | Description | Default |
---|---|---|---|
table_name | str | Name of the SingleStore table | Required |
schema | Optional[str] | Database schema name | "ai" |
db_url | Optional[str] | SingleStore connection URL | None |
db_engine | Optional[Engine] | Pre-configured SQLAlchemy engine | None |
schema_version | int | Schema version number | 1 |
auto_upgrade_schema | bool | Auto-upgrade schema on init | False |