Skip to content
LangChain

HumanLeg.ai for LangChain

io.github.humanleg-ai/humanleg

Hand bounded tasks from AI agents to trusted humans.

client:LangChain transport:streamable-http runtime:npm tools:4

Install HumanLeg.ai in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "humanleg": {
            "transport": "streamable_http",
            "url": "https://humanleg.ai/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

HumanLeg.ai in other clients