# Google GenAI Python SDK — card for AI agents

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

Category: Model SDKs · PyPI package `google-genai` · latest version 2.34.0 (checked 2026-11-01)
Install: `pip install google-genai`
License: Apache-2.0 (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 73.0 (#271 of all tools, 10 of 92 in its category)
- Used in 102 public projects set up for AI coding agents (1.6%)
- Downloads last week: 40,651,277 (as of 2026-11-24), +10.0% over 4 weeks
- GitHub stars: 4,088 (as of 2026-11-24)
- Last push: 2026-11-24

## Often used with
python-dotenv 73.5%, Uvicorn 61.8%, FastAPI 53.9%, Pydantic 52.0%, Requests 49.0%, OpenAI Python Library 41.2%

## Checked alternatives (same job)
- OpenAI Python Library: https://agentgid.com/tools/openai-pypi/agent.md
- Anthropic Python SDK: https://agentgid.com/tools/anthropic/agent.md
- DashScope SDK: https://agentgid.com/tools/dashscope/agent.md
- Mistral AI SDK: https://agentgid.com/tools/mistralai/agent.md
- Cohere: https://agentgid.com/tools/cohere/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/google-genai-pypi/
- Homepage: https://github.com/googleapis/python-genai
- Repository: https://github.com/googleapis/python-genai

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
