--- id: google-genai version: "2.18.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # google-genai — GenAI Python SDK License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install google-genai uv add google-genai poetry add google-genai ## Description # Google Gen AI SDK [![PyPI version](https://img.shields.io/pypi/v/google-genai.svg)](https://pypi.org/project/google-genai/) ![Python support](https://img.shields.io/pypi/pyversions/google-genai) [![PyPI - Downloads](https://img.shields.io/pypi/dw/google-genai)](https://pypistats.org/packages/google-genai) -------- **Documentation:** https://googleapis.github.io/python-genai/ ----- 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](https://ai.google.dev/gemini-api/docs) and [Gemini Enterprise Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform) APIs. > [!WARNING] > **Updates to Automatic Function Calling (AFC) in upcoming SDK version:** > We are changing AFC behavior in the next major version. > Specifically, users will not be able to > invoke AFC from direct calls to `Models.generate_content` or its stream and > async variants. Instead, users should invoke AFC from `Chats` modules. > > | Methods/fields to be removed | migration guide | > | --- | --- | > | `Live.send` | Use `send_client_content`, `send_realtime_input`, or... ## AI interpretation — verify before relying Google Gen AI SDK provides a Python interface to integrate Google's generative models, including Gemini APIs, into applications for content generation, chat, and agent-based interactions. Verdict: Active, well-maintained SDK with low install friction and no known vulnerabilities. Apache-2.0 licensing is permissive. Supports Python 3.10–3.14 and integrates cleanly via established dependencies. Suitable for production use, though note the upcoming 3.0.0 breaking changes to Automatic Function Calling and Live APIs documented in the package description. [View on SkillFed](https://skillfed.io/packages/google-genai) · [View on PyPI](https://pypi.org/project/google-genai/)