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.
Last release today
26 Aug 2026
Ships on a steady schedule
a new release about every 8 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 months old
279 releases · first in 2025
Release timeline
279 releases since 20252026
Releases
- 0.2.346 Feb 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.34
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.2.336 Feb 2026
Release notes
Open source →What's changed
- Added
TeammateIdleandTaskCompletedhook events with correspondingTeammateIdleHookInputandTaskCompletedHookInputtypes - Added
sessionIdoption to specify a custom UUID for conversations instead of auto-generated ones - Updated to parity with Claude Code v2.1.33
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected]Additional notes
Open source →- Added
TeammateIdleandTaskCompletedhook events with correspondingTeammateIdleHookInputandTaskCompletedHookInputtypes - Added
sessionIdoption to specify a custom UUID for conversations instead of auto-generated ones - Updated to parity with Claude Code v2.1.33
- Added
- 0.2.325 Feb 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.32
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.2.314 Feb 2026
Release notes
Open source →What's changed
- Added
stop_reasonfield toSDKResultSuccessandSDKResultErrorto indicate why the model stopped generating
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected]Additional notes
Open source →- Added
stop_reasonfield toSDKResultSuccessandSDKResultErrorto indicate why the model stopped generating
- Added
- 0.2.303 Feb 2026
Release notes
Open source →What's changed
- Added
debuganddebugFileoptions for programmatic control of debug logging - Added optional
pagesfield toFileReadToolInputfor reading specific PDF page ranges - Added
partsoutput type toFileReadToolOutputfor page-extracted PDF results - Fixed "(no content)" placeholder messages being included in SDK output
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected]Additional notes
Open source →- Added
debuganddebugFileoptions for programmatic control of debug logging - Added optional
pagesfield toFileReadToolInputfor reading specific PDF page ranges - Added
partsoutput type toFileReadToolOutputfor page-extracted PDF results - Fixed "(no content)" placeholder messages being included in SDK output
- Added
- 0.2.2931 Jan 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.29
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.2.2730 Jan 2026
Release notes
Open source →What's changed
- Added
listSessionsfunction to discover resumable sessions by project, repo, or globally - Added optional
annotationssupport to thetool()helper function for specifying MCP tool hints (readOnlyHint, destructiveHint, openWorldHint, idempotentHint) - Fixed
mcpServerStatus()to include tools from SDK and dynamically-added MCP servers - Updated to parity with Claude Code v2.1.27
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected]Additional notes
Open source →- Added optional
annotationssupport to thetool()helper function for specifying MCP tool hints (readOnlyHint, destructiveHint, openWorldHint, idempotentHint) - Fixed
mcpServerStatus()to include tools from SDK and dynamically-added MCP servers - Updated to parity with Claude Code v2.1.27
- Added
- 0.2.2630 Jan 2026
Nothing published for this version
- 0.2.2529 Jan 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.25
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.2.2329 Jan 2026
Release notes
Open source →What's changed
- Fixed structured output validation errors not being reported correctly
- Updated to parity with Claude Code v2.1.23
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected]Additional notes
Open source →- Fixed structured output validation errors not being reported correctly
- Updated to parity with Claude Code v2.1.23
- 0.2.2228 Jan 2026
Release notes
Open source →What's changed
- Fixed structured outputs to handle empty assistant messsages
- Updated to parity with Claude Code v2.1.22
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected]Additional notes
Open source →- Fixed structured outputs to handle empty assistant messsages
- Updated to parity with Claude Code v2.1.22
- 0.2.2128 Jan 2026
Release notes
Open source →What's changed
- Added
config,scope, andtoolsfields toMcpServerStatusfor richer server introspection - Added
reconnectMcpServer()andtoggleMcpServer()methods for managing MCP server connections - Added
disabledstatus toMcpServerStatus - Fixed PermissionRequest hooks not being executed in SDK mode (e.g., VS Code extension)
- Updated to parity with Claude Code v2.1.21
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected]Additional notes
Open source →- Added
config,scope, andtoolsfields toMcpServerStatusfor richer server introspection - Added
reconnectMcpServer()andtoggleMcpServer()methods for managing MCP server connections - Added
disabledstatus toMcpServerStatus - Fixed PermissionRequest hooks not being executed in SDK mode (e.g., VS Code extension)
- Updated to parity with Claude Code v2.1.21
- Added
- 0.2.2027 Jan 2026
Release notes
Open source →What's changed
- Added support for loading CLAUDE.md files from directories specified via
additionalDirectoriesoption (requires settingCLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1in theenvoption) - Added
CLAUDE_CODE_ENABLE_TASKSenv var, set totrueto opt into the new task system - Updated to parity with Claude Code v2.1.20
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected]Additional notes
Open source →- Added support for loading CLAUDE.md files from directories specified via
additionalDirectoriesoption (requires settingCLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD=1in theenvoption) - Added
CLAUDE_CODE_ENABLE_TASKSenv var, set totrueto opt into the new task system - Updated to parity with Claude Code v2.1.20
- Added support for loading CLAUDE.md files from directories specified via
- 0.2.1923 Jan 2026
Release notes
Open source →What's changed
- Added
CLAUDE_CODE_ENABLE_TASKSenv var, set totrueto opt into the new task system
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected]Additional notes
Open source →- Added
CLAUDE_CODE_ENABLE_TASKSenv var, set totrueto opt into the new task system
- Added
- 0.2.1822 Jan 2026
Nothing published for this version
- 0.2.1722 Jan 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.17
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.2.1622 Jan 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.16
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.2.1521 Jan 2026
Release notes
Open source →What's changed
- Added notification hook support
- Added
close()method to Query interface for forcefully terminating running queries - Updated to parity with Claude Code v2.1.15
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected]Additional notes
Open source →- Added notification hook support
- Added
close()method to Query interface for forcefully terminating running queries - Updated to parity with Claude Code v2.1.15
- 0.2.1420 Jan 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.14
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.2.1217 Jan 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.12
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.2.1117 Jan 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.11
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.2.1017 Jan 2026
Release notes
Open source →- Added
skillsandmaxTurnsconfiguration options to custom agent definitions.
- Added
- 0.2.916 Jan 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.9
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.2.815 Jan 2026
- 0.2.713 Jan 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.7
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.2.613 Jan 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.6
- Added
claudeCodeVersionfield topackage.jsonfor programmatically determining compatible CLI version
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected]Additional notes
Open source →- Updated to parity with Claude Code v2.1.6
- Added
claudeCodeVersionfield topackage.jsonfor programmatically determining compatible CLI version
- 0.2.511 Jan 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.5
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.2.410 Jan 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.4
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.2.39 Jan 2026
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.1.3
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.2.28 Jan 2026
Nothing published for this version
- 0.2.17 Jan 2026
Nothing published for this version
- 0.2.07 Jan 2026
Release notes
Open source →- Added
errorfield toMcpServerStatusfor failed MCP server connections - Updated to parity with Claude Code v2.1.0
- Added
- 0.1.776 Jan 2026
- 0.1.7622 Dec 2025
Nothing published for this version
- 0.1.7520 Dec 2025
- 0.1.7419 Dec 2025
Release notes
Open source →What's changed
- Updated to parity with Claude Code v2.0.74
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected] - 0.1.7318 Dec 2025
Release notes
Open source →What's changed
- Fixed a bug where Stop hooks would not consistently run due to
Stream closederror - Updated to parity with Claude Code v2.0.73
Update
npm install @anthropic-ai/[email protected] # or yarn add @anthropic-ai/[email protected] # or pnpm add @anthropic-ai/[email protected] # or bun add @anthropic-ai/[email protected]Additional notes
Open source →- Fixed a bug where Stop hooks would not consistently run due to
Stream closederror - Updated to parity with Claude Code v2.0.73
- Fixed a bug where Stop hooks would not consistently run due to
- 0.1.7217 Dec 2025
Release notes2 sources agree
Open source →- Fixed
/contextcommand not respecting custom system prompts - Fixed non-streaming single-turn queries to close immediately on first result instead of waiting for inactivity timeout
- Changed V2 session API method
receive()tostream()for consistency with Anthropic SDK patterns - Updated to parity with Claude Code v2.0.72
- Fixed
- 0.1.7116 Dec 2025
Release notes
Open source →- Added zod
^4.0.0as peer dependency option in addition to zod^3.24.1 - Added support for AskUserQuestion tool. If using
toolsoption, enable by including'AskUserQuestion'in list - Fixed visible console window appearing when spawning Claude subprocess on Windows
- Fixed spawn message being sent to stderr callback (anthropics/claude-agent-sdk-typescript#45)
- Updated to parity with Claude Code v2.0.71
- Added zod
- 0.1.7015 Dec 2025
Nothing published for this version
- 0.1.6913 Dec 2025
- 0.1.6812 Dec 2025
Release notes
Open source →- Fixed a bug where disallowed MCP tools were visible to the model
- Updated to parity with Claude Code v2.0.68
- 0.1.6711 Dec 2025
- 0.1.6611 Dec 2025
Release notes
Open source →- Fixed project MCP servers from
.mcp.jsonnot being available whensettingSourcesincludesproject - Updated to parity with Claude Code v2.0.66
- Fixed project MCP servers from
- 0.1.6511 Dec 2025
- 0.1.639 Dec 2025
- 0.1.629 Dec 2025
Nothing published for this version
- 0.1.617 Dec 2025
- 0.1.605 Dec 2025
- 0.1.594 Dec 2025
- 0.1.583 Dec 2025
Release notes
Open source →- Updated to parity with Claude Code v2.0.58
- Added
betasoption to enable beta features. Currently supports'context-1m-2025-08-07'for 1M token context window on Sonnet 4/4.5. See https://platform.claude.com/docs/en/api/beta-headers for more details.
- 0.1.573 Dec 2025
Release notes
Open source →- Updated to parity with Claude Code v2.0.57
- Added
toolsoption to specify the exact set of built-in tools available to the agent. Usetools: ['Bash', 'Read', 'Edit']for a strict allowlist,tools: []to disable all built-in tools, ortools: { type: 'preset', preset: 'claude_code' }for all default tools. Omitting this option preserves existing behavior where all built-in tools are available (and can be filtered withdisallowedTools).
- 0.1.561 Dec 2025
- 0.1.5526 Nov 2025
- 0.1.5426 Nov 2025
Release notes
Open source →- Updated to parity with Claude Code v2.0.54
- Added experimental v2 session APIs (
unstable_v2_createSession,unstable_v2_resumeSession,unstable_v2_prompt) for simpler multi-turn conversations - Fixed a bug where ExitPlanMode tool input was empty
- 0.1.5325 Nov 2025
- 0.1.5224 Nov 2025
- 0.1.5124 Nov 2025
Release notes
Open source →- Updated to parity with Claude Code v2.0.51
- Added support for Opus 4.5! https://www.anthropic.com/news/claude-opus-4-5
- 0.1.5021 Nov 2025
- 0.1.4921 Nov 2025