What is Strands Agents?
Strands Agents is an Apache-2.0 SDK from AWS for building agents in a few lines of code. You give an Agent a prompt and a list of tools, and the model plans, calls tools and decides when it is done. AWS released it on 16 May 2025 and said Amazon Q Developer, AWS Glue and VPC Reachability Analyzer already ran production agents on it.
The GitHub repo began as sdk-python and is now the strands-agents/harness-sdk monorepo. It holds the Python SDK (strands-agents, version 1.67.0 on 25 November 2026) and the TypeScript SDK (@strands-agents/sdk, 1.26.0 on 19 November 2026). Since 21 September 2026 it also ships Strands harness, a ready-made agent with shell, file and web tools switched on. The old sdk-typescript and tools repos are archived.
With no model argument, an agent calls Claude Sonnet 4.6 on Amazon Bedrock and uses us-west-2 when no region is set. Other first-party providers are Anthropic, OpenAI, Google Gemini, Ollama, LiteLLM, Mistral, Llama API, llama.cpp, SageMaker, Vercel and Writer, and a custom provider interface covers the rest.
Is Strands Agents worth it?
Strands is the obvious agent SDK for a team already on AWS, and a reasonable one for everyone else once they have read its defaults. An Agent created with no model calls Claude Sonnet 4.6 on Bedrock with whatever AWS credentials the machine finds, so a first run on a laptop with an admin profile bills that account. The repo has about 9,300 stars, a fraction of LangGraph's, yet pypistats counts 38.7 million downloads of the Python package in the month to 26 November 2026, and npm counted 749,422 downloads of the TypeScript package in the week to the same date.
Most of what a production agent needs is in the core package. MCP servers connect over stdio, Streamable HTTP or the older SSE transport, and the HTTP route supports servers behind OAuth or AWS IAM. For multi-agent work the docs describe an agent passed to another as a tool, a Graph with per-node deadlines and human-approval interrupts, a Swarm in which agents hand work to each other, and Agent-to-Agent (A2A) servers and clients for agents on other platforms. Tracing is built on OpenTelemetry, with spans for each model call, tool call and loop cycle. In our reading of the traces docs, nothing leaves the process until you set up an exporter to Langfuse, AWS X-Ray, Jaeger or any OTLP collector. That is a cleaner default than the OpenAI Agents SDK, which sends traces to OpenAI unless you turn it off.
The deployment guides cover Bedrock AgentCore, Lambda, Fargate, App Runner, EKS, EC2, Docker, Kubernetes and Terraform. Each wraps the same agent in an /invocations route with a /ping health check, so moving between targets changes the packaging and leaves the agent code alone. The project moves quickly: GitHub's activity graph shows 851 commits in the 12 weeks to late November 2026, and the Python SDK went from 1.64.0 on 4 November to 1.67.0 on 25 November.
The security defaults need a careful read. The docs say plainly that leaving out the sandbox parameter runs the agent's shell and file tools on the host with the full permissions of the agent process, and Strands harness turns those tools on by default. The built-in alternatives are DockerSandbox, which runs commands in a container you have already started, and SshSandbox for a remote machine. The OpenAI Agents SDK ships more hosted options, with clients for E2B, Modal and Daytona. Three security advisories have been published, two rated high, all in October 2026: default session files that were world-readable on shared systems, a symlink attack on the same storage that allowed local privilege escalation, and an A2A server that could hand data to the wrong session.
Strands is weaker than its rivals in a few places.LangGraph's explicit graphs and Postgres checkpointing have a longer record for runs that must resume after a crash, and Pydantic AI is stricter about typed outputs and dependencies. Google ADK leans towards Gemini much as Strands leans towards Bedrock, and CrewAI has a far bigger community. The churn shows in the docs as well: the strands-agents-tools package, home of shell and python_repl, is deprecated and its repo archived in favour of tools inside the SDK, so many 2025 tutorials point at retired code. For agents that will run on Lambda or AgentCore and call Bedrock, though, Strands has the shortest path from prototype to deployment, because its defaults and guides already assume that setup.
Where it earns its place
A platform team at an insurer whose systems already run on AWS
Put a claims-triage agent behind an internal API without signing up another vendor
An Agent on the Bedrock default with tools written as Python functions, packaged as a container on Fargate with the /invocations and /ping pattern from the docs. IAM roles replace API keys. The SDK is free under Apache-2.0, so the bill is Bedrock tokens and Fargate compute, and traces can go to X-Ray over OTLP.
A backend engineer at a SaaS company that buys from both OpenAI and Anthropic
Build one agent that can change model vendor without a rewrite
Install the openai and anthropic extras and pass the chosen provider's model object to the Agent; tools and structured output stay the same. The docs' capability table marks prompt caching only for Bedrock, Anthropic, LiteLLM, llama.cpp and Vercel, so the cost of a long conversation depends on the provider.
A developer-tools start-up trying out coding agents
Get an agent exploring a repo today and customise it later
create_harness() returns an agent with shell, file and web tools, file-based memory and sessions. Give it a DockerSandbox before it touches untrusted code, because the default runs commands on the host. Override defaults one at a time, and drop to the SDK when the loop itself has to change.
Before you commit
- Setup
- pip install strands-agents on Python 3.10+, or npm install @strands-agents/sdk in a Node.js 22+ ESM project. Configure AWS credentials for the Bedrock default or pass another model. pip install strands-harness (or npm install @strands-agents/harness) gives the assembled agent.
- Integrations
- Amazon Bedrock (default), Anthropic, OpenAI and OpenAI Responses, Google Gemini, Ollama, LiteLLM, Mistral, Llama API, llama.cpp, SageMaker, Vercel, Writer and custom providers; MCP over stdio, Streamable HTTP and SSE; A2A server and client; OTLP export to Langfuse, X-Ray, Jaeger, Datadog and similar back ends; file and S3 session storage.
- Data and privacy
- Apache-2.0 and runs in your own process with no hosted control plane. Bedrock calls use your AWS credentials and region, falling back to us-west-2. Traces stay in the process until you configure an exporter. Strands harness keeps long-term memory on by default as markdown files under ./.agent/memory. Three GitHub advisories so far, two rated high, covering session file permissions and A2A session isolation.
- Cost at scale
- The SDK is free. Production cost is model tokens at your provider's prices plus the host: Lambda, Fargate, AgentCore or your own cluster. Graphs and swarms add model calls per request, and side jobs such as steering, memory extraction and web_fetch summaries can run on an auxiliary model that adds calls of its own.
- Limits
- 1,404 open issues and pull requests. Default shell and file tools are unsandboxed. Prompt caching works only on some providers. Near-weekly releases and the retired strands-agents-tools package break older examples.
What’s good
- Bedrock, Anthropic, OpenAI, Gemini, Ollama and more behind one model interface
- OpenTelemetry tracing that stays local until you add an exporter
- Graph, Swarm, agents-as-tools and A2A in the core SDK
- Deployment guides for AgentCore, Lambda, Fargate, EKS and Docker
What’s not
- Defaults to Bedrock and the AWS credentials on the machine
- Shell and file tools run on the host unless you pass a sandbox
- Only Docker and SSH sandboxes built in
- Fast churn: renamed repo, deprecated tools package, near-weekly minor releases
Best for
Python or TypeScript teams on AWS who want a model-driven agent loop they can deploy to Lambda, Fargate or AgentCore.
Strands Agents alternatives
Strands Agents: common questions
- Is Strands Agents worth it?
- A capable, well-documented agent SDK that feels most at home on AWS, where Bedrock, IAM and AgentCore are already wired in, and is a solid but unremarkable choice anywhere else. We rate it 4.3 out of 5.
- How much does Strands Agents cost?
- Free and open source under the Apache 2.0 licence. You pay for model usage and for wherever the agent runs.
- What are the downsides of Strands Agents?
- Defaults to Bedrock and the AWS credentials on the machine; shell and file tools run on the host unless you pass a sandbox; only Docker and SSH sandboxes built in; fast churn: renamed repo, deprecated tools package, near-weekly minor releases.
- Who is Strands Agents best for?
- Python or TypeScript teams on AWS who want a model-driven agent loop they can deploy to Lambda, Fargate or AgentCore.
- How much does Strands Agents cost for a team or in production?
- The SDK is free. Production cost is model tokens at your provider's prices plus the host: Lambda, Fargate, AgentCore or your own cluster. Graphs and swarms add model calls per request, and side jobs such as steering, memory extraction and web_fetch summaries can run on an auxiliary model that adds calls of its own.
- Is Strands Agents safe for company data?
- Apache-2.0 and runs in your own process with no hosted control plane. Bedrock calls use your AWS credentials and region, falling back to us-west-2. Traces stay in the process until you configure an exporter. Strands harness keeps long-term memory on by default as markdown files under ./.agent/memory. Three GitHub advisories so far, two rated high, covering session file permissions and A2A session isolation.
- What are the best Strands Agents alternatives?
- The closest alternatives we have reviewed are LangGraph, OpenAI Agents SDK, Pydantic AI, Google Agent Development Kit (ADK), CrewAI, Mastra, Microsoft Agent Framework and smolagents.
Answers checked Nov 27, 2026.