Skip to content
LangChain

structured output agent for LangChain

io.github.mikerawsonnz/structured-output-agent

Turn a prompt + a field schema into validated, typed JSON (Instructor over Gemini 2.5 Flash on Verte

client:LangChain transport:streamable-http tools:2

Install structured output agent in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "structured-output-agent": {
            "transport": "streamable_http",
            "url": "https://fastmcp-instructor-72225f.getvda.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

structured output agent in other clients