Provider Setup
Configure LLM providers to enable evaluations and optimization. Providers are managed through the dashboard. Use the CLI to verify and test your provider connections.Dashboard Configuration
All provider configuration is done through the MutagenT dashboard:Navigate to Settings
OpenAI
Dashboard Setup
- Go to Settings > Providers
- Click Add Provider > OpenAI
- Enter your OpenAI API key (
sk-...) - Select default model (e.g.,
gpt-5) - Optionally set organization ID
- Click Save
Required Fields
| Field | Description | Example |
|---|---|---|
| API Key | Your OpenAI API key | sk-proj-... |
| Default Model | Default model for operations | gpt-5 |
| Organization | OpenAI organization ID (optional) | org-... |
Anthropic
Dashboard Setup
- Go to Settings > Providers
- Click Add Provider > Anthropic
- Enter your Anthropic API key (
sk-ant-...) - Select default model (e.g.,
claude-sonnet-4-6) - Click Save
Required Fields
| Field | Description | Example |
|---|---|---|
| API Key | Your Anthropic API key | sk-ant-... |
| Default Model | Default model for operations | claude-sonnet-4-6 |
Google AI (Gemini)
Dashboard Setup
- Go to Settings > Providers
- Click Add Provider > Google AI
- Enter your Google AI API key (
AIza...) - Select default model (e.g.,
gemini-3-flash) - Click Save
Required Fields
| Field | Description | Example |
|---|---|---|
| API Key | Your Google AI API key | AIza... |
| Default Model | Default model for operations | gemini-3-flash |
Azure OpenAI
Dashboard Setup
- Go to Settings > Providers
- Click Add Provider > Azure OpenAI
- Enter your Azure OpenAI credentials
- Click Save
Required Fields
| Field | Description | Example |
|---|---|---|
| API Key | Your Azure OpenAI API key | abc123... |
| Endpoint | Azure resource endpoint | https://your-resource.openai.azure.com/ |
| Deployment Name | Model deployment name | gpt-5 |
| API Version | Azure API version | 2024-12-01-preview |
AWS Bedrock
Dashboard Setup
- Go to Settings > Providers
- Click Add Provider > AWS Bedrock
- Enter your AWS credentials
- Click Save
Required Fields
| Field | Description | Example |
|---|---|---|
| Access Key ID | AWS access key | AKIA... |
| Secret Access Key | AWS secret key | wJalr... |
| Region | AWS region | us-east-1 |
| Default Model | Bedrock model ID | anthropic.claude-sonnet-4-6-v1:0 |
X.AI (Grok)
Dashboard Setup
- Go to Settings > Providers
- Click Add Provider > X.AI
- Enter your X.AI API key
- Select default model (e.g.,
grok-3) - Click Save
Required Fields
| Field | Description | Example |
|---|---|---|
| API Key | Your X.AI API key | xai-... |
| Default Model | Default model for operations | grok-3 |
Moonshot (Kimi)
Dashboard Setup
- Go to Settings > Providers
- Click Add Provider > Moonshot
- Enter your Moonshot API key
- Select default model (e.g.,
kimi-k2) - Click Save
Required Fields
| Field | Description | Example |
|---|---|---|
| API Key | Your Moonshot API key | sk-... |
| Default Model | Default model for operations | kimi-k2 |
Zhipu AI (GLM)
Dashboard Setup
- Go to Settings > Providers
- Click Add Provider > Zhipu AI
- Enter your Zhipu API key
- Select default model (e.g.,
glm-4) - Click Save
Required Fields
| Field | Description | Example |
|---|---|---|
| API Key | Your Zhipu AI API key | zhipu-... |
| Default Model | Default model for operations | glm-4 |
Groq
Dashboard Setup
- Go to Settings > Providers
- Click Add Provider > Groq
- Enter your Groq API key
- Select default model (e.g.,
llama-3.3-70b-versatile) - Click Save
Required Fields
| Field | Description | Example |
|---|---|---|
| API Key | Your Groq API key | gsk_... |
| Default Model | Default model for operations | llama-3.3-70b-versatile |
Custom Provider
Use a custom provider for any OpenAI-compatible endpoint (e.g., self-hosted models, vLLM, Ollama).Dashboard Setup
- Go to Settings > Providers
- Click Add Provider > Custom
- Enter the base URL and API key
- Click Save
Required Fields
| Field | Description | Example |
|---|---|---|
| API Key | API key for authentication | your-api-key |
| Base URL | OpenAI-compatible endpoint | https://your-server.com/v1 |
| Default Model | Model identifier | your-model-name |
Verifying Providers via CLI
After configuring providers in the dashboard, use the CLI to verify:Setting Default Provider
The default provider is set through the dashboard when creating or editing a provider configuration. Toggle the “Default” option on the provider you want to use as the default for evaluations and optimization.Provider availability in the dashboard UI may differ from core platform support. Providers listed here are supported at the platform level.
Security
- Keys are stored encrypted using AES-256
- API responses always mask keys (e.g.,
sk-...xxxx) - Access is scoped to your workspace
- Rotate keys regularly via the dashboard
- Use least-privilege API keys when possible
- Credential management is handled via the dashboard
Troubleshooting
Connection test fails
Connection test fails
Verify your API key is correct and has not expired. Check that the provider’s API is accessible from your network.
Provider not showing in CLI
Provider not showing in CLI
Make sure you are authenticated to the correct workspace. Run
mutagent providers list to see all providers for your current workspace.Optimization fails with provider error
Optimization fails with provider error
Check that the model specified in the optimization config is available on your configured provider. Run
mutagent providers test <id> to verify connectivity.Rate limit errors
Rate limit errors
Your provider may be throttling requests. Check your provider’s rate limits and consider upgrading your API plan or using a different provider.