Skip to main content
LangDB routes model requests through an OpenAI-compatible AI gateway. See LangDB’s Agno integration guide for gateway configuration.

Authentication

Create an API key in LangDB API key settings, then export the gateway credentials and API base URL.

Example

Install the openai package:
Use LangDB with your Agent:
See the LangDB usage examples.

Params

LangDB also supports the params of OpenAI.