Skip to content
LangChain

DecRec for LangChain

io.decrec/decrec

Decision memory for AI agents: record, revisit, and resolve consequential choices.

client:LangChain transport:streamable-http

Install DecRec in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "decrec": {
            "transport": "streamable_http",
            "url": "https://decrec.io/mcp",
        }
})

tools = await client.get_tools()

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

DecRec in other clients