@anthropic-ai/sdk
Anthropic TypeScript SDK by Anthropic
The official TypeScript library for the Anthropic API
npm install @anthropic-ai/sdk@1.3.0Anthropic TypeScript SDK (@anthropic-ai/sdk) is currently at v1.3.0 on NPM (published 2026-10-23), with a 90-day stability score of 70/100 (C+) and HIGH schema drift risk across 27 releases in the past 90 days. Major v1.x transition drops legacy completions helpers and enforces typed beta headers for computer-use, code-execution, and MCP connector blocks. Production teams should pin npm install @anthropic-ai/sdk@1.3.0 rather than using unpinned @latest tags.
Breaking Changes & Tool Schema Drift Analysis
Major v1.x transition drops legacy completions helpers and enforces typed beta headers for computer-use, code-execution, and MCP connector blocks.
anthropic.messages.createToolUseBlockBetaMcpToolConfigconst msg = await anthropic.beta.messages.create({
model: "claude-3-7-sonnet-20250219",
betas: ["token-efficient-tools-2025-02-19"],
messages
});const msg = await anthropic.messages.create({
model: "claude-sonnet-4-5",
thinking: { type: "enabled", budget_tokens: 4096 },
messages
});Frequently Asked Questions: @anthropic-ai/sdk
What is the latest version of @anthropic-ai/sdk on NPM?
As of 2026-10-24, the latest stable version of @anthropic-ai/sdk (Anthropic TypeScript SDK by Anthropic) on NPM is v1.3.0, published on 2026-10-23. It has shipped 27 releases in the last 90 days.
Does @anthropic-ai/sdk v1.3.0 have breaking changes or MCP schema drift risk?
@anthropic-ai/sdk currently carries a HIGH schema drift risk rating with a Stability Score of 70/100 (Grade C+). Major v1.x transition drops legacy completions helpers and enforces typed beta headers for computer-use, code-execution, and MCP connector blocks.
How do I safely pin @anthropic-ai/sdk in production?
Avoid unpinned @latest tags in production agent configs. Pin the exact verified version using `npm install @anthropic-ai/sdk@1.3.0` and monitor anthropic.messages.create, ToolUseBlock, BetaMcpToolConfig for parameter or schema changes.
Get Instant Breaking-Change Alerts for @anthropic-ai/sdk
We poll NPM and anthropics/anthropic-sdk-typescript every 30 minutes. Get an email with the exact diff when @anthropic-ai/sdk ships a breaking release beyond v1.3.0.
Recent NPM Releases
Verified release timestamps from live registry metadata.
Related in Agent SDKs
View Hub ->OpenAI Node SDK • Stability B (78)
Model Context Protocol TypeScript SDK • Stability B (78)
Vercel AI SDK Core • Stability C+ (70)
Vercel AI SDK OpenAI Provider • Stability B (78)
Vercel AI SDK Anthropic Provider • Stability B (78)
LangChain Core JS • Stability B+ (82)