Skip to main content
For a complete, runnable example (including python files), see the official LangGraph Example in the repository.

Overview

MemMachine provides memory tools that can be integrated into LangGraph workflows to enable AI agents with persistent memory capabilities. This allows agents to remember past interactions, user preferences, and context across multiple sessions.

Configuration

The demo can be configured via environment variables:

Usage

Setting Environment Variables

Running the Demo

Integration Guide

1. Initialize MemMachineTools

2. Create Tool Functions

3. Use in LangGraph Nodes

4. Run the Workflow

Requirements

  • MemMachine server running (default: http://localhost:8080)
  • Python 3.12+
  • LangGraph (for full workflow integration)