FastClaw Docs
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

ProviderTypical API typeEnv key
OpenAIopenai-chatOPENAI_API_KEY
Anthropicanthropic-messagesANTHROPIC_API_KEY
OpenRouteropenai-chatOPENROUTER_API_KEY
Ollamaopenai-chat compatiblelocal endpoint
Groqopenai-chatGROQ_API_KEY
DeepSeekopenai-chatDEEPSEEK_API_KEY
Mistralopenai-chatMISTRAL_API_KEY

CLI Setup

fastclaw provider list
fastclaw provider create openai --from-env
fastclaw provider delete openai

Agent-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-5

Provider Prefixes

Model strings can be written as:

provider/model-id

FastClaw 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.com becomes https://api.openai.com/v1
  • Anthropic bare host https://api.anthropic.com remains Anthropic Messages root
  • Custom gateway paths are preserved