agent-memory

Adds long-term memory to LangGraph agents using Lakebase for per-user persistence.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/sumitsaxena-git/databricks-app --skill agent-memory-sumitsaxena-git
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-memory
Source: https://github.com/sumitsaxena-git/databricks-app/tree/main/agent-langgraph-long-term-memory/.claude/skills/agent-memory
Command: npx skills add https://github.com/sumitsaxena-git/databricks-app --skill agent-memory-sumitsaxena-git

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Add long-term memory capabilities to LangGraph agents to persist user context and preferences across sessions, enabling more coherent and personalized interactions.

Core Features & Use Cases

  • Long-term memory storage using Lakebase with per-user identities
  • Memory tools to save, recall, and delete memories across sessions
  • Supports checkpointing and retrieval enabling personalized experiences

Quick Start

Integrate memory_tools into your agent and configure a Lakebase store, then pass user_id and store via the RunnableConfig.

Frequently Asked Questions about agent-memory

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

FAQPage Schema
How do I add long-term memory to a LangGraph agent?

To add long-term memory to a LangGraph agent, integrate memory tools and configure a Lakebase store, then pass the user_id and store via the RunnableConfig to persist user context across sessions.

What is long-term memory in conversational agents used for?

Long-term memory in conversational agents is used to persist user context and preferences across sessions, enabling personalized responses and coherent interactions without losing previous checkpointed history.

Does LangGraph long-term memory require a Lakebase store?

Yes, LangGraph long-term memory requires a Lakebase store. You must configure this store alongside a memory_tools factory and supply it through the config to enable per-user memory retrieval.

How do I save and recall user preferences across multiple LangGraph sessions?

You save and recall user preferences across LangGraph sessions by using memory tools to checkpoint data. A config supplies the specific user_id and store, allowing the agent to retrieve personalized history.

What do I need to configure to enable per-user memory identities in LangGraph?

To enable per-user memory identities in LangGraph, you need a memory_tools factory, a Lakebase store, and a config that supplies user_id and store to all memory tools with proper validation and error handling.