Anthropic¶
Configure HolmesGPT to use Anthropic's Claude models.
Setup¶
Get an Anthropic API key.
Configuration¶
Using Environment Variables¶
export ANTHROPIC_API_KEY="your-anthropic-api-key"
holmes ask "what pods are unhealthy and why?" --model="anthropic/claude-3-opus-20240229"
Using CLI Arguments¶
holmes ask "what pods are unhealthy and why?" --model="anthropic/claude-3-opus-20240229" --api-key="your-anthropic-api-key"
Available Models¶
# Claude 3 Opus
holmes ask "analyze this complex deployment failure" --model="anthropic/claude-3-opus-20240229"
# Claude 3 Sonnet
holmes ask "what pods are failing?" --model="anthropic/claude-3-sonnet-20240229"
# Claude 3 Haiku
holmes ask "cluster status summary" --model="anthropic/claude-3-haiku-20240307"
Troubleshooting¶
Authentication Error
- Verify your API key is correct - Check that your account has sufficient creditsModel Not Found
- Verify the model name is spelled correctly - Check that you have access to the requested modelRate Limits
- Wait for the rate limit to reset or upgrade your account