Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

Anthropic Python SDK vs Google GenAI Python SDK

In 1,621 Python projects set up for AI coding agents, Anthropic Python SDK is a dependency in 115 (7.1%) and Google GenAI Python SDK in 101 (6.2%), close to even. Among repos created in the last 90 days that use a model sdks tool, Anthropic Python SDK is in 15.0% and Google GenAI Python SDK in 25.0%, against 27.3% and 23.4% of older ones. 20 projects list both, often a sign of a migration or of a monorepo with several apps.

Model SDKs PyPI Updated Nov 17, 2026

Anthropic Python SDK7.1%
Google GenAI Python SDK6.2%

Share of 1,621 Python projects set up for AI coding agents that list each one as a dependency.

Side by side

Anthropic Python SDKGoogle GenAI Python SDK
Agent projects that use it115101
Rank in model sdks#6#7
In new repos with a model sdks tool (last 90 days)15.0%25.0%
In older repos with one27.3%23.4%
Downloads, last 7 days49.8M40M
GitHub stars4,0804,075
Last push to its repoNov 16, 2026Nov 17, 2026
LicenseApache-2.0Apache-2.0
Funding——
Projects that list both20

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from PyPI.

By coding agent

Projects set up forPython reposAnthropic Python SDKGoogle GenAI Python SDK
Claude Code78210.1%6.3%
GitHub Copilot8055.0%5.2%
Cursor5486.8%6.6%
Gemini CLI8318.1%8.4%
OpenAI Codex7812.8%0%
OpenCode5317.0%0%
OpenClaw10416.3%16.3%
Devin Desktop600%11.7%

Share of the Python repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

Anthropic Python SDK

Official Python library for calling Claude via the Anthropic API.

Most often used with it:

python-dotenv60.9% of its projects
OpenAI Python Library56.5% of its projects
Pydantic51.3% of its projects
FastAPI40.9% of its projects
Uvicorn40.9% of its projects

pip install anthropic

Google GenAI Python SDK

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

Most often used with it:

python-dotenv73.3% of its projects
Uvicorn61.4% of its projects
FastAPI53.5% of its projects
Pydantic51.5% of its projects
Requests48.5% of its projects

pip install google-genai

More matchups

OpenAI Python Library vs Anthropic Python SDKOpenAI Python Library vs Google GenAI Python SDKOpenAI vs Anthropic SDKAnthropic SDK vs Google Generative AIOpenAI vs Google Generative AI

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.