Skip to content
LangChain

Lium GPU Cloud for LangChain

io.github.datura-ai/lium

Rent NVIDIA GPU pods on Lium, run commands on them and remove them, billed per second.

client:LangChain transport:stdio runtime:pypi

Install Lium GPU Cloud in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "lium": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["lium.io"],
        }
})

tools = await client.get_tools()

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

Lium GPU Cloud in other clients