Cette page est affichée en anglais. Une traduction française est en cours.
SkillsMay 12, 2026·2 min de lecture

Strands Agents TS SDK — Agent + Tools + Swarm

Strands Agents TS SDK provides an Agent runtime, model providers (Bedrock/OpenAI), tool helpers, and Graph/Swarm patterns for TypeScript workflows.

Prêt pour agents

Staging sûr pour cet actif

Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.

Stage only · 29/100Policy : staging
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Stage only
Confiance
Confiance : Established
Point d'entrée
Asset
Commande de staging sûr
npx -y tokrepo@latest install 8b5d432e-3742-5f9c-ac2a-ddf7eaeb8fc1 --target codex

Stage les fichiers d'abord; l'activation exige la revue du README et du plan staged.

Introduction

If you want an “agent runtime” in TS with pluggable models and explicit tool wiring, Strands gives you a batteries-included starting point.

Best for: TypeScript teams building agent workflows that need structured tools, hooks, and multi-agent orchestration patterns

Works with: Node.js 20+; default Amazon Bedrock provider; optional OpenAI provider (per README)

Setup time: 10–20 minutes

Key facts (verified)

  • README quick start shows npm install @strands-agents/sdk and a basic new Agent() invocation.
  • Default provider is Amazon Bedrock; README notes you need AWS credentials and model access for default usage.
  • README OpenAI provider example says it uses process.env.OPENAI_API_KEY and defaults to gpt-5.4.
  • GitHub: 658 stars · 92 forks; pushed 2026-05-12 (GitHub API verified).

Main

A clean way to adopt the SDK:

  1. Start with a single agent and one or two small tools (I/O, search, DB query) so you can observe the loop.
  2. Add hooks for logging/tracing early—multi-agent systems are hard to debug without visibility.
  3. When you need more structure, move to Graph/Swarm patterns from the README and keep each agent’s responsibility narrow.
  4. Treat model provider switches as configuration: Bedrock for AWS-native deployments, OpenAI for quick iteration, and pin model IDs for reproducibility.

The SDK’s value is “explicit wiring” — tools and orchestration are code, not hidden prompts.

FAQ

Q: Do I have to use Bedrock? A: No. Bedrock is the default, but the README includes an OpenAI provider example.

Q: What Node version do I need? A: The README calls for Node.js 20+.

Q: How do I keep runs reproducible? A: Pin model IDs and keep tool interfaces stable; log tool inputs/outputs via hooks early.

🙏

Source et remerciements

Source: https://github.com/strands-agents/sdk-typescript > License: Apache-2.0 > GitHub stars: 658 · forks: 92

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires