Skip to content
LangChain

Agnes for LangChain

io.github.keboola/agnes

Governed access to your company's data and memory: catalog, schema, SQL and skills.

client:LangChain transport:streamable-http

Install Agnes in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "agnes": {
            "transport": "streamable_http",
            "url": "https://{instance_host}/api/mcp/http",
        }
})

tools = await client.get_tools()

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

Agnes in other clients