What problem does it solve?
Lakebase-backed agent memory can fail or become unavailable due to missing dependencies, misconfigured Databricks bundle resources, missing environment variables, or insufficient Postgres permissions for the app service principal.
Core Features & Use Cases
- Instance-aware Lakebase provisioning: Guides configuration for both provisioned Lakebase instances and autoscaling (project/branch/database ID) setups.
- Databricks bundle configuration: Shows how to add the correct
database (provisioned) or postgres (autoscaling) resource in databricks.yml and wire required env vars for embedding.
- Service principal permission grants: Provides a critical post-deploy permission grant workflow to prevent table/schema migration errors and checkpoint/store access failures.
- Troubleshooting for common errors: Covers “Failed to connect to Lakebase”, missing
embedding_dims, unresolved instance values, and permission denied errors.
Quick Start
Ask the agent to set up Lakebase for agent long-term memory by configuring the correct Databricks bundle resources for your Lakebase type and ensuring the service principal permissions are granted for the required schemas and tables.