anthropic
Anthropic Python SDK by Anthropic
The official Python library for the anthropic API
pip install "anthropic==2.3.0"Anthropic Python SDK (anthropic) is currently at v2.3.0 on PYPI (published 2026-10-23), with a 90-day stability score of 78/100 (B) and MEDIUM schema drift risk across 30 releases in the past 90 days. v2.x drops Python 3.9 support, requires typed thinking blocks on multi-turn tool loops, and updates streaming citation events. Production teams should pin pip install "anthropic==2.3.0" rather than using unpinned @latest tags.
Breaking Changes & Tool Schema Drift Analysis
v2.x drops Python 3.9 support, requires typed thinking blocks on multi-turn tool loops, and updates streaming citation events.
AnthropicAsyncAnthropicmessages.streamclient.beta.prompt_caching.messages.create(model="claude-3-5-sonnet-20241022", messages=msgs)client.messages.create(model="claude-sonnet-4-5", max_tokens=4096, messages=msgs)Frequently Asked Questions: anthropic
What is the latest version of anthropic on PYPI?
As of 2026-10-24, the latest stable version of anthropic (Anthropic Python SDK by Anthropic) on PYPI is v2.3.0, published on 2026-10-23. It has shipped 30 releases in the last 90 days.
Does anthropic v2.3.0 have breaking changes or MCP schema drift risk?
anthropic currently carries a MEDIUM schema drift risk rating with a Stability Score of 78/100 (Grade B). v2.x drops Python 3.9 support, requires typed thinking blocks on multi-turn tool loops, and updates streaming citation events.
How do I safely pin anthropic in production?
Avoid unpinned @latest tags in production agent configs. Pin the exact verified version using `pip install "anthropic==2.3.0"` and monitor Anthropic, AsyncAnthropic, messages.stream for parameter or schema changes.
Get Instant Breaking-Change Alerts for anthropic
We poll PYPI and anthropics/anthropic-sdk-python every 30 minutes. Get an email with the exact diff when anthropic ships a breaking release beyond v2.3.0.
Recent PYPI Releases
Verified release timestamps from live registry metadata.
Related in Agent SDKs
View Hub ->OpenAI Node SDK • Stability B (78)
Anthropic TypeScript SDK • Stability C+ (70)
Model Context Protocol TypeScript SDK • Stability B (78)
Vercel AI SDK Core • Stability C+ (70)
Vercel AI SDK OpenAI Provider • Stability B (78)
Vercel AI SDK Anthropic Provider • Stability B (78)