generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Labels
milestone:v1Item associated with the release of Strands TypeScript SDK V1.Item associated with the release of Strands TypeScript SDK V1.
Description
Summary
Ensure browser compatibility for as many SDK components as possible. The TypeScript SDK should work in browser environments for use cases like client-side agents, browser-based chat interfaces, and web applications. This involves identifying which components can run in the browser (e.g., model providers with CORS support, tool execution, hooks, streaming), auditing for Node.js-specific dependencies (e.g., fs, path, child_process), and expanding the existing browser test suite to cover these components.
Usage
⚠️ Agent-generated example - This is a preliminary API sketch and has not been finalized.
// Browser-compatible agent usage
import { Agent } from '@strands-agents/sdk'
import { AnthropicModel } from '@strands-agents/anthropic'
const agent = new Agent({
model: new AnthropicModel({
modelId: 'claude-sonnet-4-20250514',
}),
})
const result = await agent.invoke('Hello from the browser!')Documentation
N/A
Reference
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
milestone:v1Item associated with the release of Strands TypeScript SDK V1.Item associated with the release of Strands TypeScript SDK V1.
Type
Projects
Status
Release