Model BehaviorAutomated release watch

Anthropic Python SDK v2.2.0

Anthropic Python SDK v2.2.0 adds message threads support, multidimensional usage and cost reports, and several tool runner state management fixes.

Human read

Why this signal matters

Anthropic released version 2.2.0 of its Python SDK. Key features include API support for message threads and new usage and cost reports broken down by dimension, while designating older reports as legacy. Bug fixes target the client retry error messaging (removing references to math.inf ) and resolve several state and parameter handling issues in the tool runner, specifically concerning message history after append messages() , tool definition passing and execution synchronization in set messages params() , and the preservation of metadata (betas, user profile IDs, workspace IDs). Documentation updates and a development dependency bump for certifi are also included.

Agent parse

Actionable summary

Anthropic Python SDK v2.2.0 introduces API support for message threads and dimensional usage/cost reports (marking older reports as legacy). It fixes tool runner handling of history in append messages() , tool execution tracking and definitions in set messages params() , and context persistence for betas, user profile id , and workspace id .

Agent usefulness
77/100
Confidence
96%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • Update the Anthropic Python SDK to v2.2.0 via your dependency manager.
  • Review usage and cost tracking integrations to adopt new dimension-based reports and migrate off legacy report formats.
  • Verify tool runner implementations using set messages params() and append messages() to ensure compatibility with updated state handling and parameter behavior.
Classification

Tags and routing

anthropicsdkpython
Related signals

Continue the thread