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.
| 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 |
Teams already using LangGraph and LangSmith who want memory deeply integrated into their LangChain workflow.
Framework-agnostic memory with 3 types. Works with any LLM, any framework, any client. Free cloud API + MCP + Cognitive Profile.
No credit card. Get your API key in 30 seconds.