Skip to content
LangChain

cognitive substrate for LangChain

io.github.jaysonaionline/cognitive-substrate

28-layer cognitive substrate with cross-session ToT evolutionary memory and self-telemetry tools

client:LangChain transport:stdio runtime:pypi

Install cognitive substrate in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "cognitive-substrate": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["mcp-cognitive-substrate"],
        }
})

tools = await client.get_tools()

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

cognitive substrate in other clients