LangGraph OpenAI Serve¶
Serve registered LangGraph graphs as OpenAI model values through a standard
OpenAI-compatible /v1 API.
-
Run the demo
Start PostgreSQL and call a runnable graph with the OpenAI Python client.
-
Use your SDK
Connect from Python or JavaScript, with regular or streaming responses.
-
Register a graph
Adapt schemas, publish runtime settings, configure streaming, and enable interrupts.
-
Understand the contract
See how OpenAI requests flow through FastAPI into LangGraph and back.
-
Use an integration
Connect Chainlit, Open WebUI, or an OpenAI-compatible proxy.
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.