Briefs · Taipei time (GMT+8)

Anthropic Python SDK v2.4.0 brings analytics, spend limits, and RBAC methods to GA

一句重點:Python teams can use the SDK's GA methods to query analytics, set spend limits, and manage role-based access.

發生什麼事

Anthropic released anthropic-sdk-python v2.4.0. This version makes methods for RBAC, analytics, and spend limits generally available. For unified metrics and RBAC delete responses, it introduces beta types with distinct names. It also adds a shared analytics order, and request actor types have more variants. The release adds tool_use_limit_reached_error and compaction_limit_reached_error (🗣 self-reported).

01Sources

  • anthropic-sdk-python v2.4.0: Anthropic's official Python SDK release on GitHub, published 2026-11-02 at 19:07 UTC (03:07 on 2026-11-03 in Taipei).