Configuration options for the AgentOS SQL storage adapter.
Extends the base storage resolution options with AgentOS-specific settings.
AgentOsSqlStorageConfig
const config: AgentOsSqlStorageConfig = { filePath: './agentos.db', priority: ['better-sqlite3', 'sqljs'], enableAutoMigration: true, messageRetentionDays: 90 // Keep 3 months of history}; Copy
const config: AgentOsSqlStorageConfig = { filePath: './agentos.db', priority: ['better-sqlite3', 'sqljs'], enableAutoMigration: true, messageRetentionDays: 90 // Keep 3 months of history};
Optional
Automatically run schema migrations on init
Auto-delete messages older than X days (0 = disabled)
Configuration options for the AgentOS SQL storage adapter.
Extends the base storage resolution options with AgentOS-specific settings.
AgentOsSqlStorageConfig
Example