Download Latest Version v0.1.34 source code.tar.gz (107.3 kB)
Email in envelope

Get an email when there's a new version of Claude Agent SDK for Python

Home / v0.1.31
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-02-06 906 Bytes
v0.1.31 source code.tar.gz 2026-02-06 107.3 kB
v0.1.31 source code.zip 2026-02-06 152.9 kB
Totals: 3 Items   261.1 kB 0

New Features

  • MCP tool annotations support: Added support for MCP tool annotations via the @tool decorator's new annotations parameter, allowing developers to specify metadata hints like readOnlyHint, destructiveHint, idempotentHint, and openWorldHint. Re-exported ToolAnnotations from claude_agent_sdk for convenience (#551)

Bug Fixes

  • Large agent definitions: Fixed an issue where large agent definitions would silently fail to register due to platform-specific CLI argument size limits (ARG_MAX). Agent definitions are now sent via the initialize control request through stdin, matching the TypeScript SDK approach and allowing arbitrarily large agent payloads (#468)

Internal/Other Changes

  • Updated bundled Claude CLI to version 2.1.33

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

:::bash
pip install claude-agent-sdk==0.1.31
Source: README.md, updated 2026-02-06