Integrations
LLM Providers
Configure model providers globally or per agent.
FastClaw supports OpenAI-compatible and Anthropic-compatible providers. Provider records live in the database and can be managed from the dashboard or CLI.
Common Providers
| Provider | Typical API type | Env key |
|---|---|---|
| OpenAI | openai-chat | OPENAI_API_KEY |
| Anthropic | anthropic-messages | ANTHROPIC_API_KEY |
| OpenRouter | openai-chat | OPENROUTER_API_KEY |
| Ollama | openai-chat compatible | local endpoint |
| Groq | openai-chat | GROQ_API_KEY |
| DeepSeek | openai-chat | DEEPSEEK_API_KEY |
| Mistral | openai-chat | MISTRAL_API_KEY |
CLI Setup
fastclaw provider list
fastclaw provider create openai --from-env
fastclaw provider delete openaiAgent-specific defaults:
fastclaw agents init alpha \
--provider openai \
--model openai/gpt-4o-mini \
--api-key-env OPENAI_API_KEY
fastclaw agents config alpha set model anthropic/claude-sonnet-4-5Provider Prefixes
Model strings can be written as:
provider/model-idFastClaw splits the provider prefix from the model ID before sending requests. This lets different agents shadow or override system providers by name.
API Base Normalization
FastClaw normalizes common base URLs:
- OpenAI bare host
https://api.openai.combecomeshttps://api.openai.com/v1 - Anthropic bare host
https://api.anthropic.comremains Anthropic Messages root - Custom gateway paths are preserved