$npx skillfedfor your agent

langchain-google-genai

An integration package connecting Google's genai package and LangChain

Worth itPyPI Artificial IntelligenceReleased Aug 202617.7M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — langchain_google_genai-4.3.4-py3-none-any.whl
v4.3.4 · released 2026-08-14 · Python <4.0.0,>=3.10.0 · 4 runtime deps: filetype, google-genai, langchain-core, pydantic

Yes. Active maintenance, low install friction, permissive MIT license, and no known vulnerabilities make this a solid choice if you need Gemini within LangChain. Verify you have Google API credentials and understand quota constraints before deploying.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Google API credentials must be configured (typically via GOOGLE_API_KEY environment variable) before instantiating any model.
  • Low install friction with a pure Python wheel.
  • Actively maintained with a release on 2026-08-14.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, suitable for most projects.

last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 398 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 17,653,268 downloads/mo, #1,106 on PyPI

Verify before relying

pip install langchain-google-genai

from langchain_google_genai import ChatGoogleGenerativeAI

model = ChatGoogleGenerativeAI(model="gemini-pro")
  • Whether Google API credentials or authentication setup is required before use
  • Rate limits or quota constraints on Gemini API calls through this integration
  • Specific capabilities and models available through each integration point (chat, vision, embeddings)
Same gist for agents: .md · .json

What it is and what it does

This package bridges Google's Gemini generative AI models into the LangChain framework, allowing developers to use Google's chat, vision, and embedding capabilities as components within LangChain workflows. It wraps the google-genai package and exposes Gemini functionality through LangChain's standard interfaces, enabling code written for other providers to swap in Gemini with minimal changes.

The package depends on langchain-core for base abstractions, pydantic for data validation, google-genai for the underlying API client, and filetype for content type detection. It requires Python 3.10 or later and is actively maintained.

Use it for

  • Build a chatbot using Gemini's chat models within LangChain without rewriting provider-specific code.
  • Generate embeddings for semantic search or RAG pipelines using Gemini through LangChain.
  • Process images with Gemini's vision capabilities as part of a LangChain agent or chain.
  • Prototype multi-model AI applications by swapping between Gemini and other providers via LangChain's API.

Worth the install?

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

Worth it

Yes.

Active maintenance, low install friction, permissive MIT license, and no known vulnerabilities make this a solid choice if you need Gemini within LangChain. Verify you have Google API credentials and understand quota constraints before deploying.

Install

langchain-google-genai on PyPI

Before you install

Low install friction with a pure Python wheel. Actively maintained with a release on 2026-08-14. Depends on langchain-core, google-genai, pydantic, and filetype.

Google API credentials must be configured (typically via GOOGLE_API_KEY environment variable) before instantiating any model.

License in practice

MIT license permits commercial and private use with minimal restrictions, suitable for most projects.

Quickstart

pip install langchain-google-genai

from langchain_google_genai import ChatGoogleGenerativeAI

model = ChatGoogleGenerativeAI(model="gemini-pro")

Verify before relying

  • Whether Google API credentials or authentication setup is required before use
  • Rate limits or quota constraints on Gemini API calls through this integration
  • Specific capabilities and models available through each integration point (chat, vision, embeddings)

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0.0,>=3.10.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
filetypegoogle-genailangchain-corepydantic
MaintenanceActively maintained 0 days since the last release
Last repo commit
First released
Downloads17,653,268 / month, #1,106 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: langchain_google_genai-4.3.4-py3-none-any.whl

Tags

Capabilities
langchain google gemini integrationgoogle genai langchaingemini chat embeddings langchaingoogle generative ai langchainlangchain google ai provider
Topics
langchain-integrationgenerative-ai

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 › “langchain google gemini integration”

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 langchain-google-community · langchain-oci · langchain-google-vertexai · langchain-cerebras · langchain-openai · langchain-groq · langchain-deepseek · langchain-nvidia-ai-endpoints · langchain-cohere · langchain-sambanova

Further reading