Skip to content
LangChain

XGuard — Agent Execution Gateway for LangChain

io.github.moelayyan90/xguard-control-plane

Scoped agent execution. Server-side credentials, policy, budgets and verifiable receipts.

client:LangChain transport:streamable-http tools:8

Install XGuard — Agent Execution Gateway in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "xguard-control-plane": {
            "transport": "streamable_http",
            "url": "https://api.xguardgate.com/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

XGuard — Agent Execution Gateway in other clients