googleapis

    googleapis/js-genai

    TypeScript/JavaScript SDK for Gemini and Vertex AI.

    web
    TypeScript
    Apache-2.0
    1.7K stars
    291 forks
    1.7K GitHub watchers
    Updated Nov 1, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 3 days ago, with 38 contributors on GitHub.

    Gained 48% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Provides a TypeScript/JavaScript SDK to interact with Google's Gemini and Vertex AI generative AI models.
    • Enables seamless integration with both Gemini Developer API and Vertex AI, supporting the latest Gemini 2.0 features in one unified SDK.
    • Use for building server-side applications that generate AI-driven content using Google’s Gemini models with secure API key management.
    • Use for creating interactive chatbots or multi-turn conversational agents leveraging stateful chat objects and function calling capabilities.
    • Use for real-time AI applications requiring streaming content generation and multimedia input/output via live sessions.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    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 Vertex AI.

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

    A list of accepted authentication options are listed in GoogleAuthOptions interface of google-auth-library-node.js GitHub repo.

    Excerpt from the googleapis/js-genai README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    291+29

    Open issues

    201+19

    Compared with peers in Web

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    googleapis/js-genai compared with Web repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    pingdotgg/t3code48.4K+16.6K40today
    pbakaus/impeccable104.0K+8.7K5410 days ago
    HunYiSage/dsh-purge19.2K+6.2K13today
    Renhuai123/ziwei-doushu16.2K+6.1K4421 days ago
    paperclipai/paperclip111.5K+2.8K5913 days ago
    googleapis/js-genai1.7K—653 days ago
    Category median48.4K+6.2K44—

    Also by googleapis

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description