FabricFabricHarness
EcosystemDatabases

Databases

Durable session stores and governed database connectivity.

Fabric uses databases for durable runtime state and exposes separate, policy-gated tools for agent data access. Do not give the model raw database credentials.

DatabaseRuntime useAgent data access
libSQLUnified local or remote bundle through libsqlPersistence().Scoped tool guide.
MongoDBUnified bundle through mongodbPersistence().First-party collection-bound find tools.
MySQLUnified bundle through mysqlPersistence().First-party fixed-statement tools.
PostgresUnified session, submission, stream, attachment, run/event, and cost persistence through postgresPersistence().First-party fixed-statement tools.
RedisProject-owned coordination/store implementation.First-party namespaced get/set tools.
SupabaseReuse postgresPersistence() with the direct Postgres connection.RLS-aware table/RPC tool guide.
TursoReuse libsqlPersistence() with a remote URL/token.Parameterized libSQL tool guide.
ValkeyReuse redisPersistence() with a Redis-protocol client.Namespaced command tool guide.
Databricks LakebaseSessions, submissions, conversation streams, and attachments for Databricks Apps.Use governed Databricks SQL and Unity Catalog tools separately.
SQLiteLocal durable sessions through Node configuration.First-party fixed-statement tools.

See Session stores for the complete persistence contract.

Install governed data tools with pnpm add @fabric-harness/databases or scaffold a complete provider module with fh add database postgres, mysql, mongodb, redis, or sqlite. Postgres and Lakebase, MySQL, MongoDB, libSQL/Turso, Redis/Valkey, SQLite, and Supabase/Postgres provide durable Fabric stores. Data tools and session persistence remain separate so model-facing access never receives runtime-store credentials implicitly.