Home / Companies / LangChain / Blog / Post Details
Content Deep Dive

LangMem SDK for agent long-term memory

Blog post from LangChain

Post Details
Company
Date Published
Author
-
Word Count
1,457
Company Posts That Month
11
Language
English
Hacker News Points
-
Post removed?
No
Summary

LangMem SDK is a new library designed to enhance AI agents by incorporating long-term memory capabilities, allowing them to learn and improve over time. The SDK offers tools to extract information from conversations, optimize agent behavior, and maintain memories of behaviors, facts, and events, integrating seamlessly with any storage system and agent framework. A managed service is also available, providing additional long-term memory results for free. LangMem supports different memory types, including semantic memory for facts and knowledge, procedural memory for behavior patterns, and episodic memory for past experiences, each serving distinct functions to build adaptive agents. The SDK emphasizes the importance of mapping agent capabilities to specific memory types and questions like which behaviors should adapt or remain fixed, what knowledge to track, and when memories should be recalled. Privacy and performance considerations are addressed by scoping memory to users or teams, while integration with LangGraph ensures effective short-term memory management. LangMem aims to make AI experiences smarter and more personalized, building on prior work with LangGraph's memory layer, and it invites users to explore custom memory systems and join their team in advancing adaptive AI agents.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
AI Agents 2 1,470 249 96 +70%
RAG 2 1,400 238 76 -22%
Data Pipeline 1 439 171 69 -12%
Harness engineering 1 5 5 5 +25%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.