Skip to content
LangChain

Engram for LangChain

io.github.rwnalds/engram

Git-backed markdown memory for AI agents; search hides superseded and archived notes.

client:LangChain transport:stdio runtime:oci

Install Engram in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "engram": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/rwnalds/engram:0.1.2"],
        }
})

tools = await client.get_tools()

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

Engram in other clients