← all repositories

googleapis/js-genai

Official Google TypeScript/JavaScript SDK for building applications powered by Gemini AI models.

1.6k stars TypeScript Language Models
js-genai
Velocity · 7d
+3.0
★ / day
Trend
steady
star history

This repository provides an official SDK for interacting with Google’s Gemini large language models from TypeScript and JavaScript environments. The SDK supports both the Gemini Developer API for general application development and the Gemini Enterprise Agent Platform for more advanced agentic workflows. It wraps the Gemini 2.0+ API endpoints, handling authentication and providing typed interfaces for model interactions. Developers use this library to integrate Gemini capabilities into web, Node.js, or server-side applications.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.