Anthropic › Anthropic Python SDK
Anthropic Python SDK 2.2.0
Anthropic · SDK / library · v2.2.0 · Released
View official release notes ↗ Copy link
Features
- api: add support for message threads
- api: add usage and cost reports by dimension, mark older reports legacy
Bug Fixes
- client: stop suggesting math.inf in the max_retries error message
- tools: leave the tool runner's history to the caller after
append_messages(), and keep the current reply out of theset_messages_params()callback - tools: keep running the tool runner's function tools when
set_messages_params()givestoolsas definitions, and stop running one it takes out oftools - tools: give the
set_messages_params()callback of a tool runner itstoolsas definitions again - tools: keep a tool runner's
betas,user_profile_idandworkspace_idwhenset_messages_params()leaves them out
Chores
- deps: bump certifi in the dev lockfile
- docs: clarify plugin content scan and validation descriptions
- docs: clarify plugin served_version_pinned and updated_at
- docs: fix usage and cost report examples and ending_at docs
- docs: rate limit model lists vary by organization and workspace
Source: Anthropic's official Anthropic Python SDK release notes at github.com. Text reproduced from the source for reference; all rights belong to Anthropic. Patchwire is not affiliated with Anthropic.
← Older: v2.1.0Newer: v2.3.0 →
Get new Anthropic Python SDK releases by email
Every AI dev-tool release, including Anthropic Python SDK, in one short email each morning. Free. The digest is launching soon; join the list to get it from day one.
By subscribing you agree to our Terms and Privacy Policy. Unsubscribe anytime.
Nearby Anthropic Python SDK releases
- v2.4.0 · Nov 2, 2026
- v2.3.0 · Oct 23, 2026
- v2.1.0 · Oct 21, 2026
- v2.0.0 · Oct 21, 2026
- v1.17.0 · Oct 20, 2026
- v1.16.0 · Oct 20, 2026
Full Anthropic Python SDK changelog →
More from Anthropic
Other Anthropic changelogs: Claude Code · Claude apps · Claude API · Anthropic TypeScript SDK · Claude Agent SDK. All Anthropic releases →