anthropic-sdk-python
The official Python SDK released by Anthropic for accessing the Claude series large model APIs. It is the primary library for integrating Anthropic APIs within the Python ecosystem and supports both synchronous and asynchronous calls as well as various model management features.
Core Facts
Timeline (last 90 days)
v1.8.0 internally removed mypy, and fixed tests and updated test fixtures.
v1.8.0 added MCP tool-list pinning, which is in beta.
In v1.8.0, add_tools() now takes effect immediately (#874), fixing the issue where newly added tools might be delayed or not applied instantly.
The tool runner's compaction requests now exclude reply-only params (#871).
v1.8.0 fixed a crash in Python 3.13 environments triggered when a stream was still open at program exit.
The evaluated_permission enum in Managed Agents-related events now shares a single definition across multiple events.
The v1.8.0 client removed the transform logic for request parameters and switched to using a JSON encoder (539422c).
Python SDK v1.8.0 added support for the claude-opus-5-5 model.
v1.8.0 added inline tool definitions, allowing developers to embed tool descriptions directly in requests.
The anthropic-sdk-python repository has accumulated approximately 3.9k stars and 876 forks on GitHub.
5 more timeline events
All Facts (14)
Anthropic's official Python SDK (anthropic-sdk-python) released version v1.11.0.
90%Unverifiedv1.8.0 internally removed mypy, and fixed tests and updated test fixtures.
50%UnverifiedIn v1.8.0, add_tools() now takes effect immediately (#874), fixing the issue where newly added tools might be delayed or not applied instantly.
50%UnverifiedThe tool runner's compaction requests now exclude reply-only params (#871).
50%Unverifiedv1.8.0 fixed a crash in Python 3.13 environments triggered when a stream was still open at program exit.
50%UnverifiedThe evaluated_permission enum in Managed Agents-related events now shares a single definition across multiple events.
50%UnverifiedThe v1.8.0 client removed the transform logic for request parameters and switched to using a JSON encoder (539422c).
50%UnverifiedThe SDK upgrade can be completed via pip install --upgrade anthropic.
50%Unverifiedv1.11.0 marks the deprecation of Sonnet 4.5 in the Chores (routine maintenance) section, meaning Sonnet 4.5-related configurations have been deprecated at the client level.
50%UnverifiedThe update from v1.10.0 to v1.11.0 is a low-risk minor version update.
50%Unverifiedv1.8.0 added MCP tool-list pinning, which is in beta.
50%Unverifiedv1.8.0 added inline tool definitions, allowing developers to embed tool descriptions directly in requests.
50%UnverifiedPython SDK v1.8.0 added support for the claude-opus-5-5 model.
50%Unverifiedv1.11.0 adds an API endpoint for listing spend limits.
50%