Skip to content

Retool Assist ​

Retool Assist (the AI app generator inside Retool) can be configured to use a custom OpenAI-compatible endpoint on self-hosted Retool deployments. Pointing it at Corveil keeps Retool prompts subject to your organisation's auth, spend caps, and audit log.

Mode ​

Direct mode only. Self-hosted Retool only.

1. Set environment variables on your Retool deployment ​

bash
AI_PROXY_BASE_URL=https://your-corveil-host/v1
AI_PROXY_API_KEY=sk-citadel-your-key-here
AI_PROXY_MODEL=or-gpt-5.1

Variable names may differ slightly between Retool versions — consult the self-hosted configuration reference for the exact keys.

2. Restart Retool and try Assist ​

Once Retool is restarted, every Assist prompt is sent to Corveil. Confirm in the Corveil dashboard or logs.

Caveats ​

  • Retool Cloud uses Retool's hosted AI provider — this configuration only applies to self-hosted Retool
  • Some Assist features may require specific model capabilities (function calling, large context); pick a model accordingly