Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ Support for various model providers:
from strands import Agent
from strands.models import BedrockModel
from strands.models.ollama import OllamaModel
from strands.models.llamaapi import LlamaAPIModel

# Bedrock
bedrock_model = BedrockModel(
Expand All @@ -115,6 +116,13 @@ ollama_modal = OllamaModel(
)
agent = Agent(model=ollama_modal)
agent("Tell me about Agentic AI")

# Llama API
llama_model = LlamaAPIModel(
model_id="Llama-4-Maverick-17B-128E-Instruct-FP8",
)
agent = Agent(model=llama_model)
response = agent("Tell me about Agentic AI")
```

Built-in providers:
Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,12 @@ litellm = [
ollama = [
"ollama>=0.4.8,<1.0.0",
]
llamaapi = [
"llama-api-client>=0.1.0,<1.0.0",
]

[tool.hatch.envs.hatch-static-analysis]
features = ["litellm", "ollama"]
features = ["litellm", "ollama", "llamaapi"]
dependencies = [
"mypy>=1.15.0,<2.0.0",
"ruff>=0.11.6,<0.12.0",
Expand All @@ -94,7 +97,7 @@ lint-fix = [
]

[tool.hatch.envs.hatch-test]
features = ["litellm", "ollama"]
features = ["litellm", "ollama", "llamaapi"]
extra-dependencies = [
"moto>=5.1.0,<6.0.0",
"pytest>=8.0.0,<9.0.0",
Expand Down
Loading
Loading