Skip to content

Releases: anthropics/claude-agent-sdk-python

v0.1.63

18 Apr 01:49

Choose a tag to compare

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.114

PyPI: https://pypi.org/project/claude-agent-sdk/0.1.63/

pip install claude-agent-sdk==0.1.63

v0.1.62

17 Apr 19:54

Choose a tag to compare

New Features

  • Top-level skills option: Added skills parameter to ClaudeAgentOptions for enabling skills on the main session without manually configuring allowed_tools and setting_sources. Supports "all" for every discovered skill, a list of named skills, or [] to suppress all skills (#804)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.113

PyPI: https://pypi.org/project/claude-agent-sdk/0.1.62/

pip install claude-agent-sdk==0.1.62

v0.1.61

16 Apr 22:03

Choose a tag to compare

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.112

PyPI: https://pypi.org/project/claude-agent-sdk/0.1.61/

pip install claude-agent-sdk==0.1.61

v0.1.60

16 Apr 15:34

Choose a tag to compare

New Features

  • Subagent transcript helpers: Added list_subagents() and get_subagent_messages() session helpers for reading subagent transcripts, enabling inspection of subagent message chains spawned during a session (#825)
  • Distributed tracing: Propagate W3C trace context (TRACEPARENT/TRACESTATE) to the CLI subprocess when an OpenTelemetry span is active, connecting SDK and CLI traces end-to-end. Install with pip install claude-agent-sdk[otel] for optional OpenTelemetry support (#821)
  • Cascading session deletion: delete_session() now removes the sibling subagent transcript directory alongside the session file, matching TypeScript SDK behavior (#805)

Bug Fixes

  • Empty setting sources: Fixed setting_sources=[] being silently dropped (treated as falsy), which caused the CLI to load default settings instead of disabling all filesystem settings. An empty list now correctly passes --setting-sources= to disable all sources (#822)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.111

PyPI: https://pypi.org/project/claude-agent-sdk/0.1.60/

pip install claude-agent-sdk==0.1.60

v0.1.59

13 Apr 22:08

Choose a tag to compare

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.105

PyPI: https://pypi.org/project/claude-agent-sdk/0.1.59/

pip install claude-agent-sdk==0.1.59

v0.1.58

09 Apr 01:51

Choose a tag to compare

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.97

PyPI: https://pypi.org/project/claude-agent-sdk/0.1.58/

pip install claude-agent-sdk==0.1.58

v0.1.57

09 Apr 00:22

Choose a tag to compare

New Features

  • Cross-user prompt caching: Added exclude_dynamic_sections option to SystemPromptPreset, enabling cross-user prompt cache hits by moving per-user dynamic sections (working directory, memory, git status) out of the system prompt (#797)
  • Auto permission mode: Added "auto" to the PermissionMode type, bringing parity with the TypeScript SDK and CLI v2.1.90+ (#785)

Bug Fixes

  • Thinking configuration: Fixed thinking={"type": "adaptive"} incorrectly mapping to --max-thinking-tokens 32000 instead of --thinking adaptive. The disabled type similarly now uses --thinking disabled instead of --max-thinking-tokens 0, matching the TypeScript SDK behavior (#796)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.96

PyPI: https://pypi.org/project/claude-agent-sdk/0.1.57/

pip install claude-agent-sdk==0.1.57

v0.1.56

04 Apr 00:57

Choose a tag to compare

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.92

PyPI: https://pypi.org/project/claude-agent-sdk/0.1.56/

pip install claude-agent-sdk==0.1.56

v0.1.55

03 Apr 00:38

Choose a tag to compare

Bug Fixes

  • MCP large tool results: Forward maxResultSizeChars from ToolAnnotations via _meta to bypass Zod annotation stripping in the CLI, fixing silent truncation of large MCP tool results (>50K chars) (#756)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.91

PyPI: https://pypi.org/project/claude-agent-sdk/0.1.55/

pip install claude-agent-sdk==0.1.55

v0.1.54

02 Apr 00:09

Choose a tag to compare


PyPI: https://pypi.org/project/claude-agent-sdk/0.1.54/

pip install claude-agent-sdk==0.1.54