sdk-typescript  by strands-agents

Model-driven SDK for building AI agents

Created 3 months ago
380 stars

Top 75.1% on SourcePulse

GitHubView on GitHub
Project Summary

Strands Agents provides a model-driven TypeScript/JavaScript SDK for building AI agents with minimal code. It targets developers seeking a type-safe, flexible, and model-agnostic approach to agent development, enabling the creation of everything from simple assistants to complex workflows. The SDK simplifies agent creation, offers robust input validation via Zod, and integrates seamlessly with various LLM providers and external tools.

How It Works

The SDK employs a lightweight and flexible agent loop that operates efficiently in Node.js and browser environments. Its core strengths lie in type-safe tools defined using Zod schemas, ensuring robust input validation and type inference. The architecture is model-agnostic, offering first-class support for Amazon Bedrock and OpenAI, with an extensible design for custom providers. Native support for Model Context Protocol (MCP) clients allows seamless integration with external tools and servers, enhancing agent capabilities.

Quick Start & Requirements

  • Installation: npm install @strands-agents/sdk
  • Prerequisites: Node.js 20+ installed. For the default Amazon Bedrock provider, AWS credentials must be configured, and model access enabled for Claude 4.5 Sonnet in your region.
  • Links: Documentation, Samples, Python SDK, Tools, Agent Builder, MCP Server Overview are mentioned within the README.

Highlighted Details

  • Type-safe tools defined with Zod schemas for robust input validation and type inference.
  • Model-agnostic architecture supporting Amazon Bedrock (default) and OpenAI, with extensibility for custom providers.
  • Native Model Context Protocol (MCP) client support for integrating external tools and servers.
  • Real-time response streaming and extensible lifecycle hooks for monitoring and customization.
  • Includes vended tools for Notebook management, File Editor operations, and HTTP requests.

Maintenance & Community

The project includes a Contributing Guide detailing development setup, testing, code quality standards, and the pull request process. Information on specific community channels (like Discord/Slack) or notable contributors is not detailed in the provided README excerpt.

Licensing & Compatibility

This project is licensed under the Apache License 2.0. This license is generally permissive, allowing for commercial use and linking within closed-source projects.

Limitations & Caveats

The Strands Agents SDK is currently in public preview. During this phase, APIs may be subject to change as the SDK is refined. The project actively welcomes feedback and contributions to aid its development.

Health Check
Last Commit

3 days ago

Responsiveness

Inactive

Pull Requests (30d)
25
Issues (30d)
16
Star History
96 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.