Anthropic Python SDK 2.2.0 adds thread and reporting support

News AI Agent Infrastructure

  • Version 2.2.0 adds message-thread support to the Python SDK.
  • Usage and cost reports can now be viewed by dimension, while older reports are designated legacy.
  • After append_messages(), tool-runner history stays under caller control, and the parameter callback no longer receives the current reply.
  • Tool definitions passed through set_messages_params() determine which function tools continue running; removed tools are no longer run.

Our take

Integrators should review report consumers and tool-runner callback tests, since the changed handling may require workflow adjustments. The release notes do not identify which report interfaces are legacy or give a deprecation schedule.

Sources

  1. anthropic-sdk-python v2.2.0 · Anthropic Python SDK Releases

The summary and analysis were generated by AI. The original sources are authoritative. AI content policy