claude-sonnet-4-20250514model is good for most use-cases and supports image input.claude-opus-4-1-20250805model is their best model.claude-3-5-haiku-20241022model is their fastest model.
Claude API expects a
max_tokens param to be sent with each request. Unless
set as a param, Agno will default to 8192. See the
docs for more information.Authentication
Set yourANTHROPIC_API_KEY environment. You can get one from Anthropic here.
Example
UseClaude with your Agent:
View more examples here.
Params
Claude is a subclass of the Model class and has access to the same params.