Framework guides
LangChain, Vercel AI SDK, LiteLLM, OpenAI Agents SDK, and CrewAI with Relixr.
All frameworks below use the same contract: base URL https://api.relixr.com/v1 and an rlx_ inference key.
LangChain
Set openai_api_base / base_url to Relixr and pass your Relixr key as api_key.
Vercel AI SDK
import { createOpenAI } from '@ai-sdk/openai'
const relixr = createOpenAI({
apiKey: process.env.RELIXR_API_KEY,
baseURL: 'https://api.relixr.com/v1',
})
LiteLLM
export OPENAI_API_BASE=https://api.relixr.com/v1
export OPENAI_API_KEY=$RELIXR_API_KEY
OpenAI Agents SDK / CrewAI
Point the OpenAI-compatible client at Relixr the same way as Make a request. Bind spend to an agent key for attribution.
Share Connect config
Send teammates to Connect plus this docs site — never put secrets in invite URLs.
Example apps live (or will live) in a separate relixr-examples repository.
Was this helpful?
Still stuck? Help center · Doctor