Relay Assistant
Getting Started
Set up and configure Relay Assistant with your own AI provider keys.
Overview
Relay Assistant brings AI-powered features directly into your database workflow. All AI features are completely optional and can be disabled at any time.
Disabling AI
If you don't need AI features, you can turn them off entirely:
- Open Relay Settings (
⌘ + ,) - Navigate to AI Assistant
- Toggle Enable AI Assistant off
This will disable all AI features across Relay, including:
- AI query fixes in the query editor
- Inline slash prompts
- Query plan explanations
- AI chat panel
You can re-enable AI at any time by toggling the setting back on.
Bring Your Own Key (BYOK)
Relay does not provide AI services directly. Instead, you bring your own API keys from the providers you already use. Your keys are stored securely in the macOS Keychain and are never sent to Relay's servers.
Supported Providers
| Provider | Models |
|---|---|
| Anthropic | Claude 4.5, Claude 4, Claude 3.5 |
| OpenAI | GPT-4o, GPT-4, o-series |
| Gemini 2.5, Gemini 2.0 | |
| GitHub Copilot | Uses your existing Copilot subscription |
| Vercel AI | Access multiple models through Vercel |
| AWS Bedrock | Claude and other models via your AWS account |
| LM Studio | Run local models with no external API calls |
Adding a Provider Key
- Open Relay Settings (
⌘ + ,) - Navigate to AI Assistant
- Select your provider from the dropdown
- Enter your API key
- Click Verify to confirm the key is valid
You can configure multiple providers and switch between them at any time.