Strands Agents AWS Model-Driven Agents Explained
Strands Agents is AWS's open-source SDK for model-driven agents. Learn how the event loop works and how to build your first agent in five steps.
By Galactic News Editorial · Published 2026-11-27T20:18:02+00:00 · Updated 2026-11-27T20:18:02+00:00
Strands Agents is an open-source SDK from AWS for building agents that decide for themselves. Give it a model, a prompt, and a list of tools. The model plans the work, calls tools, and stops when the job is done. This explainer covers how the Strands Agents AWS model-driven agents loop works, what the SDK offers, and when to use it.
The idea behind Strands Agents is simple. Traditional agent frameworks ask developers to draw the workflow: step one, then step two, then a branch. Strands Agents flips that. The language model acts as the decision engine. The developer provides three things: a model, a system prompt, and tools. The model decides what to do next, including when to call a tool and when to answer.
The project grew out of Amazon Q Developer. The AWS team noticed that models were already capable of planning, chaining reasoning, and deciding when to call a tool, without hardcoded steps. Strands Agents was announced publicly on May 16, 2025, as an open-source preview under Apache 2.0. It was already in internal use in Amazon Q Developer, AWS Glue, and the VPC Reachability Analyzer.
How Strands Agents AWS model-driven agents work
One call to an agent runs an event loop. The agent appends the user input to its message history. It calls the model with the history, the system prompt, and the tool specifications. If the model asks for tools, the agent runs them and sends the results back to the model. If the model gives a final answer, the loop stops and returns an AgentResult.
Each pass through the loop is an event loop cycle. There is no fixed iteration cap. A run is bounded with limits or with hooks. That matters for cost control: an agent that keeps calling tools can keep spending. Set limits before deploying.
A first agent in Python is short. Install the package with pip install strands-agents, then define a tool with a decorator and pass it to the Agent constructor:
from strands import Agent, tool
@tool
def word_count(text: str) -> int:
return len(text.split())
agent = Agent(tools=[word_count])
agent("How many words are in this sentence?")
The Agent constructor takes a model, a system prompt, tools, and options. Tools can be decorated functions, tool modules, MCP clients, or even other agents. That last option is how multi-agent systems are built: one agent calls another as a tool.
Models and providers
Amazon Bedrock is the default provider. A bare Agent() uses BedrockModel, and the SDK resolves AWS credentials through the standard boto3 chain: environment variables, profiles, SSO, or instance and task roles. The IAM role needs bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream for streaming.
BedrockModel supports text generation, multimodal input, tool calling, guardrails, and prompt caching for system prompts, tools, and messages. The default model is Claude Sonnet 4.6, and any Bedrock model ID can be passed instead.
The SDK is model agnostic beyond Bedrock. Optional extras add AnthropicModel, OpenAIModel, and GeminiModel. A TypeScript SDK is also available as @strands-agents/sdk on npm, with the same model-driven loop, Zod-based type-safe tools, and native MCP support. It needs Node.js 22 or later.
Tools, MCP, and multi-agent patterns
Tools are the agent's hands. The Python SDK ships a tools package with pre-built tools, and the TypeScript SDK ships vended tools under @strands-agents/sdk/vended-tools, including shell, bash, file edit and write, and HTTP requests. Custom tools are plain functions with type hints in Python, or Zod schemas in TypeScript.
MCP support is built in. An MCPClient connects the agent to any MCP server, so tools can come from outside the codebase. Hooks and interventions add control: a hook can review a tool call before it runs, inject data mid-run, or stop the loop. That is the mechanism for human approval on sensitive actions.
Multi-agent work uses the same primitives. A swarm tool runs a team of agents that hand off to each other. Conversation management, state, and sessions keep context across turns. Observability comes from event loop metrics and tracing, so a team can see where time and tokens go.
Strands Agents vs other agent frameworks
| Framework | Control style | Best fit | Default cloud |
|---|---|---|---|
| Strands Agents | Model-driven loop | AWS teams wanting a light SDK | Amazon Bedrock |
| LangGraph | Explicit graph of steps | Workflows with fixed structure | None |
| CrewAI | Role-based crews | Teams of agents with defined roles | None |
| Amazon Bedrock Agents | Managed service | Teams that want no runtime to run | Amazon Bedrock |
The difference is who decides the next step. In Strands Agents, the model decides. In LangGraph, the graph decides. Model-driven design means less code for open-ended tasks and less predictability for tasks with a fixed order. For fixed sequences, a workflow framework fits better.
Five steps to build your first Strands agent
- Install the SDK. Run pip install strands-agents with Python 3.10 or later.
- Configure AWS credentials. Run aws configure, set the region, and enable model access in the Bedrock console.
- Write one tool. Start with a single function that does something useful, such as looking up a record.
- Give the agent a prompt. State the job, the limits, and what it must never do.
- Set limits and hooks. Bound the loop with limits and add a hook for approval on sensitive tool calls.
Bottom line
Strands Agents suits AWS developers who want a light, model-driven SDK rather than a workflow engine or a managed service. Strands Agents AWS model-driven agents are open source, default to Bedrock, and need only a model, a prompt, and tools to run. Start with one agent and one tool. Add MCP servers and multi-agent patterns only when the single agent outgrows them.