$npx skillfedfor your agent

google-generativeai

Google Generative AI High level API client library and tools.

SkipPyPI Artificial IntelligenceReleased Dec 202516.4M downloads / moApache 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — google_generativeai-0.8.6-py3-none-any.whl
v0.8.6 · released 2025-12-16 · Python >=3.9 · 8 runtime deps: google-ai-generativelanguage, google-api-core, google-api-python-client, google-auth, protobuf, pydantic, tqdm, typing-extensions

No. This package is deprecated and archived, with all support ending November 30, 2025. The maintainers explicitly recommend migrating to the Google Generative AI SDK instead. Install only if you are maintaining legacy code that already depends on it; do not use for new projects.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid Google AI API key; the package is no longer maintained and all support ended November 30, 2025.
  • Low install friction with a pure-Python wheel and standard dependencies.
  • However, the package is abandoned as of November 30, 2025, with the repository archived and development restricted to critical bug fixes only.

License · maintenance · safety

Apache 2.0 (permissive) — Licensed under Apache 2.0 (permissive), so commercial and proprietary use is permitted with minimal restrictions. However, the deprecated status overrides any licensing advantage.

last release 2025-12-16 (241 days) · last repo commit 2025-12-16 · 2,329 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 16,418,743 downloads/mo, #1,152 on PyPI

Verify before relying

pip install google-generativeai

import google.generativeai as genai
genai.configure(api_key="YOUR_API_KEY")
model = genai.GenerativeModel("gemini-pro")
response = model.generate_content("Hello world")
  • Whether critical bug fixes will actually be applied after the November 30, 2025 end-of-life date or if the package is truly frozen.
  • Compatibility guarantees with future Gemini API changes after the support cutoff.
Same gist for agents: .md · .json

What it is and what it does

google-generativeai is a Python client library for accessing Google's Gemini generative AI models through a high-level API. It wraps the underlying Google AI services (generativelanguage, api-core, api-python-client, and auth) to provide a simpler interface for tasks like text generation, multimodal input, and conversation management.

However, this package is now deprecated and archived. Google has replaced it with the Google Generative AI SDK (python-genai), which incorporates feedback from this library and aligns with a unified approach across all Google GenAI models. The repository is in limited maintenance mode, accepting only critical bug fixes, with all support ending permanently on November 30, 2025. Existing users are strongly encouraged to migrate to the new SDK rather than start new projects with this library.

Use it for

  • Migrating legacy code that was built against this SDK before the deprecation announcement.
  • Maintaining existing applications that depend on this library while planning a transition to the new SDK.
  • Understanding the evolution of Google's GenAI Python tooling by studying the old SDK design.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

This package is deprecated and archived, with all support ending November 30, 2025. The maintainers explicitly recommend migrating to the Google Generative AI SDK instead. Install only if you are maintaining legacy code that already depends on it; do not use for new projects.

Install

google-generativeai on PyPI

Before you install

Low install friction with a pure-Python wheel and standard dependencies. However, the package is abandoned as of November 30, 2025, with the repository archived and development restricted to critical bug fixes only. New projects should not adopt this library.

Requires a valid Google AI API key; the package is no longer maintained and all support ended November 30, 2025.

License in practice

Licensed under Apache 2.0 (permissive), so commercial and proprietary use is permitted with minimal restrictions. However, the deprecated status overrides any licensing advantage.

Quickstart

pip install google-generativeai

import google.generativeai as genai
genai.configure(api_key="YOUR_API_KEY")
model = genai.GenerativeModel("gemini-pro")
response = model.generate_content("Hello world")

Verify before relying

  • Whether critical bug fixes will actually be applied after the November 30, 2025 end-of-life date or if the package is truly frozen.
  • Compatibility guarantees with future Gemini API changes after the support cutoff.

Package facts

LicenseApache 2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
8 packages
google-ai-generativelanguagegoogle-api-coregoogle-api-python-clientgoogle-authprotobufpydantictqdmtyping-extensions
MaintenanceAbandoned 241 days since the last release
Last repo commit repository archived
First released
Downloads16,418,743 / month, #1,152 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 7 - InactiveIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Artificial IntelligenceTyping :: Typed

Evidence: google_generativeai-0.8.6-py3-none-any.whl

Tags

Capabilities
gemini api python clientgoogle generative ai sdkllm api wrappergoogle ai model accessdeprecated gemini library
Topics
deprecatedlegacy-sdkgemini-api

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “deprecated gemini library”

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also google-genai · google-ai-generativelanguage · vertexai · google-cloud-aiplatform · opentelemetry-instrumentation-google-generativeai · generative-ai-hub-sdk · livekit-plugins-google · opentelemetry-instrumentation-google-genai · langchain-google-genai · google-apitools