Interface AgentOsSqlStorageConfig

Configuration options for the AgentOS SQL storage adapter.

Extends the base storage resolution options with AgentOS-specific settings.

AgentOsSqlStorageConfig

Example

const config: AgentOsSqlStorageConfig = {
filePath: './agentos.db',
priority: ['better-sqlite3', 'sqljs'],
enableAutoMigration: true,
messageRetentionDays: 90 // Keep 3 months of history
};
interface AgentOsSqlStorageConfig {
    enableAutoMigration?: boolean;
    messageRetentionDays?: number;
}

Hierarchy

  • StorageResolutionOptions
    • AgentOsSqlStorageConfig

Properties

enableAutoMigration?: boolean

Automatically run schema migrations on init

messageRetentionDays?: number

Auto-delete messages older than X days (0 = disabled)