🌐
npm
npmjs.com › package › @langchain › google-genai
@langchain/google-genai - npm
2 weeks ago - Latest version: 2.2.0, last published: 14 days ago. Start using @langchain/google-genai in your project by running `npm i @langchain/google-genai`. There are 341 other projects in the npm registry using @langchain/google-genai.
      » npm install @langchain/google-genai
    
Published   Jun 17, 2026
Version   2.2.0
🌐
npm
npmjs.com › package › @juji › langchain-google-genai
@juji/langchain-google-genai - npm
August 13, 2024 - Start using @juji/langchain-google-genai in your project by running `npm i @juji/langchain-google-genai`. There are no other projects in the npm registry using @juji/langchain-google-genai.
      » npm install @juji/langchain-google-genai
    
Published   Aug 13, 2024
Version   0.0.27
🌐
Langchain
docs.langchain.com › oss › javascript › integrations › providers › google
Google integrations - Docs by LangChain
npm install @langchain/google-... @langchain/google instead. The @langchain/google-genai package provides ChatGoogleGenerativeAI and GoogleGenerativeAIEmbeddings ......
🌐
LangChain.js
v03.api.js.langchain.com › modules › _langchain_google_genai.html
@langchain/google-genai - v0.2.18 | LangChain.js
import { ChatGoogleGenerativeAI } from "@langchain/google-genai"; import { HumanMessage } from "@langchain/core/messages"; const model = new ChatGoogleGenerativeAI({ model: "gemini-pro", maxOutputTokens: 2048, }); const response = await model.invoke(new HumanMessage("Hello world!")); Copy
🌐
npm
npmjs.com › package › @h1deya › langchain-google-genai-ex
@h1deya/langchain-google-genai-ex - npm
February 7, 2026 - Drop-in replacement for ChatGoogleGenerativeAI that automatically fixes schema compatibility issues with MCP tools and Gemini API. Latest version: 0.1.0, last published: 2 months ago.
      » npm install @h1deya/langchain-google-genai-ex
    
Published   Feb 07, 2026
Version   0.1.0
Author   Hideya
🌐
npm
npmjs.com › package › @langchain › google
@langchain/google - npm
April 3, 2026 - You can access these models through ... does not rely on the "genai" library from Google, but rather uses direct REST calls. This package will be replacing the ChatGoogleGenerativeAI and ChatVertex libraries. ... This package, along with the main LangChain package, depends on ...
      » npm install @langchain/google
    
Published   May 18, 2026
Version   0.1.12
🌐
LangChain.js
v03.api.js.langchain.com › classes › _langchain_google_genai.ChatGoogleGenerativeAI.html
ChatGoogleGenerativeAI | LangChain.js
Setup: Install @langchain/google-genai and set an environment variable named GOOGLE_API_KEY. npm install @langchain/google-genai export GOOGLE_API_KEY="your-api-key" Copy
🌐
Langchain
reference.langchain.com › javascript › langchain-google-genai › ChatGoogleGenerativeAI
ChatGoogleGenerativeAI | @langchain/google-genai | LangChain Reference
Setup: Install @langchain/google-genai and set an environment variable named GOOGLE_API_KEY. npm install @langchain/google-genai export GOOGLE_API_KEY="your-api-key"
Find elsewhere
🌐
DEV Community
dev.to › oyemade › getting-started-w-googles-gemini-pro-llm-using-langchain-js-4o1
Getting started w/ Google's Gemini Pro LLM using Langchain JS - DEV Community
December 17, 2023 - Run npm i langchain @langchain/google-genai dotenv in the terminal to install the required dependencies.
🌐
Medium
anilchitte.medium.com › write-your-first-ai-chatbot-using-langchain-and-gemini-in-javascript-020ba835f030
Write your first AI chatbot using Langchain and Gemini in JavaScript | by Anil Chitte | Medium
September 30, 2025 - npm install @langchain/google-genai @langchain/core dotenv · Step 2: Set your API key · Create a .env file in your project's root directory. Add your API key to the file: GOOGLE_API_KEY="your-api-key" Replace "your-api-key" with the actual key from Google AI Studio.
🌐
LangChain Forum
forum.langchain.com › oss product help
Upgrade Google Generative AI SDK integration from @google/generative-ai to @google/genai - LangChain - LangChain Forum
November 5, 2025 - The current integration of the Google Generative AI SDK in LangChain.js (via @google/generative-ai or equivalent) is tracking a library that is now deprecated. According to Google’s documentation: The legacy library @g…
🌐
Langchain
reference.langchain.com › python › integrations › langchain_google_genai
langchain_google_genai | LangChain Reference
Convert tools to google-genai Tool objects. ... Creates a context cache for the specified model and content. ... Encodes image bytes into a b64 encoded string. ... Translate LangChain Citations to Google AI grounding metadata format.