Run a first sdk-typescript example
Run a first sdk-typescript example: A model-driven approach to building AI agents in just a few lines of code.
Start with the smallest workflow described by the README for sdk-typescript. Complete installation and configuration first.
Quick Start
Installation
Ensure you have Node.js 20+ installed, then:
npm install @strands-agents/sdkBasic Usage
import { Agent } from '@strands-agents/sdk'
// Create agent (uses default Amazon Bedrock provider)
const agent = new Agent()
// Invoke
const result = await agent.invoke('What is the square root of 1764?')
console.log(result)Note: For the default Amazon Bedrock model provider, you'll need AWS credentials configured and model access enabled for Claude 4.5 Sonnet in your region.
Verify your changes
The root manifest provides this check:
npm run testRead any errors before continuing. Build and type checks verify source consistency; exercise the README example to verify the behavior you need.
Next task
Read the usage guide for the documented components, configuration, and source layout.
Source and help
The catalog identifies the license as Apache-2.0. Read the repository license before redistributing source or assets.
This catalog entry is a fork. The README may describe upstream packages, domains, or release procedures; those destinations do not establish a separate release of this fork.
Source captured: 2026-10-11
