agent-memory

Persist user data across LangGraph agent sessions with Lakebase-backed memory tools.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Memory capability to persist user interactions and preferences, enabling agents to recall context across sessions and improve personalization.

Core Features & Use Cases

  • Memory tools factory (memory_tools()) that provides get_user_memory, save_user_memory, delete_user_memory.
  • Long-term memory stored in Lakebase via AsyncDatabricksStore with user_id scoping.
  • Easy integration with existing LangGraph agents and streaming workflows.

Quick Start

Integrate memory by wiring memory_tools() with a Lakebase-backed store and pass user_id in requests.

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 LangGraph agents for persistent context?

To add long-term memory to LangGraph agents, use the memory_tools() factory to integrate an AsyncDatabricksStore. This persists user data and conversation history across sessions by scoping memories with a provided user_id.

Can I use Lakebase to store user preferences during streaming agent workflows?

Yes, you can use Lakebase to store user preferences during streaming workflows by wiring memory_tools() with an AsyncDatabricksStore. This requires passing a user_id in requests to properly scope and save the memories.

What memory functions are available for managing persistent agent context?

The available memory functions for managing persistent agent context are get_user_memory, save_user_memory, and delete_user_memory. These are provided by the memory_tools() factory to retrieve, store, and remove user data.

Do I need a user_id to scope memories in a Lakebase-backed store?

Yes, you need a user_id to scope memories in a Lakebase-backed store. Passing a user_id in requests ensures that the AsyncDatabricksStore correctly partitions and retrieves long-term memory for individual users.

Why does my LangGraph agent fail to recall context across sessions?

Your LangGraph agent fails to recall context across sessions if long-term memory is not configured. You must wire memory_tools() with a compatible store like AsyncDatabricksStore and pass a user_id to persist data.

What is the best way to integrate conversation history checkpoints into existing LangGraph agents?

The best way to integrate conversation history checkpoints into existing LangGraph agents is by applying memory_tools() with a Lakebase-backed store. This enables seamless recall of user preferences and history without disrupting streaming workflows.