Keywords AI
Compare LangMem and Letta side by side. Both are tools in the Memory Layer category.
| Category | Memory Layer | Memory Layer |
| Website | langchain-ai.github.io | letta.com |
LangMem is LangChain's long-term memory solution for AI agents. It provides tools for extracting, storing, and retrieving memories from agent interactions, enabling agents to learn and improve over time. LangMem integrates natively with the LangGraph agent framework and supports multiple memory types including semantic, episodic, and procedural memory.
Letta (formerly MemGPT) is an open-source framework for building AI agents with long-term memory and self-editing capabilities. It implements a virtual context management system that allows LLMs to manage their own memory hierarchy, enabling persistent state, unbounded context, and adaptive memory across conversations.
Tools and frameworks for adding persistent, long-term memory to AI agents and LLM applications. These systems manage conversation history, user preferences, and learned context across sessions, enabling more personalized and context-aware AI interactions.
Browse all Memory Layer tools →