Updated March 10, 2026
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.
Memary is an open-source knowledge graph memory system for AI agents. It specializes in building and querying complex reasoning trails rather than simple chat log retrieval, using knowledge graphs to track entities, relationships, and reasoning chains across agent interactions.
What each tool does well, and the limitations to keep in mind.
Pros
Cons
Pros
Cons
Respan lets you trace LLM and agent calls across any model or framework, A/B test prompts on production traffic, and route requests across 500+ models through one gateway.