Skip to content
LangChain

Agent Mandate Verification for LangChain

io.github.api-disk-integrations/agent-mandate

Verify a proposed action against a signed Agent Mandate without executing or mutating accounts.

client:LangChain transport:stdio runtime:npm

Install Agent Mandate Verification in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "agent-mandate": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@api-disk-integrations/agent-mandate-mcp"],
        }
})

tools = await client.get_tools()

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

Agent Mandate Verification in other clients