SQL Storage
Correct extension method
Section titled “Correct extension method”The current DI entry point is:
AddAgentCircuitsSqlStorage(...)Some older README content still shows AddAgentCircuitsSql, but the source uses AddAgentCircuitsSqlStorage.
Active options
Section titled “Active options”The SQL storage options include a connection string, schema settings, schema creation behavior, and migration control.
The server currently binds these keys:
AgentCircuits:Storage:ModeAgentCircuits:Storage:ConnectionStringAgentCircuits:Storage:SchemaAgentCircuits:Storage:EnsureSchemaAgentCircuits:Storage:Migrations:EnabledMigration behavior
Section titled “Migration behavior”The migration runner currently:
- takes an advisory lock
- optionally creates the schema
- sets
search_pathto the configured schema - tracks applied migrations in
<schema>._migrations
Persistence model
Section titled “Persistence model”Several repository implementations persist structured data as JSONB, including:
- provider settings and enabled model lists
- remote-agent auth config
- channel settings and routing
- channel conversation context
Important note
Section titled “Important note”SqlStorageOptions.CommandTimeout exists in source, but the current server config does not bind a dedicated Storage:CommandTimeout setting.