@@ -37,7 +37,7 @@ Strands Agents is a simple yet powerful SDK that takes a model-driven approach t
37
37
## Feature Overview
38
38
39
39
- ** Lightweight & Flexible** : Simple agent loop that just works and is fully customizable
40
- - ** Model Agnostic** : Support for Amazon Bedrock, Anthropic, LiteLLM, Llama, Ollama, OpenAI, Writer, and custom providers
40
+ - ** Model Agnostic** : Support for Amazon Bedrock, Anthropic, Gemini, LiteLLM, Llama, Ollama, OpenAI, Writer, and custom providers
41
41
- ** Advanced Capabilities** : Multi-agent systems, autonomous agents, and streaming support
42
42
- ** Built-in MCP** : Native support for Model Context Protocol (MCP) servers, enabling access to thousands of pre-built tools
43
43
@@ -129,6 +129,8 @@ from strands import Agent
129
129
from strands.models import BedrockModel
130
130
from strands.models.ollama import OllamaModel
131
131
from strands.models.llamaapi import LlamaAPIModel
132
+ from strands.models.gemini import GeminiModel
133
+ from strands.models.llamacpp import LlamaCppModel
132
134
133
135
# Bedrock
134
136
bedrock_model = BedrockModel(
@@ -139,6 +141,15 @@ bedrock_model = BedrockModel(
139
141
agent = Agent(model = bedrock_model)
140
142
agent(" Tell me about Agentic AI" )
141
143
144
+ # Google Gemini
145
+ gemini_model = GeminiModel(
146
+ api_key = " your_gemini_api_key" ,
147
+ model_id = " gemini-2.5-flash" ,
148
+ params = {" temperature" : 0.7 }
149
+ )
150
+ agent = Agent(model = gemini_model)
151
+ agent(" Tell me about Agentic AI" )
152
+
142
153
# Ollama
143
154
ollama_model = OllamaModel(
144
155
host = " http://localhost:11434" ,
@@ -158,6 +169,7 @@ response = agent("Tell me about Agentic AI")
158
169
Built-in providers:
159
170
- [ Amazon Bedrock] ( https://strandsagents.com/latest/user-guide/concepts/model-providers/amazon-bedrock/ )
160
171
- [ Anthropic] ( https://strandsagents.com/latest/user-guide/concepts/model-providers/anthropic/ )
172
+ - [ Gemini] ( https://strandsagents.com/latest/user-guide/concepts/model-providers/gemini/ )
161
173
- [ Cohere] ( https://strandsagents.com/latest/user-guide/concepts/model-providers/cohere/ )
162
174
- [ LiteLLM] ( https://strandsagents.com/latest/user-guide/concepts/model-providers/litellm/ )
163
175
- [ llama.cpp] ( https://strandsagents.com/latest/user-guide/concepts/model-providers/llamacpp/ )
0 commit comments