# Mengram vs LangMem

LangMem is LangChain's memory module for LangGraph agents. Mengram is a standalone memory API that works with any framework — LangChain, CrewAI, OpenAI, or direct API calls.

## What LangMem does well

- Native LangGraph integration — first-class LangChain support
- Thread-scoped and cross-thread memory
- Backed by LangChain team — strong ecosystem alignment
- Memory formed via background processing

## What LangMem doesn't have

- Tightly coupled to LangGraph — harder to use outside LangChain
- No episodic memory (events, decisions)
- No procedural memory (workflows)
- No Cognitive Profile
- No standalone MCP server
- No knowledge graph visualization

## Feature comparison

|  | Mengram | LangMem |
| --- | --- | --- |
| Semantic memory (facts) | ✅ | ✅ |
| Episodic memory (events) | ✅ | ❌ |
| Procedural memory (workflows) | ✅ | ❌ |
| Self-improving procedures | ✅ | ❌ |
| Cognitive Profile | ✅ | ❌ |
| Multi-user isolation | ✅ | ✅ |
| Knowledge graph | ✅ | ❌ |
| MCP server | ✅ | ❌ |
| Import (ChatGPT, Obsidian) | ✅ | ❌ |
| Self-hostable | ✅ | ✅ |
| Price | Free | Via LangSmith plans |

## When to choose what

### Choose LangMem if...

Teams already using LangGraph and LangSmith who want memory deeply integrated into their LangChain workflow.

### Choose Mengram if...

Framework-agnostic memory with 3 types. Works with any LLM, any framework, any client. Cloud API + MCP + Cognitive Profile.

## Try Mengram free

No credit card. Get your API key in 30 seconds.

[Get API Key](/#signup) [Read Docs](https://docs.mengram.io/)
