Skip to content
LangChain

rational agnostic for LangChain

io.github.fagugon283/rational-agnostic

Vendor-agnostic governance & traceability layer for AI coding agents (MCP + CLI).

client:LangChain transport:stdio runtime:npm

Install rational agnostic in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "rational-agnostic": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "rational-agnostic"],
        }
})

tools = await client.get_tools()

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

rational agnostic in other clients