Skip to content
LangChain

AgentEconomy Compliance API for LangChain

io.github.piwe/compliance-api

Paid KYC, AML, and regulatory risk assessment over MCP via x402 USDC micropayments on Base.

client:LangChain transport:streamable-http tools:4

Install AgentEconomy Compliance API in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "compliance-api": {
            "transport": "streamable_http",
            "url": "https://api.netbrainis.co.za/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

AgentEconomy Compliance API in other clients