---
title: "Strands Agents：功能、版本和快速入门 · DotsAgent"
description: "AWS 维护的 Strands Agents：许可证、最新版本、MCP 支持、持久化运行、人工审批、追踪和评测，并附有可复制的快速入门。"
url: https://dotsagent.io/zh/frameworks/strands-agents
---

框架 · AWS

# 快速了解 Strands Agents

适用于 Python 和 TypeScript 的 AWS SDK。模型驱动循环，代理在你自己的进程中运行，无需 control plane。默认使用 Amazon Bedrock，并通过 Bedrock AgentCore Runtime 部署。

**适用于：**  在进程内运行、由模型驱动的代理，可便捷接入 Amazon Bedrock 和 AgentCore。

## 关键信息

- **维护者**: AWS
- **语言**: Python, TypeScript
- **许可证**: Apache-2.0
- **最新版本**: `Python 1.57.1 / TypeScript 1.19.0` · 2026年9月25日
- **代码仓库**: [strands-agents/harness-sdk](https://github.com/strands-agents/harness-sdk) · 8,594 个 stars
- **托管选项**: [Amazon Bedrock AgentCore Runtime](https://strandsagents.com/docs/user-guide/sdk/deploy/deploy_to_bedrock_agentcore/)采用无服务器架构，每个会话使用一个 microVM。

## 快速入门

安装软件包、设置凭据，然后运行官方文档中的最简 agent。这里使用的模型 ID 与文档一致，但你的账户可能尚未启用这些模型。

`安装`

```
pip install strands-agents
```

需要 AWS credentials with Bedrock model access (default provider)

`Python`

```
from strands import Agent

# Bedrock is the default, so no model object is needed.
agent = Agent()

agent("What is an agent harness, in one sentence?")
```

[快速入门来源](https://strandsagents.com/docs/user-guide/sdk/quickstart/python/)

## 功能

| 支持任意模型 | — | 默认使用 Bedrock；也支持 Anthropic、OpenAI、Gemini、Ollama 等 |
| --- | --- | --- |
| MCP 客户端 | — | — |
| MCP 服务器 | — | — |
| 多 agent | — | — |
| 持久化运行 | — | 会话管理器会持久化状态；未记录持久化引擎 |
| 人工审批 | — | 支持中断，以及带信任模式的 HumanInTheLoop 处理器 |
| 追踪 | — | 默认跟踪 agent loop 中的每项决策 |
| 评测 | — | 独立的 Strands Evals SDK |

## 近期更新

- 代码仓库已合并到 strands-agents/harness-sdk；sdk-python 现在重定向到该仓库，sdk-typescript 已归档。
- 新增 Strands harness（create_harness / createHarness）和 strands CLI。
- TypeScript SDK 已进入 1.x 版本。

## 同一语言的替代方案

- [OpenAI Agents SDK](https://dotsagent.io/zh/frameworks/openai-agents-python)

- [OpenAI Agents SDK (JS)](https://dotsagent.io/zh/frameworks/openai-agents-js)

- [Claude Agent SDK](https://dotsagent.io/zh/frameworks/claude-agent-sdk)

- [Google ADK](https://dotsagent.io/zh/frameworks/google-adk)

- [Microsoft Agent Framework](https://dotsagent.io/zh/frameworks/microsoft-agent-framework)

- [LangGraph](https://dotsagent.io/zh/frameworks/langgraph)

## 来源

1. [github.com](https://github.com/strands-agents/harness-sdk)/strands-agents/harness-sdk
2. [strandsagents.com](https://strandsagents.com/docs/user-guide/sdk/quickstart/python/)/docs/user-guide/sdk/quickstart/python/
3. [strandsagents.com](https://strandsagents.com/docs/user-guide/sdk/quickstart/overview/)/docs/user-guide/sdk/quickstart/overview/
4. [strandsagents.com](https://strandsagents.com/docs/user-guide/concepts/interrupts/)/docs/user-guide/concepts/interrupts/
5. [strandsagents.com](https://strandsagents.com/docs/user-guide/concepts/agents/interventions/human-in-the-loop/)/docs/user-guide/concepts/agents/interventions/human-in-the-loop/
6. [strandsagents.com](https://strandsagents.com/docs/user-guide/sdk/deploy/deploy_to_bedrock_agentcore/)/docs/user-guide/sdk/deploy/deploy_to_bedrock_agentcore/
7. [pypi.org](https://pypi.org/pypi/strands-agents/json)/pypi/strands-agents/json
8. [registry.npmjs.org](https://registry.npmjs.org/@strands-agents%2fsdk)/@strands-agents%2fsdk

为 AI agent 开发者提供的独立参考资料。与此处提及的任何厂商均无关联。

© 2026 DotsAgent · 事实核查日期：2026年10月1日
