AI SDK Provider for Gemini CLI - AI Developer SDKs Tool

Overview

AI SDK Provider for Gemini CLI is an unofficial community provider for the Vercel AI SDK. It integrates Google’s Gemini models via the Gemini CLI Core library and Google Cloud Code endpoints. The provider offers streaming support, multimodal capabilities, tool/function calling, OAuth authentication, and full TypeScript support with Zod schemas.

Key Features

  • Integrates Gemini models via the Gemini CLI Core library
  • Connects to Google Cloud Code endpoints
  • Streaming support for real-time outputs
  • Multimodal input and output capabilities
  • Tool and function calling support
  • OAuth authentication flow support
  • Full TypeScript support with Zod schemas

Ideal Use Cases

  • Add Gemini models to Vercel AI SDK projects
  • Prototype multimodal assistants
  • Implement tool-calling workflows for automation
  • Stream model outputs to web clients
  • Enforce type-safe I/O with Zod schemas

Getting Started

  • Clone the repository from GitHub
  • Install project dependencies
  • Configure Gemini CLI Core and Google Cloud Code endpoints
  • Add OAuth credentials for authentication
  • Import the provider into your Vercel AI SDK project
  • Add Zod schemas for request and response validation
  • Run example scripts or start your development server

Pricing

No pricing information disclosed in the repository.

Limitations

  • Unofficial community provider; not an official Google or Vercel integration

Key Information

  • Category: Developer SDKs
  • Type: AI Developer SDKs Tool