Cette page est affichée en anglais. Une traduction française est en cours.
WorkflowsMay 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

Cet actif peut être lu et installé directement par les agents

TokRepo expose une commande CLI universelle, un contrat d'installation, le metadata JSON, un plan selon l'adaptateur et le contenu raw pour aider les agents à juger l'adaptation, le risque et les prochaines actions.

Native · 94/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Agent
Installation
Manual
Confiance
Confiance : Established
Point d'entrée
npm install @strands-agents/sdk
Commande CLI universelle
npx tokrepo install 8b5d432e-3742-5f9c-ac2a-ddf7eaeb8fc1
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