Providers
Astreus CLI supports multiple LLM providers. Switch between them seamlessly to test your agents with different models and find the best fit for your use case.
Astreus CLI supports multiple LLM providers. Switch between them seamlessly to test your agents with different models and find the best fit for your use case.
Supported Providers
Examples select models explicitly; existing supported defaults are unchanged. Retired native models need an explicit current replacement.
The existing CLI reads model choices from the installed framework via getModelsByProvider. The four choices remain openai, claude, gemini, and ollama.
OpenAI
The default provider with access to GPT models.
export OPENAI_API_KEY="${OPENAI_API_KEY:?Set OPENAI_API_KEY in your environment}"
astreusModel IDs to select explicitly:
gpt-6-astragpt-5.6-solgpt-5.6-terragpt-5.6-luna
Hosted free models through OpenRouter
Keep ASTREUS_PROVIDER=openai for hosted free models. Supply an OpenRouter key through the environment, and select the model explicitly. The same rate limits and endpoint requirements apply as in the framework LLM guide.
export OPENAI_BASE_URL="https://openrouter.ai/api/v1"
export OPENAI_API_KEY="${OPENROUTER_API_KEY:?Set OPENROUTER_API_KEY in your environment}"
ASTREUS_PROVIDER=openai ASTREUS_MODEL=openrouter/free astreusAnthropic (Claude)
Access Claude models for nuanced conversations.
export ANTHROPIC_API_KEY="${ANTHROPIC_API_KEY:?Set ANTHROPIC_API_KEY in your environment}"
ASTREUS_PROVIDER=claude ASTREUS_MODEL=claude-sonnet-5 astreusModel IDs to select explicitly:
claude-fable-5-1claude-opus-5claude-sonnet-5claude-haiku-4-5-20251001
Google (Gemini)
Use Google's Gemini models.
export GEMINI_API_KEY="${GEMINI_API_KEY:?Set GEMINI_API_KEY in your environment}"
ASTREUS_PROVIDER=gemini astreusAvailable Models:
gemini-pro(default) - Gemini Progemini-pro-vision- Vision capable
Ollama (Local Models)
Run models locally with Ollama. No API key required.
# Make sure Ollama is running
ollama serve
# Start CLI with Ollama
ASTREUS_PROVIDER=ollama astreusAvailable Models:
llama3(default) - Llama 3llama2- Llama 2mistral- Mistralcodellama- Code-focused Llama
Switching Providers
At Startup
Use environment variables:
ASTREUS_PROVIDER=claude ASTREUS_MODEL=claude-sonnet-5 astreusDuring Session
Use slash commands to switch:
/provider claude
/model claude-sonnet-5Or open the interactive selector:
/provider
/modelProvider Configuration
Custom Endpoints
For enterprise deployments or proxies:
# Ollama on different host
export OLLAMA_HOST=http://192.168.1.100:11434Vision Support
Some providers support vision (image) capabilities:
# Separate API key for vision (optional)
export OPENAI_VISION_API_KEY=sk-your-vision-key
export ANTHROPIC_VISION_API_KEY=your-vision-key
export GEMINI_VISION_API_KEY=your-vision-keyEmbedding Support
For memory and knowledge features:
export OPENAI_EMBEDDING_API_KEY=sk-your-embedding-key
export GEMINI_EMBEDDING_API_KEY=your-embedding-keyModel Selection for Agent Development
Choose the right model based on the type of agent you're building:
| Agent Type | Recommended Model | Why |
|---|---|---|
| Code Analysis Agent | claude-sonnet-5 | Excellent at understanding code structure and patterns |
| Complex Reasoning Agent | gpt-4o, claude-sonnet-5 | Best for multi-step reasoning and planning |
| Fast Response Agent | gpt-4o-mini, gemini-pro | Low latency for real-time interactions |
| Tool-Heavy Agent | gpt-4o | Reliable function calling and tool use |
| Long Context Agent | claude-sonnet-5 | Check the selected model and endpoint’s context limit before sending large documents |
| Local/Private Agent | llama3, codellama | No data leaves your machine |
| Cost-Sensitive Agent | gpt-3.5-turbo, Ollama | Minimize API costs |
Testing Agents Across Providers
When building agents, it's useful to test with different providers:
# Start developing with fast, cheap model
/provider openai
/model gpt-4o-mini
# Test complex reasoning with top models
/provider claude
/model claude-sonnet-5
# Test locally before deployment
/provider ollama
/model llama3This workflow helps you understand how your agent performs across different LLMs and find the best balance of capability, speed, and cost for your use case.
Last updated: September 13, 2026
In this section
Introduction
AI-powered development assistant for building agents with the Astreus framework. The CLI helps you create, test, and iterate on AI agents directly from your...
Installation
Get Astreus CLI up and running in minutes. The CLI is your AI-powered assistant for building agents with the Astreus framework.