Not all AI models are created equal. Some excel at creative writing, others at coding, and some are just blazing fast. With Vizra ADK, you can mix and match providers to give each agent the perfect brain for its job.
Quick Setup
Getting started is as easy as 1-2-3.1. Set Your Default Provider
.env
2. Or Configure Per Agent
app/Agents/CustomerSupportAgent.php
3. Or Switch on the Fly
Supported Providers
Vizra ADK supports 10 LLM providers via Prism PHP. Each brings something special to the table.OpenAI
OpenAI
The industry leader - GPT-4 is your Swiss Army knife for any task.
Environment Variable:
| Best For | Popular Models |
|---|---|
| General purpose, creative tasks, code generation | gpt-4-turbo, gpt-3.5-turbo, o1-preview |
OPENAI_API_KEYAnthropic (Claude)
Anthropic (Claude)
Claude is thoughtful, careful, and great at complex reasoning.
Environment Variable:
| Best For | Popular Models |
|---|---|
| Analysis, writing, safe & ethical responses | claude-3-opus, claude-3-sonnet |
ANTHROPIC_API_KEYGoogle Gemini
Google Gemini
Multimodal magic - handles text, images, and more.
Environment Variable:
| Best For | Popular Models |
|---|---|
| Multimodal tasks, fast responses, cost efficiency | gemini-1.5-pro, gemini-1.5-flash |
GEMINI_API_KEYGroq
Groq
Speed demon. Insanely fast inference for real-time applications.
Environment Variable:
| Best For | Popular Models |
|---|---|
| Real-time chat, low latency needs | mixtral-8x7b-32768, llama2-70b-4096 |
GROQ_API_KEYOllama (Local)
Ollama (Local)
Run models locally - your data never leaves your machine.
| Best For | Popular Models |
|---|---|
| Privacy, offline use, experimentation | llama2, codellama, mistral, phi |
OpenRouter
OpenRouter
One API, 100+ models - the ultimate flexibility.
Environment Variable:
| Best For | Available Models |
|---|---|
| Model flexibility, A/B testing, cost optimization | GPT-4, Claude, Gemini, Llama, and 100+ more |
OPENROUTER_API_KEYDeepSeek
DeepSeek
Specialized models for chat and code generation.Environment Variable:
DEEPSEEK_API_KEYMistral AI
Mistral AI
Open-weight models with impressive performance.Environment Variable:
MISTRAL_API_KEYxAI (Grok)
xAI (Grok)
Grok models from Elon’s xAI team.Environment Variable:
XAI_API_KEYVoyage AI
Voyage AI
Embedding specialist for semantic search.Environment Variable:
VOYAGEAI_API_KEYCool Provider Tricks
Auto-Detection Magic
Just set the model name and Vizra figures out the provider.
Runtime Switching
Change providers on the fly based on user needs.
Choosing the Right Provider
Not sure which to pick? Here’s your cheat sheet.| Use Case | Recommended Provider |
|---|---|
| Business Apps | OpenAI GPT-4 or Anthropic Claude - reliable and versatile |
| Speed Demons | Groq or Gemini Flash - when milliseconds matter |
| Privacy First | Ollama - keep everything local and secure |
| Code Generation | DeepSeek Coder or GPT-4 - they speak fluent code |
| Long Context | Claude 3 or Gemini 1.5 Pro - handle entire books |
| Budget Conscious | GPT-3.5 Turbo or local Ollama models |
API Keys Setup
Don’t forget to add your API keys to the.env file.
.env
Next Steps
Now that you’ve picked your provider, let’s create some amazing agents.Create Your First Agent
Learn how to build powerful AI agents with your chosen provider.