Anthropic Python SDK

agent-sdkNo score yet

Stars

3,606

Δ stars 7d

Δ stars 30d

Forks

720

Contributors

62

npm DL / wk

PyPI DL / wk

35,302,133

Language

Python

Last push

2026-06-09

About Anthropic Python SDK

The Claude SDK for Python provides access to the Claude API from Python applications. Full documentation is available at **platform.claude.com/docs/en/api/sdks/python**. client = Anthropic( api_key=os.environ.get("ANTHROPIC_API_KEY"), # This is the default and can be omitted )

Read the full README on GitHub →

Install

pip install anthropic
Newly tracked — a growth score appears after the first full scoring week. Signals are deliberately suppressed during cold start to avoid false positives.

Anthropic Python SDK alternatives

Projects in the same category, closest in size — picked by data, not opinion.

Google GenAI SDKNo score yet3,786
Anthropic JS SDKNo score yet1,994
OpenAI Node SDKNo score yet10,964
Mistral Python SDKNo score yet744

See all agent-sdk projects ranked by growth →

More from anthropics

Claude CodeNo score yet131,460
Anthropic JS SDKNo score yet1,994

Frequently asked questions

Is Anthropic Python SDK still maintained?
Yes — actively maintained. The last push was on 2026-06-09, with 62 contributors.
What are the best Anthropic Python SDK alternatives?
Closest by category and size in our data: Google GenAI SDK, Anthropic JS SDK, OpenAI Node SDK — full list with live signals above.

Embed this badge

Show your project's live signal in your README — it updates weekly with the data.

[![Anthropic Python SDK on What's Trending in AI](https://whatstrendinginai.com/badges/anthropics__anthropic-sdk-python.svg)](https://whatstrendinginai.com/projects/anthropics__anthropic-sdk-python/)

Anthropic Python SDK badge

Tracked since 2026-06-10 · data as of 2026-06-10 · 298 open issues · 199 releases