YourMemory for LangChain
io.github.sachitrafa/yourmemory
Persistent memory for AI agents. Memories decay with time and strengthen on recall.
client:LangChain
transport:stdio
runtime:pypi
Install YourMemory in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"yourmemory": {
"transport": "stdio",
"command": "uvx",
"args": ["yourmemory"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs