Strands Agents

Frameworks & SDKs 💻 Python ⚖️ Apache-2.0 🟢 Actively maintained
7.2k stars

Strands Agents is an open-source SDK for building and running AI agents in Python and TypeScript. It provides a model-driven approach with built-in lifecycle controls, tools, structured output, MCP, multi-agent patterns, memory, and more, eliminating the need to write your own agent loop. It is for developers who want to build and control AI agents in their own process without a hosted control plane.

✨ Key features

  • Lifecycle controls: turn limits, token budgets, cancellation, stop reasons
  • Built-in tools, structured output, and MCP support
  • Multi-agent patterns and memory/session management
  • Model-agnostic: supports Bedrock, Anthropic, OpenAI, Gemini, and more
  • Streaming, guardrails, tracing, and evals included
  • Hooks to intercept and control every agent step

🎯 Use cases

  • Build a custom AI agent with tools and structured output
  • Create multi-agent systems with memory and sessions
  • Integrate MCP servers for external tool access
  • Deploy agents in production with guardrails and observability

📦 Installation

🧰 Requirements: Python 3.10+ or Node.js 22+; AWS credentials and Bedrock model access by default, or configure other providers.

Python

Requires Python 3.10+:

pip install strands-agents strands-agents-tools

TypeScript

Requires Node.js 22+:

npm install @strands-agents/sdk

🚀 Usage

Python

from strands import Agent
from strands_tools import calculator

agent = Agent(tools=[calculator])
agent("What is the square root of 1764")

TypeScript

import { Agent } from '@strands-agents/sdk'

const agent = new Agent()
const result = await agent.invoke('What is the square root of 1764?')
console.log(result)

⚠️ Good to know

Both SDKs default to Amazon Bedrock, so AWS credentials and model access are required unless configured otherwise.

❓ FAQ

What programming languages are supported?

Python (3.10+) and TypeScript (Node.js 22+).

Which model providers can I use?

Amazon Bedrock, Anthropic, OpenAI, Gemini, and many more, including custom providers.

Does it require a hosted control plane?

No, it runs in your process with no hosted control plane.

How do I install the SDK?

For Python: pip install strands-agents strands-agents-tools. For TypeScript: npm install @strands-agents/sdk.

📊 Repository

Stars★ 7,161
Forks🍴 1,094
Open issues🐛 713
Last commit🕒 Sep 4, 2026
Created📅 May 2025
Language💻 Python
License⚖️ Apache-2.0

🤖 Overview, features, install steps and FAQ were generated from the project's README on Sep 4, 2026. Always check the original source before running commands.