lakebase-setup

Configure Lakebase for persistent agent memory storage across LangGraph and agent servers.

Updated Mar 17, 2026
One-click install
npx skills add https://github.com/AshDax/sec_scrapper_agent --skill lakebase-setup-ashdax
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lakebase-setup
Source: https://github.com/AshDax/sec_scrapper_agent/tree/main/agent-langgraph-long-term-memory/.claude/skills/lakebase-setup
Command: npx skills add https://github.com/AshDax/sec_scrapper_agent --skill lakebase-setup-ashdax

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Lakebase-setup configures Lakebase for agent memory storage, enabling persistent short-term memory for LangGraph and long-term memory across sessions.

Core Features & Use Cases

  • Provision Lakebase as a memory backend for short-term and long-term memory in LangGraph templates.
  • Initialize the lakebase database, including the public and agent_server schemas as needed for different memory lifecycles.
  • Provide a complete deployment workflow from dependency setup to permissions grants, ensuring a working memory layer for robust agents.

Quick Start

Follow Step 1 through Step 7 to provision Lakebase, configure your app, and grant the required permissions for memory-backed persistence.

Frequently Asked Questions about lakebase-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure persistent memory for LangGraph agents using Databricks?

To configure persistent memory for LangGraph agents, you provision Lakebase as the memory backend, initialize the required database schemas, and grant service-principal permissions to enable short-term and long-term memory storage across sessions.

What do I need to set up Lakebase for agent memory storage?

Setting up Lakebase for agent memory requires configuring your Databricks environment, provisioning the Lakebase instance, initializing the public and agent_server schemas, and granting the necessary service-principal permissions for deployment.

Does LangGraph persistent memory work across multiple agent sessions with Postgres?

Yes, LangGraph persistent memory works across sessions by using Lakebase, which provides the underlying Postgres-based storage layer to retain both short-term memory and long-term memory between agent server interactions.

What is the difference between the public and agent_server schemas in Lakebase?

The public and agent_server schemas in Lakebase manage different memory lifecycles. Initializing these schemas structures the database to support both short-term memory within active LangGraph templates and long-term memory across sessions.

Why does my Lakebase deployment fail to save agent memories?

Lakebase deployment fails to save agent memories when service-principal permissions are missing. You must explicitly grant deployment permissions to the service principal after initializing the database to ensure the agent memory layer functions correctly.

Step by step, how do I provision Lakebase for a Databricks deployment?

Provisioning Lakebase involves a seven-step workflow: configuring dependencies, provisioning the Lakebase instance, setting up the environment, initializing database schemas, and granting service-principal permissions for a working memory layer.