Esta página se muestra en inglés. Una traducción al español está en curso.
WorkflowsMay 12, 2026·2 min de lectura

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.

Listo para agents

Este activo puede ser leído e instalado directamente por agents

TokRepo expone un comando CLI universal, contrato de instalación, metadata JSON, plan según adaptador y contenido raw para que los agents evalúen compatibilidad, riesgo y próximos pasos.

Native · 94/100Política: permitir
Superficie agent
Cualquier agent MCP/CLI
Tipo
Agent
Instalación
Manual
Confianza
Confianza: Established
Entrada
npm install @strands-agents/sdk
Comando CLI universal
npx tokrepo install 8b5d432e-3742-5f9c-ac2a-ddf7eaeb8fc1
Introducción

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.

🙏

Fuente y agradecimientos

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

Discusión

Inicia sesión para unirte a la discusión.
Aún no hay comentarios. Sé el primero en compartir tus ideas.

Activos relacionados