Providers
Atlas supports all AI providers available through Prism. Configure your preferred provider and use it with any Atlas agent or capability.
Prism Reference
For detailed provider configuration, API keys, and model-specific options, see the Prism Providers documentation.
Available Providers
Atlas has first-party support for these AI providers:
| Provider | Documentation |
|---|---|
| Anthropic | Prism Anthropic |
| DeepSeek | Prism DeepSeek |
| ElevenLabs | Prism ElevenLabs |
| Gemini | Prism Gemini |
| Groq | Prism Groq |
| Mistral | Prism Mistral |
| Ollama | Prism Ollama |
| OpenAI | Prism OpenAI |
| OpenRouter | Prism OpenRouter |
| Voyage AI | Prism Voyage AI |
| xAI | Prism xAI |
Provider Support
Not all providers support all features. Check the Prism Provider Support Matrix for detailed compatibility.
Model Dependent
Support may be model dependent. Check with your provider for model-specific features and support.
Using Providers
In Agent Definitions
php
use Atlasphp\Atlas\Agents\AgentDefinition;
class MyAgent extends AgentDefinition
{
public function provider(): ?string
{
return 'anthropic';
}
public function model(): ?string
{
return 'claude-sonnet-4-20250514';
}
}Runtime Override
php
use Atlasphp\Atlas\Atlas;
$response = Atlas::agent('my-agent')
->withProvider('openai', 'gpt-4o')
->chat('Hello');Direct Prism Usage
php
$response = Atlas::text()
->using('anthropic', 'claude-sonnet-4-20250514')
->withPrompt('Hello')
->asText();Configuration
Configure provider API keys in your .env file:
env
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...See Configuration for full configuration options.
Next Steps
- Configuration — Configure providers and defaults
- Agents — Create agents with specific providers
- Custom Providers — Register custom providers