Skip to content
LangChain

Agent Exchange router for LangChain

work.agentexchange/router

Say what your agent needs; get the paid x402 API that works now, with exact request and terms.

client:LangChain transport:streamable-http tools:8

Install Agent Exchange router in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "router": {
            "transport": "streamable_http",
            "url": "https://agentexchange.work/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

Agent Exchange router in other clients