Error handling
You can setexponential_backoff to True on the Agent to automatically retry requests that fail due to third-party model provider errors.
Learn more
Supported Model Providers
See the full list of supported model providers.
Model-as-string
Use the convenient provider:model_id string format to specify models without importing model classes.
Compatibility
See what features are supported by each model provider.
Cache Response
Cache the response from the model provider to avoid duplicate API calls.