Skip to content
LangChain

Durable Thinking for LangChain

io.github.linxule/durable-thinking

Self-hosted persistent sequential thinking with private history and MCP App visualization.

client:LangChain transport:streamable-http

Install Durable Thinking in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "durable-thinking": {
            "transport": "streamable_http",
            "url": "https://{worker_host}/mcp-compat",
        }
})

tools = await client.get_tools()

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

Durable Thinking in other clients