Strands Agents supports multiple model providers, allowing you to choose the best foundation model for your specific use case. This flexibility enables you to build agents that can leverage different capabilities, cost structures, and deployment options. Supported Model Providers
Strands Agents supports several model providers out of the box:
- AWS Bedrock: Use Amazon's managed service to access high-performing foundation models from leading Providers like Anthropic, Meta, Amazon etc.
- Anthropic: Direct API access to Claude models
- Ollama: Run models locally for privacy or offline use
- LiteLLM: Unified interface for OpenAI, Mistral, and other providers
- Azure OpenAI: Leverage OpenAI models hosted on Microsoft Azure
- OpenAI: Access models like GPT-4/ gpt-4o
- Custom Providers: Build your own provider for specialized needs
In this folder you'll find two samples:
- Ollama:
We showcase an example of a local file-ops agent that can perform simple operations (
file_read,file_writeandlist_directory). You can extend it to add more tools to make it more capable.
- OpenAI Access via LiteLLM:
We show an example of a simple agent that can access OpenAI models via Azure. It has access to basic tools like
current_weatherandcurrent_time.
Note: For all models you can add Callback Handlers that allow you to intercept and process events during agent execution.

