OPENAI_API_KEY in .env). If you’d
rather use a different provider — your own Azure OpenAI deployment, AWS
Bedrock, Anthropic directly, or something else — it’s configurable.
You don’t have to redeploy to switch providers. This is also configurable
live from Django Admin (Agent Studio → Coding agent runtime configs),
which takes precedence over
.env once you enable a config there. Use
.env for the version you want to ship with by default, and Django Admin
if you want to change it afterward without restarting containers.Two tracks
RELAI_AGENT_PROVIDER picks which track you’re on:
codex(the default) — an OpenAI-compatible track. Works with OpenAI, Azure OpenAI, AWS Bedrock, or any OpenAI-compatible gateway.claude— an Anthropic-compatible track. Works with direct Anthropic, or Claude on AWS Bedrock, Google Vertex AI, AWS Marketplace, or Microsoft Foundry.
RELAI_AGENT_MODEL_PROVIDER selects the
concrete backend. The sections below cover each one.
- OpenAI (default)
- Azure OpenAI
- AWS Bedrock
- Direct Anthropic
- Claude on Bedrock / Vertex / Foundry
- Local OSS models
Nothing extra to configure beyond what’s already in
Configuration: