Skip to main content

What is Mengram?

Mengram is an API that gives your AI applications persistent, human-like memory. Instead of starting every conversation from scratch, your AI remembers users — their preferences, past interactions, and learned workflows.

Quickstart

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

Memory Types

Understand semantic, episodic, and procedural memory.

Python SDK

Full reference for the Python client (61 methods).

JavaScript SDK

Node.js and browser SDK with TypeScript support (60 methods).

Integrations

Claude Code

Full memory loop — auto-save, auto-recall, session context.

MCP Server

29 tools for Claude Desktop, Cursor, Windsurf.

LangChain

MengramRetriever for RAG pipelines.

CrewAI

Persistent memory for multi-agent crews.

n8n

Ready-to-import workflow template.

CLI

Command-line tool for setup, import, and rules.

Reference

API Reference

Complete REST API with 90+ endpoints.

Webhooks

Real-time notifications for memory events.

Self-hosting

Run Mengram on your own infrastructure.