docs: add Gemini CLI community provider#7143
Merged
lgrammel merged 1 commit intovercel:mainfrom Jul 28, 2025
Merged
Conversation
4 tasks
a7b24b4 to
62749b5
Compare
97b7a73 to
b48611c
Compare
Contributor
Author
|
Force pushed an update to document both v4 and v5-beta compatibility and address merge conflict in |
7df4007 to
0eaf08a
Compare
Add documentation for the ai-sdk-provider-gemini-cli community provider, which enables developers to access Google's Gemini models through the official @google/gemini-cli-core library. Key features: - OAuth authentication via Gemini CLI credentials (GCA licenses) - API key authentication support - Streaming and structured object generation - Support for Gemini 2.5 Pro and Flash models - Standard AI SDK parameter compatibility Changes: - Add provider documentation at content/providers/03-community-providers/100-gemini-cli.mdx - Update community providers list in content/docs/02-foundations/02-providers-and-models.mdx
0eaf08a to
a566b0e
Compare
Collaborator
|
is the provider compatible with ai sdk 5? |
Contributor
Author
|
Yes, this was the update to the docs made yesterday, v5-beta support has been added! 🎉 |
lgrammel
approved these changes
Jul 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds documentation for the ai-sdk-provider-gemini-cli community provider, which enables developers to access Google's Gemini models through the official @google/gemini-cli-core library and Google Cloud Code endpoints.
What does this PR do?
content/providers/03-community-providers/100-gemini-cli.mdxcontent/docs/02-foundations/02-providers-and-models.mdxKey Features
The Gemini CLI provider offers flexible authentication and full AI SDK compatibility:
streamTextgenerateObjectandstreamObjectwith Zod schemasNotes
This provider is particularly useful for developers who have a Gemini Code Assist (GCA) subscription and want to use their existing license rather than paid API keys. It also supports standard API key authentication for maximum flexibility.
Testing