CreateWithAIHub

Framework Amazon Web Services

Strands Agents

AWS's open-source, model-driven SDK and harness for building agents in Python and TypeScript.

Agent SDKFreeOpen source
Visit website ↗
Save

What it is

Strands Agents is an open-source SDK for building and running AI agents in Python and TypeScript, published by AWS. It runs in your own process with no hosted control plane and covers the agent loop with lifecycle controls, tools, structured output, MCP, multi-agent patterns, memory and sessions, streaming, guardrails, tracing and evals. Strands harness is a fully assembled agent with preset defaults; the lower-level SDK lets you own the loop. Amazon Bedrock is the default model provider, and Anthropic, OpenAI, Gemini, Ollama and others are supported.

What it's useful for

Writing a tool-using agent in a few lines of Python that runs on Bedrock today and can switch to another model provider later without code changes.

Key features

  • Agent loop with turn limits, token budgets, cancellation and stop reasons
  • Tools, structured output and native MCP support
  • Multi-agent patterns, memory and session management
  • Hooks, guardrails, tracing and an evals SDK
  • Strands harness: a preassembled agent via create_harness() / createHarness()
  • Plugin for Claude Code, Codex and Cursor; separate MCP server with Strands documentation

How to use it

Before you start

  • Python 3.10+ (Python SDK)
  • Node.js 22+ ESM project (TypeScript SDK)
Python SDK
pip install strands-agents
TypeScript SDK
npm install @strands-agents/sdk
Python harness (preassembled agent)
pip install strands-harness

Commands are copied from the official documentation. Check the docs for the latest version before running them.

Limitations to know

  • Uses Amazon Bedrock by default, so AWS credentials are needed unless you configure another provider
  • The TypeScript SDK needs a Node.js 22+ ESM project

Alternatives

Anthropic's Python and TypeScript library for building agents on the same tools and agent loop as Claude Code.

Free

OpenAI's lightweight, provider-agnostic framework for single and multi-agent workflows in Python and TypeScript.

FreeOpen source

Google's open-source, code-first framework for building, evaluating and deploying agents in Python, TypeScript, Go and Java.

FreeOpen source

Hugging Face's minimal Python library for agents that write their actions as code, with any LLM and MCP tools.

FreeOpen source

See all 11 Strands Agents alternatives →

MCP servers for this

Google Chrome team's MCP server and CLI that let coding agents control, debug and profile a live Chrome browser.

FreeOpen source

Docker Desktop's MCP Toolkit and Catalog that run MCP servers in containers and connect them to clients through one gateway.

Free plan + paidOpen source

GitHub's official MCP server that lets AI agents work with repositories, issues, pull requests and Actions.

Free plan + paidOpen source

Skills for this

Anthropic skill that guides Claude through designing, building and evaluating MCP servers in TypeScript or Python.

FreeOpen source

Vercel's collection of Agent Skills for React/Next.js performance, UI review, writing style and Vercel deploys.

FreeOpen source

Anthropic skill that has Claude test local web apps by writing Python Playwright scripts, with screenshots and browser logs.

FreeOpen source

Related resources

Observability platform for AI agents with session replays, execution graphs and LLM cost tracking.

Free plan + paid

Coding agent that runs each thread in a cloud sandbox, with a CLI, web, desktop and mobile apps.

Free plan + paid

Anthropic's agentic coding tool that works in your terminal, IDE, desktop app and on the web.

Paid

Anthropic's GitHub Action that runs Claude Code in your workflows to answer @claude mentions, review PRs and turn issues into PRs.

PaidOpen source

Type to search. Use ↑ ↓ and Enter.