# js-genai

TypeScript/JavaScript SDK for Gemini and Vertex AI.

Canonical page: https://www.reposhelf.co.uk/projects/github/googleapis/js-genai.html

- Project ID: googleapis/js-genai
- Source: GitHub
- Original project: https://github.com/googleapis/js-genai
- Description attribution: project author metadata
- Categories: AI &amp; machine learning
- Technologies: Not recorded
- Licence: Apache-2.0
- Repository availability checked: 2026-11-23T14:23:55.973Z
- Demo page loaded: 2026-11-23T16:12:25.340Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> The Google Gen AI JavaScript SDK is designed for TypeScript and JavaScript developers to build applications powered by Gemini. The SDK supports both the Gemini Developer API and Gemini Enterprise Agent Platform.

> 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.generateContent or its stream variants. Instead, users should invoke AFC from Chats modules. Upcoming Change to Node.js Support: Starting from SDK version 3.0.0, Node.js version 22 or later is required. \| Methods/fields to be removed \| migration guide \| \| --- \| --- \| \| LiveConnectConfig.generationconfig \| Set fields on LiveConnectConfig directly \| \| prompt/text/image arguments in…

> The Google Gen AI SDK is designed to work with Gemini 2.0+ features.



## Author-documented requirements and audience

> The Google Gen AI JavaScript SDK is designed for TypeScript and JavaScript developers to build applications powered by Gemini. The SDK supports both the Gemini Developer API and Gemini Enterprise Agent Platform.

> The Google Gen AI JavaScript SDK is designed for TypeScript and JavaScript developers to build applications powered by Gemini. The SDK supports both the Gemini Developer API and Gemini Enterprise Agent Platform.



Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/googleapis/js-genai/blob/main/README.md

Extraction checked: 2026-11-02T07:59:54.277Z

Last recorded source update: 2026-11-21T17:30:41.000Z

Saved release: v2.27.0 — 2026-10-02T17:31:05.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=googleapis%2Fjs-genai). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
