We've released v1.0 of the Python SDK
By Steven Van ·
We've released v1.0 of the Python SDK.
Anthropic has released v1.0 of its Python SDK, with breaking changes for anyone upgrading.
- The HTTP layer moves from httpx to httpx2, a maintained, API-compatible fork. Custom http_client, Timeout, and transport objects should now be built from httpx2 (the DefaultHttpxClient helpers are unchanged), and anyone using tracing or mocking libraries that patch httpx should call httpx2.alias_httpx() at startup.
- v1.0 requires Python 3.10 or later.
- Long-deprecated surface is removed, including the legacy Text Completions API, the temperature, top_p, and top_k parameters on Messages methods, and the tool runner's client-side compaction_control.
- On the async client, .with_raw_response results now need await response.parse().
- AnthropicBedrock now raises an error when no AWS region is configured, instead of defaulting to us-east-1.
The v1 migration guide covers every change with before-and-after snippets. Separately, the computer use and browser use toolsets (computer_toolset_20260801 and browser_toolset_20260801) are now available on Google Cloud for Claude Fable 5, Claude Mythos 5, Claude Opus 5, Claude Sonnet 5, and Claude Opus 4.8, using the same tools entries as on the Claude API.
Anthropic
Anthropic is an AI safety and research company that's working to build reliable, interpretable, and steerable AI systems.
View Anthropic →