Skip to content
LangChain

Onde Inference CLI for LangChain

io.github.ondeinference/onde-cli

Manage your Onde Inference account and models: apps, model catalog, fine-tuned GGUF deploys.

client:LangChain transport:stdio runtime:npm

Install Onde Inference CLI in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "onde-cli": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@ondeinference/cli"],
        }
})

tools = await client.get_tools()

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

Onde Inference CLI in other clients