跳到主要内容Skip to main content
← Frameworks

Strands Agents SDKStrands Agents SDK

AWS
开源Open source Apache2.0Apache2.0 AWSAWS SDKSDK MCP支持MCP support 代码优先Code-first partial lifecycle: active 核验Checked 2026-10-30

AWS 的开源 agent SDK(Apache-2.0):model-driven 循环、装饰器式工具、MCP 客户端是官方主线。 与 Bedrock Agents 托管线分清楚:Strands 是「拿来自己搭的底座」(本大类),托管线在 automation。 仓现名 harness-sdk(旧名 redirect——直抓核验)。

AWS's open-source agent SDK (Apache-2.0): model-driven loops, decorator-style tools, MCP client support on the official mainline. Keep it apart from the hosted Bedrock Agents line: Strands is a build-it-yourself foundation (this category); the hosted line lives in automation. The repo is now harness-sdk (old name redirects — direct-fetched).

适合与不适合When to use it, when not to

适合:AWS/Bedrock 栈、要显式 MCP 能力、要轻量代码优先 SDK。 不适合:非 AWS 栈默认选型;要可视化编排。

Fits: AWS/Bedrock stacks, explicit MCP capability needs, lightweight code-first SDKs. Not a fit: default choices off AWS; needing visual orchestration.

中文生态China availability 国产 / 国内可直接用 / 备案状态 · 快照domestic / direct access / CAC filing · snapshot 2026-10-21

出品属地Origin
国外出品foreign-made AWS/Amazon(美国)开源线。AWS/Amazon (US) open-source line.
国内使用Direct access
大陆可直连direct OK strandsagents.com 直连实测 200(2026-10-21);GitHub 仓大陆直连波动(同日代理可达)。strandsagents.com measured 200 direct (2026-10-21); the GitHub repo's mainland reachability fluctuates (200 via proxy the same day).
备案状态CAC filing
未见于备案名单not in filing list:未见于网信办公示名单(2026-10-21 检索);开源项目未面向大陆公众提供服务,备案不适用。not in the CAC public registry (searched 2026-10-21); the open-source project does not serve the mainland public, so filing does not apply.

备案信息以网信办《生成式人工智能服务已备案信息》公示名单为准(按批次滚动更新,本站只抄编号不解读);「大陆可直连」是本站从大陆网络直连实测的结果,不是厂商承诺。GitHub 类站点当日实测有波动,口径写在依据里。Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.

固定坐标系Fixed coordinate system

8 个维度dimensions, 与同分区其他对象逐项可比each comparable item by item against others in the same section.

模型与开放条件Model & openness

多 provider 接入(Bedrock 系为主,兼 Anthropic/OpenAI/LiteLLM 线——以官方文档为准, 未逐条清点);官方叙事是「model-driven」:agent 循环由模型决定调哪些工具。

Multi-provider access (Bedrock-first, plus Anthropic/OpenAI/LiteLLM lines — per the official docs, not itemized one by one); the official narrative is "model-driven": in the agent loop the model itself decides which tools to call.

运行位置Where it runs

Python/TS SDK(装进你的进程);GitHub 8,997★,最近推送 2026-10-29(API 核验)。 AWS 开源线(官方出品,非托管服务——与 Bedrock Agents 托管线区分)。

Python/TS SDK (installed into your process); GitHub 8,997★, last push 2026-10-29 (API verified). An AWS open-source line (officially produced, not a hosted service — distinct from the Bedrock Agents hosted line).

本地文件Local files

库形态跑在你进程里;数据落点由你决定。工具执行(shell/文件类)在你机器上发生—— 权限面跟着你给的工具走。

Library form running inside your process; where data lands is your call. Tool execution (shell/file kinds) happens on your machine — the permissions surface follows the tools you grant.

关机后的任务Tasks after shutdown

库无常驻语义;agent 应用常驻与否取决于你的部署。观测线(agent 轨迹导出)在官方文档内。

A library has no resident semantics; whether your agent application stays resident depends on your deployment. The observability line (agent trace export) is in the official docs.

工具与扩展Tools & extensions

工具定义极简(装饰器式);MCP 支持是官方显式面(MCP 客户端集成在文档主线)—— 这是它与多数框架的差异点之一。

Tool definition is minimal (decorator style); MCP support is an explicit official surface (the MCP client integration sits in the docs mainline) — one of its differentiators versus most frameworks.

上下文与记忆Context & memory

会话记忆组件在官方模块族内(会话持久化线);跨会话记忆给接口不给托管。

A session-memory component is in the official module family (the session-persistence line); cross-session memory gives an interface, not hosting.

权限与限制Permissions & limits

无账号体系(库形态);权限面=你接的各家 key + 你注册的工具能力(含 shell 类高危工具—— 官方文档有安全指引线,未逐条核验)。

No account system (library form); the permissions surface = the various vendors' keys you wire in + the tool capabilities you register (including high-risk shell-class tools — the official docs have a security-guidance line, not itemized).

适合什么任务Best for

适合:AWS 栈的 agent 开发(Bedrock 一等公民)、要显式 MCP 客户端能力、要轻量 SDK 不要重框架。 不适合:非 AWS 栈的默认选型(生态面比 LangChain 窄);要可视化编排(它是代码优先)。

Fits: agent development on the AWS stack (Bedrock first-class), wanting explicit MCP client capability, wanting a lightweight SDK rather than a heavy framework. Does not fit: as the default choice outside AWS stacks (the ecosystem is narrower than LangChain's); wanting visual orchestration (it is code-first).

头号误解Top misconception

  • 与 Bedrock Agents 托管线混谈——Strands 是开源 SDK(Apache2.0),Bedrock Agents 是托管服务(automation 大类)Blurring it with the hosted Bedrock Agents line — Strands is an open-source SDK (Apache-2.0); Bedrock Agents is a hosted service (automation category)
  • 用旧仓名 sdk-python 找仓库——现 redirect 到 harness-sdk(2026-10-21 直抓核验)Using the old repo name sdk-python — it now redirects to harness-sdk (direct-fetched 2026-10-21)
  • shell/文件类工具默认在你机器上真执行——注册高危工具前按「agent 能跑命令」设防Shell/file tools really execute on your machine by default — before registering high-risk tools, defend as if 'the agent can run commands'

未知项清单Known unknowns

  • provider 全目录(未逐条清点)
  • MCP 客户端集成的能力面细节(官方主线存在,未逐条核验)
  • 观测/评估线当前完成度(未逐条核验)
  • The full provider catalog (not itemized one by one)
  • Capability details of the MCP client integration (the mainline exists; not itemized)
  • Current completeness of the observability/evaluation line (not itemized)

证据来源Evidence sources

判断可回到以下一手源复核。本站核验日Every judgement can be rechecked against the primary sources below. Verified on 2026-10-30,内容更新日content updated on 2026-10-21。

类型Type名称Name链接Link
repostrands-agents/harness-sdk · 仓库(Apache-2.0;8,997★,最近推送 2026-10-29,GitHub API 核验)strands-agents/harness-sdk · repository (Apache-2.0; 8,997★, last push 2026-10-29, GitHub API verified)https://github.com/strands-agents/harness-sdk
docsStrands Agents · 官方文档Strands Agents · official docshttps://strandsagents.com
changelogstrands-agents/harness-sdk · Releases(changelog)strands-agents/harness-sdk · Releases (changelog)https://github.com/strands-agents/harness-sdk/releases

实测记录Measured runs

本档未跑集成与性能实测;结论只覆盖 API 与官方文档披露的能力面。

This site has not completed measured runs. The test protocol is at protocols/framework/_protocol.md.

相关条目Related entries

  • OpenAI Agents SDKOpenAI Agents SDK同为轻量官方 SDK:OpenAI 版绑自家生态浅,Strands 与 Bedrock 绑得深。 Bedrock Agents / AgentCore(automation 大类,待建档)— 同厂商两线对照:托管 vs 开源 SDK,选型时先分清;建档上线后在此互链。Both lightweight official SDKs: the OpenAI version binds shallowly to its own ecosystem; Strands binds deeply to Bedrock. Bedrock Agents / AgentCore (automation category, dossier pending) — same-vendor two-line contrast: hosted vs open-source SDK; tell them apart first when selecting; cross-link once that dossier goes live.
  • CursorCursor另一层 · AI 编程Other layer · AI coding
  • Claude Code IDE 扩展Claude Code (IDE extension)另一层 · AI 编程Other layer · AI coding

本页由This page is generated from the ai-handbook 数据层生成(CC BY 4.0)。data layer (CC BY 4.0). 方法论与坐标系定义见仓库内For the methodology and coordinate definitions, see METHODOLOGY.md.