Skip to content
LangChain

RGX — Snap Router + RyRank + Pricing-Truth for LangChain

io.github.trigeochiral/rgx

Tool selection, Cohere-compatible reranking, and on-chain pricing-truth for agents

client:LangChain transport:stdio runtime:pypi

Install RGX — Snap Router + RyRank + Pricing-Truth in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

RGX — Snap Router + RyRank + Pricing-Truth in other clients