🌐
PyPI
pypi.org › project › google-genai
google-genai · PyPI
2 weeks ago - Google Gen AI Python SDK provides an interface for developers to integrate Google's generative models into their Python applications. It supports the Gemini Developer API and Gemini Enterprise Agent Platform APIs. [!WARNING] Upcoming Breaking Change to Automatic Function Calling (AFC): We will introduce a breaking change to the Automatic Function Calling (AFC) feature in the next major version.
      » pip install google-genai
    
Published   Jun 24, 2026
Version   2.10.0
🌐
GitHub
github.com › googleapis › python-genai › releases
Releases · googleapis/python-genai
Google Gen AI Python SDK provides an interface for developers to integrate Google's generative models into their Python applications. - Releases · googleapis/python-genai
Author   googleapis
🌐
GitHub
github.com › googleapis › python-genai
GitHub - googleapis/python-genai: Google Gen AI Python SDK provides an interface for developers to integrate Google's generative models into their Python applications. · GitHub
1 month ago - If you also pass a python function as a tool, by default the SDK will perform automatic function calling until the remote calls exceed the maximum remote call for automatic function calling (default to 10 times). If you'd like to disable automatic function calling in ANY mode: from google.genai import types def get_current_weather(location: str) -> str: """Returns the current weather.
Starred by 3.8K users
Forked by 929 users
Languages   Python
🌐
Langchain
reference.langchain.com › python › langchain-google-genai
langchain_google_genai | LangChain Reference
As of langchain-google-genai 4.0.0, this package uses the consolidated google-genai SDK instead of the legacy google-ai-generativelanguage SDK.
🌐
Google AI
ai.google.dev › gemini api › gemini api libraries
Gemini API libraries | Google AI for Developers
April 28, 2026 - The Google GenAI SDK is available for the Python, JavaScript/TypeScript, Go and Java languages. You can install each language's library using package managers, or visit their GitHub repos for further engagement: ... <dependencies> <dependency> ...
🌐
PyPI
pypi.org › project › google-generativeai
google-generativeai · PyPI
Please be advised that this repository is now considered legacy. For the latest features, performance improvements, and active development, we strongly recommend migrating to the official Google Generative AI SDK for Python.
      » pip install google-generativeai
    
Published   Dec 16, 2025
Version   0.8.6
🌐
PyPI Stats
pypistats.org › packages › google-genai
google-genai
PyPI page Home page Author: None Summary: GenAI Python SDK Latest version: 2.8.0 Required dependencies: anyio | distro | google-auth | httpx | pydantic | requests | sniffio | tenacity | typing-extensions | websockets Optional dependencies: aiohttp | protobuf | pyopenssl | sentencepiece Downloads ...
🌐
GitHub
github.com › google-gemini › deprecated-generative-ai-python
GitHub - google-gemini/deprecated-generative-ai-python: This SDK is now deprecated, use the new unified Google GenAI SDK. · GitHub
With Gemini 2.0, we took the chance to create a single unified SDK for all developers who want to use Google's GenAI models (Gemini, Veo, Imagen, etc).
Starred by 2.3K users
Forked by 519 users
Languages   Python
🌐
DeepWiki
deepwiki.com › googleapis › python-genai › 1.1-installation-and-setup
Installation and Setup | googleapis/python-genai | DeepWiki
February 6, 2026 - Supported versions include Python 3.10, 3.11, 3.12, 3.13, and 3.14. ... The Gemini Developer API uses API key authentication. You can provide the API key in two ways: Set one of the following environment variables (priority order): ... Vertex ...
Find elsewhere
🌐
Medium
medium.com › google-cloud › migrating-to-the-new-google-gen-ai-sdk-python-074d583c2350
Migrating to the new Google Gen AI SDK (Python) | by Maciej Strzelczyk | Google Cloud - Community | Medium
July 24, 2025 - August 31st, 2025 for the Google AI Python SDK for the Gemini API (google-generativeai) June 24th, 2026 for the generative AI module of Vertex AI SDK (google-cloud-aiplatform) To start your migration, have a look at the google-genai documentation ...
🌐
Google
docs.cloud.google.com › gemini enterprise agent platform › google gen ai sdk
Google Gen AI SDK | Gemini Enterprise Agent Platform | Google Cloud Documentation
To learn more, see the Python SDK reference. ... # Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_ENTERPRISE=True
🌐
GitHub
github.com › googleapis › python-genai › tree › main › google › genai
python-genai/google/genai at main · googleapis/python-genai
Google Gen AI Python SDK provides an interface for developers to integrate Google's generative models into their Python applications. - python-genai/google/genai at main · googleapis/python-genai
Author   googleapis
🌐
Codegive
codegive.com › blog › pip_install_google_generativeai.php
How to Pip Install google-generativeai (2026 Gemini SDK)
April 8, 2026 - # Example for a specific Python version (e.g., Python 3.9+) python3.9 -m pip install google-generativeai · pip3 install google-generativeai 2. Verification: You can verify the installation by trying to import the library in a Python interpreter: # Open a Python interpreter by typing 'python' ...
🌐
GitHub
googleapis.github.io › python-genai › genai.html
Submodules - Google Gen AI SDK documentation
Usage: .. code-block:: python · from google.genai import Client · client = Client( vertexai=True, project=’my-project-id’, location=’us-central1’ ·
🌐
GitHub
github.com › googleapis › python-genai › blob › main › codegen_instructions.md
python-genai/codegen_instructions.md at main · googleapis/python-genai
Google Gen AI Python SDK provides an interface for developers to integrate Google's generative models into their Python applications. - python-genai/codegen_instructions.md at main · googleapis/python-genai
Author   googleapis
🌐
Google Cloud
cloud.google.com › gemini enterprise agent platform › google gen ai libraries
Google Gen AI libraries | Gemini Enterprise Agent Platform | Google Cloud Documentation
Install our Python library by running: pip install google-genai · Install our Go library by running: go get google.golang.org/genai · Install our JavaScript/TypeScript library by running: npm install @google/genai · The new JavaScript and ...