Skip to main content
Instead of importing model classes, pass a string to Agent(model=...):

Supported Providers

When to Use Class Imports

Use the class-based approach when you need to configure model-specific options:
String shorthand uses default configuration for each provider.