shodh memory for LangChain
io.github.varun29ankus/shodh-memory
Cognitive memory for AI agents — semantic search, Hebbian learning, knowledge graphs.
client:LangChain
transport:stdio
runtime:npm
Install shodh memory in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"shodh-memory": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@shodh/memory-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs