lakebase-memory-patterns

Official

Stateful agents with persistent memory.

Authordatabricks-solutions
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables stateful AI agents to maintain conversation continuity and remember user preferences across sessions by leveraging Databricks Lakebase for both short-term and long-term memory.

Core Features & Use Cases

  • Short-Term Memory: Ensures conversation continuity within a single session using CheckpointSaver.
  • Long-Term Memory: Stores user preferences and insights across multiple sessions using DatabricksStore with vector embeddings.
  • Graceful Degradation: Allows the agent to function even if memory tables are unavailable.
  • Thread ID Resolution: Intelligently determines the conversation thread ID for state management.
  • Use Case: An AI customer support agent can remember a user's previous issues and preferences, providing a more personalized and efficient support experience without starting from scratch each time.

Quick Start

Initialize the short-term memory with your Lakebase instance name and use its checkpointer when compiling your LangGraph workflow.

Dependency Matrix

Required Modules

None required

Components

referencesscripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lakebase-memory-patterns
Download link: https://github.com/databricks-solutions/vibe-coding-workshop-template/archive/main.zip#lakebase-memory-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.