Skip to content

LangGraph OpenAI Serve

Serve registered LangGraph graphs as OpenAI model values through a standard OpenAI-compatible /v1 API.

Get started API reference

  • Run the demo


    Start PostgreSQL and call a runnable graph with the OpenAI Python client.

    Getting started

  • Use your SDK


    Connect from Python or JavaScript, with regular or streaming responses.

    OpenAI clients

  • Register a graph


    Adapt schemas, publish runtime settings, configure streaming, and enable interrupts.

    Custom graphs Runtime settings

  • Understand the contract


    See how OpenAI requests flow through FastAPI into LangGraph and back.

    Architecture

  • Use an integration


    Connect Chainlit, Open WebUI, or an OpenAI-compatible proxy.

    Integrations

OpenAI compatibility is the public contract

LGOS keeps client ingestion on the OpenAI SDK path. Graph-specific behavior is adapted behind /v1, so clients do not need a project-specific protocol.

Configure, Operate, And Deploy

Use the runtime settings guide to publish safe per-request graph settings, the authentication guide to add bearer tokens, and the Docker guide to run a stack. Optional clients and gateways are documented under Integrations. See the reference for endpoints, settings, demo models, and public classes.