Documentation

Add human-like memory to any AI. Three memory types — semantic, episodic, and procedural — with a single API.

$ pip install mengram-ai

Getting Started

Quickstart

Get your API key and add your first memory in under 2 minutes.

🧠

Memory Types

Understand semantic, episodic, and procedural memory — and when to use each.

👤

Cognitive Profile

Generate a ready-to-use system prompt that captures who a user is.

SDKs

🐍

Python SDK

Full-featured Python client with zero external dependencies.

Async Client

Non-blocking Python client built on httpx for async/await workflows.

🌐

JavaScript SDK

Node.js and browser SDK with TypeScript types included.

Integrations

🔗

LangChain

MengramRetriever for LangChain RAG pipelines and chains.

🤖

CrewAI

Persistent memory tools for CrewAI agents with procedural learning.

🔌

MCP Server

Model Context Protocol server for Claude Desktop, Cursor, and more.

n8n

Ready-to-import workflow that adds persistent memory to any n8n AI agent.

Reference

📖

API Reference

Complete REST API documentation with all endpoints, parameters, and responses.

🔍

Search & Filters

Semantic search, metadata filters, graph traversal, and unified search.

📨

Webhooks

Real-time notifications when memories are created, updated, or deleted.