Storage
SQLite
SQLite Agent Storage is a class that implements the AgentStorage interface using SQLite as the backend storage system. It provides lightweight, file-based storage for agent sessions with support for JSON data types and schema versioning.
Parameters
Parameter | Type | Description | Default |
---|---|---|---|
table_name | str | Name of the SQLite table | Required |
db_url | Optional[str] | SQLite connection URL | None |
db_file | Optional[str] | Path to SQLite database file | 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 |