wu wei router for LangChain
io.github.jdhart81/wu-wei-router
Plan agent workload routes from evaluation and cost data. $1 USDC per plan; modeled savings only.
client:LangChain
transport:streamable-http
tools:2
Install wu wei router in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"wu-wei-router": {
"transport": "streamable_http",
"url": "https://mcp.viridisconservation.com/wu-wei-router/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs