{"library":"ai-sdk-provider-gemini-cli","type":"library","category":null,"description":"The 'ai-sdk-provider-gemini-cli' package serves as a community-developed provider for the Vercel AI SDK, enabling seamless integration with Google's Gemini large language models. Unlike direct API clients, this provider leverages the official Google Gemini CLI/SDK, specifically the '@google/gemini-cli-core' package, and utilizes Google Cloud Code endpoints. The current stable version is 2.0.1, offering full compatibility with AI SDK v6. This project maintains an active release cadence, frequently updating to support new Gemini models and AI SDK features. Key differentiators include its reliance on the robust Gemini CLI for authentication and model access, support for multimodal inputs (text, images, PDFs, audio, video), advanced tool/function calling, and native structured output with Zod schemas. It also provides specific configuration options like 'thinkingConfig' for fine-tuning reasoning levels in Gemini 3 models, and a flexible logging system. To use, developers must first globally install and authenticate the '@google/gemini-cli'.","language":"javascript","status":"active","version":"2.0.1","tags":["javascript","ai","vercel","ai-sdk","provider","gemini","google","gemini-cli","language-model","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install ai-sdk-provider-gemini-cli","imports":["import { createGeminiProvider } from 'ai-sdk-provider-gemini-cli';","import { generateText } from 'ai';","import { ThinkingLevel } from 'ai-sdk-provider-gemini-cli';"]},{"cmd":"yarn add ai-sdk-provider-gemini-cli","imports":[]},{"cmd":"pnpm add ai-sdk-provider-gemini-cli","imports":[]}],"homepage":null,"github":"https://github.com/ben-vargas/ai-sdk-provider-gemini-cli","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ai-sdk-provider-gemini-cli","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/ai-sdk-provider-gemini-cli/compatibility"}}