agent memory for LangChain
io.github.mastadoonprime/agent-memory
Persistent, agent-owned memory with encrypted storage and shared knowledge commons.
client:LangChain
transport:sse
Install agent memory in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"agent-memory": {
"transport": "streamable_http",
"url": "https://agent-memory-production-6506.up.railway.app/sse",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs