Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Model Providers in Strands Agents

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:

  1. AWS Bedrock: Use Amazon's managed service to access high-performing foundation models from leading Providers like Anthropic, Meta, Amazon etc.
  2. Anthropic: Direct API access to Claude models
  3. Ollama: Run models locally for privacy or offline use
  4. 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
  5. Custom Providers: Build your own provider for specialized needs

Model tutorials

In this folder you'll find two samples:

  1. Ollama: We showcase an example of a local file-ops agent that can perform simple operations (file_read, file_write and list_directory). You can extend it to add more tools to make it more capable.

Here's the architecture: Architecture

  1. 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_weather and current_time.

Here's the architecture: Architecture

Note: For all models you can add Callback Handlers that allow you to intercept and process events during agent execution.