hmem — Humanlike Memory for AI Agents for LangChain
io.github.bumblebiber/hmem-mcp
Persistent 5-level hierarchical memory for AI agents. SQLite-backed, lazy-loaded.
client:LangChain
transport:stdio
runtime:npm
Install hmem — Humanlike Memory for AI Agents in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"hmem-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "hmem-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs