Supported Providers
DAIV currently supports integration with the following LLM providers:
A combination of providers may be configured. For example, you can use OpenAI provider for one agent and Gemini provider for another.
OpenRouter
OpenRouter is the default provider for DAIV due to its fallback mechanism and wide range of models from multiple providers.
Setup:
- Obtain an API key from OpenRouter Settings.
- Set the
OPENROUTER_API_KEY
environment variable:Bash
Usage:
When declaring a model, use the model name provided by OpenRouter, prefixed with openrouter:
. For example:
OpenAI
Setup:
- Obtain an API key from OpenAI.
- Set the
OPENAI_API_KEY
environment variable:Bash
Usage:
When declaring a model, use the model name provided by OpenAI. For example:
Anthropic
Setup:
- Obtain an API key from Anthropic.
- Set the
ANTHROPIC_API_KEY
environment variable:Bash
Usage:
When declaring a model, use the model name provided by Anthropic. For example:
Warning
We love Anthropic, but unfortunately their API is very unstable and often returns errors. Also, the rate limits could be exceeded very quickly.
Gemini
Setup:
- Obtain an API key from AI Studio.
- Set the
GOOGLE_API_KEY
environment variable:Bash
Usage:
When declaring a model, use the model name provided by Gemini. For example: