Back to Explore

anthropics/anthropic-sdk-typescript

GitHub
123 updates · last 90 daysOpen source

Last release:

The Anthropic TypeScript SDK provides access to Anthropic’s safety-first language model APIs from server-side TypeScript or JavaScript applications. It helps you call the Claude API (for example, creating messages with models) and is distributed via npm as @anthropic-ai/sdk.

Project status

  • Actively maintained: the repository was pushed on 2026-11-04, and several updates appeared between 2026-10-23 and 2026-11-02.
  • Recent updates are clustered, but the evidence does not establish a regular cadence.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • sdk-v1.6.0

    SDK v1.6.0 adds error-code support for ramp-limit and External Key validation failures, and adds support for signing organization members out everywhere. It also fixes error class names and updates API error documentation. The diff includes additional error handling and OpenTelemetry tracing changes that are not fully described in the release notes.

    Features
  • google-cloud-sdk-v1.1.3

    The documented change fixes Google Cloud URL construction by encoding project, location, and workspace identifiers and rejecting `.` or `..` path values. The code diff also contains substantial SDK-wide changes, including expanded typed API errors, a rewritten streaming parser, and path-encoding changes in the Vertex SDK that are not covered by the release notes.

    BreakingFeatures
  • vertex-sdk-v1.1.2

    This release fixes Vertex request-path handling by percent-encoding the project ID, region, and model. It also rejects empty model names and project IDs or regions equal to "." or ".." with an AnthropicError.

  • sdk-v1.5.0

    SDK v1.5.0 adds workspace ID filtering and richer API error types and metadata, including dedicated error classes. It also fixes path-parameter validation and memory-directory handling, and improves server-sent event decoding performance.

    Features
  • google-cloud-sdk-v1.1.2

    This release adds type-checking for the published declarations of every subpackage and updates examples to use current model IDs. No user-facing API or functionality changes are described.

  • aws-sdk-v1.1.2

    The supplied release notes describe only an internal check that type-checks each subpackage's published declarations. The diff contains substantially more: new API surfaces and type changes, request-routing behavior changes, package version bumps, and CI/build changes, most of which are not mentioned in those release notes.

    BreakingFeatures
  • foundry-sdk-v1.1.1

    This release fixes a TypeScript declaration issue in the Foundry client. Its published declarations now type-check when `skipLibCheck` is disabled.

  • bedrock-sdk-v1.1.1

    This release adds an internal check that type-checks the published declarations of every subpackage. No user-facing features, behavior changes, or upgrade steps are noted.

  • vertex-sdk-v1.1.1

    This release adds an internal check that type-checks the published declarations of every subpackage. No user-facing API changes or upgrade actions are noted.

  • sdk-v1.4.0

    This release adds GA methods and supporting types for analytics, spend limits, and RBAC, along with new session error types and user profile IDs for External Keys and Workspaces. It also corrects API types, including removing an unused project field, which may require updates to code that references it.

    BreakingFeatures
  • google-cloud-sdk-v1.1.1

    Release 1.1.1 fixes Google Cloud routing for user-profile routes and updates the product name in documentation and package metadata. The code also changes how beta API requests are represented: generated calls omit the `beta=true` URL query and use internal qualifiers instead, a behavior whose user-facing implications are not clearly described in the notes.

  • aws-sdk-v1.1.1

    The release notes describe an internal test adjustment: tests should no longer expect a `beta` query parameter. The code makes that change across many beta API methods and also adds Google Cloud routing for user-profile endpoints and a new beta type literal, neither of which is described in the notes.

    Features
  • sdk-v1.3.0

    sdk-v1.3.0 adds Claude Tag endpoints for Claude Enterprise organizations and updates the SDK's handling of beta route qualifiers. It also updates long-request error documentation links and includes documentation, CI, and internal maintenance changes.

    Features
  • google-cloud-sdk-v1.1.0

    Google Cloud SDK v1.1.0 adds API support for message threads. No breaking changes, fixes, security updates, performance improvements, or upgrade steps are noted.

    Features
  • aws-sdk-v1.1.0

    The supplied release notes announce support for message threads, and the diff adds a thread API that can retain conversation state between turns. The code also adds analytics usage and cost reporting, changes tool-runner behavior and fixes, and includes user-profile enforcement types, none of which are mentioned in the supplied release notes. No definite source-breaking change or dependency update is evident in the diff provided.

    Features
  • foundry-sdk-v1.1.0

    Version 1.1.0 adds API support for message threads. The release notes do not describe other changes or required upgrade steps.

    Features
  • bedrock-sdk-v1.1.0

    bedrock-sdk-v1.1.0 adds support for message threads. The release notes do not mention breaking changes, fixes, or required upgrade steps.

    Features
  • vertex-sdk-v1.1.0

    Version 1.1.0 adds API support for message threads. The release notes report no breaking changes, fixes, security updates, or migration requirements.

    Features
  • sdk-v1.2.0

    This release adds message thread support and usage and cost reports broken down by dimension. It also fixes tool runner message handling and behavior when messages are changed inside a loop; existing usage and cost reports are now marked legacy.

    Features
  • sdk-v1.1.0

    Release sdk-v1.1.0 adds enforcement-related capabilities to the user profiles API. It introduces new TypeScript types for enforcement actions and status, adds a new filtering query parameter to user profile listing, and extends the UserProfile shape with enforcement actions and enforcement status fields.

    Features