Sponsor Slot OpenReach builders tracking 30 Agent SDKs and 226 MCP servers. Book featured placement ($150/wk)
Agent Frameworknpmhigh schema drift risk

@anthropic-ai/claude-agent-sdk

Anthropic Claude Agent SDK (TS) by Anthropic

SDK for building AI agents with Claude Code's capabilities. Programmatically interact with Claude to build autonomous agents that can understand codebases, edit files, and execute workflows.

Live Registry Versionv0.3.310Previous: v0.3.309Published 2026-10-23
Stability Grade
C+ (65/100)
90-Day Velocity
78 releases
High release cadence
Dependencies
0 direct
NPM manifest
License
SEE LICENSE IN README.md
Verified on NPM
Recommended Exact Pin: npm install @anthropic-ai/claude-agent-sdk@0.3.310
TL;DR Verdict & Quick Citation Summary (2026-10-24)Source: AgentBreakWatch Live NPM Index

Anthropic Claude Agent SDK (TS) (@anthropic-ai/claude-agent-sdk) is currently at v0.3.310 on NPM (published 2026-10-23), with a 90-day stability score of 65/100 (C+) and HIGH schema drift risk across 78 releases in the past 90 days. 0.3.x updates query() async generator message types, CanUseTool permission callback signatures, and mcpServers stdio/SSE config structure. Production teams should pin npm install @anthropic-ai/claude-agent-sdk@0.3.310 rather than using unpinned @latest tags.

Breaking Changes & Tool Schema Drift Analysis

0.3.x updates query() async generator message types, CanUseTool permission callback signatures, and mcpServers stdio/SSE config structure.

Watched Exports / MCP Tool Signatures:
queryCanUseToolMcpServerConfigSDKMessage
Before (Deprecated / Unpinned Pattern)
for await (const msg of query({ prompt: "fix bug", options: { allowedTools: ["Bash"] } })) {
  console.log(msg);
}
After (Verified v0.3.310 Pattern)
for await (const msg of query({
  prompt: "fix bug",
  options: { permissionMode: "acceptEdits", allowedTools: ["Bash", "Edit"] }
})) {
  console.log(msg);
}

Frequently Asked Questions: @anthropic-ai/claude-agent-sdk

What is the latest version of @anthropic-ai/claude-agent-sdk on NPM?

As of 2026-10-24, the latest stable version of @anthropic-ai/claude-agent-sdk (Anthropic Claude Agent SDK (TS) by Anthropic) on NPM is v0.3.310, published on 2026-10-23. It has shipped 78 releases in the last 90 days.

Does @anthropic-ai/claude-agent-sdk v0.3.310 have breaking changes or MCP schema drift risk?

@anthropic-ai/claude-agent-sdk currently carries a HIGH schema drift risk rating with a Stability Score of 65/100 (Grade C+). 0.3.x updates query() async generator message types, CanUseTool permission callback signatures, and mcpServers stdio/SSE config structure.

How do I safely pin @anthropic-ai/claude-agent-sdk in production?

Avoid unpinned @latest tags in production agent configs. Pin the exact verified version using `npm install @anthropic-ai/claude-agent-sdk@0.3.310` and monitor query, CanUseTool, McpServerConfig, SDKMessage for parameter or schema changes.

30-Min Registry & Schema Poller

Get Instant Breaking-Change Alerts for @anthropic-ai/claude-agent-sdk

We poll NPM and anthropics/claude-agent-sdk-typescript every 30 minutes. Get an email with the exact diff when @anthropic-ai/claude-agent-sdk ships a breaking release beyond v0.3.310.