Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Anthropic Python SDK

Official Python library for calling Claude via the Anthropic API.

Model SDKsPYPI

GitHubWebsite

1. License

License from PyPI classifier.

github.com/anthropics/anthropic-sdk-python

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What Anthropic Python SDK does

Official Python library for calling Claude via the Anthropic API.

Anthropic Python SDK popularity

74 / 100
Gid Score, #231 overall
51.5M
downloads a week, pypi
4,098
GitHub stars
115
agent projects use it
Anthropic Python SDK: downloads per weekPyPI, anthropic 50,961,455
Anthropic Python SDK: GitHub starsanthropics/anthropic-sdk-python 4,098

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How Anthropic Python SDK is used

  • Anthropic Python SDK is a dependency in 115 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (7.1% of the 1,623 Python ones), #6 of 92 in model sdks.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 1,135; those are left out of every share on this page.
  • The most used alternative in our scan is OpenAI Python Library (248 projects).
  • Projects that use it most often also use python-dotenv (60.0%), OpenAI Python Library (56.5%), Pydantic (51.3%).
  • It is more common in projects set up for OpenClaw (5.7%) than for GitHub Copilot (1.3%).

By coding agent

80 projects, 2.4%
40 projects, 1.3%
37 projects, 1.5%
19 projects, 5.7%
15 projects, 3.2%
10 projects, 2.1%
9 projects, 2.6%
8 projects, 5.7%

Often used with

In 60.0% of its projects
In 56.5% of its projects
In 51.3% of its projects
In 40.9% of its projects
In 40.0% of its projects
In 36.5% of its projects
In 35.7% of its projects
In 34.8% of its projects

More about Anthropic Python SDK

Agent Skills for it
  • anthropic-administrator-automation: Automate Anthropic Admin tasks via Rube MCP (Composio). Always search tools first for current schemas.
  • anthropic-administrator-automation: Automate Anthropic Admin tasks via Rube MCP (Composio). Always search tools first for current schemas.
  • anthropic: Check Anthropic API access and list available Claude models. Read-only. Trigger phrases: anthropic, claude models, anthropic api.
  • anthropic-frontend-design: This skill should be used when the user asks for "art direction", "a distinctive visual identity", or "a visual redesign". Develop typograph

See all

Head to head
More in Model SDKs

Alternatives

Anthropic Python SDK This page

Apache-2.0Gid 7451.5M/wk

OpenAI Python Library

Official Python SDK to call OpenAI APIs including GPT models and embeddings.

Apache-2.0Gid 8694.8M/wk

Google GenAI Python SDK

Official Python SDK for Google's generative AI models including Gemini.

Apache-2.0Gid 7340.7M/wk

OpenAI Agents SDK (Python)

Official SDK for building and running agents with OpenAI models.

MITGid 715.2M/wk

DashScope SDK

Official Python client SDK for Alibaba DashScope API to call language models.

Apache-2.0Gid 43339K/wk

Mistral AI SDK

Official Python SDK for the Mistral AI API to call Mistral language models.

Apache-2.0Gid 503.3M/wk

Cohere

Official SDK for accessing Cohere's language models and APIs.

MITGid 502.9M/wk

Compare Anthropic Python SDK with another tool

Get started

Install it.

pip install anthropic

No step-by-step start for Anthropic Python SDK yet: we have not written its hand-checked card.