Skip to content
LangChain

SMRITI Memory for LangChain

io.github.smriti-memcore/smriti-memory

Neuro-inspired long-term memory for AI agents with semantic graph and consolidation.

client:LangChain transport:stdio runtime:pypi

Install SMRITI Memory in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "smriti-memory": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["smriti-memcore"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

SMRITI Memory in other clients