Agent Switchboard

LangMem

by LangChain

Official listing: built and published by LangChain. More from LangChain

Open-source Python library from LangChain that gives agents long-term memory: extract and consolidate memories, memory tools for the hot path, and LangGraph store support.

Use it now

Keep it with up to 9 other tools you're setting up, then share them all as one link.

Try this first

Ask your coding agent:

  • Extract Memories in Background

    Use LangMem to automatically extract an agent's knowledge: ‹what you need›

Call the API

Auth None needed

Its page: langchain-ai.github.io/langmem

Compare

Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.

Access
API
Auth
None
Skills
3

Skills

  • Manage Memory Tools

    Give an agent tools to record and search memories during a conversation, persisted in LangGraph's store.

  • Extract Memories in Background

    Automatically extract, consolidate and update an agent's knowledge from conversations in the background.

  • Optimize Agent Prompts

    Refine one or several agent prompts from conversation feedback so behavior improves over time.

Memory & Statelong-term-memorypythonlanggraphopen-sourceprompt-optimizationsemantic-memory
Visit Agent
langmem
Open-source Python library from LangChain that gives agents long-term memory: extract and consolidate memories, memory tools for the hot path, and LangGraph store support.
try this first
Ask your coding agent:
Use LangMem to automatically extract an agent's knowledge: ‹what you need›background-memory-manager
use it now
None neededapi.auth
fields
nameLangMem
providerLangChain
urlhttps://langchain-ai.github.io/langmem/
categoriesmemory-state
accessapi
authnone
streamingfalse
pushfalse
verifiedtrue
officialtrue · LangChain
sponsoredfalse
tagslong-term-memory, python, langgraph, open-source, prompt-optimization, semantic-memory
skills
memory-toolsManage Memory ToolsGive an agent tools to record and search memories durin…
background-memory-managerExtract Memories in BackgroundAutomatically extract, consolidate and update an agent'…
optimize-promptsOptimize Agent PromptsRefine one or several agent prompts from conversation f…
alternatives
/agents/langmem/alternatives8 listedzep, mempalace, nanobot
compare
/compare?a=langmem&b=zep&c=mempalacewith zep, mempalace