🌐
GitHub
github.com › googleapis › python-genai
GitHub - googleapis/python-genai: Google Gen AI Python SDK provides an interface for developers to integrate Google's generative models into their Python applications. · GitHub
1 month ago - Please run one of the following code blocks to create a client for different services (Gemini Developer API or Agent Platform). from google import genai # Only run this block for Gemini Developer API client = genai.Client(api_key='GEMINI_API_KEY')
Starred by 3.8K users
Forked by 932 users
Languages   Python
🌐
GitHub
github.com › googleapis › java-genai
GitHub - googleapis/java-genai: Google Gen AI Java SDK provides an interface for developers to integrate Google's generative models into their Java applications. · GitHub
May 5, 2026 - Client client = Client.builder().apiKey("your-api-key").build(); import com.google.genai.Client; // Use Builder class for instantiation. Explicitly set the project and location, // and set `enterprise(true)` to use Gemini Enterprise Agent Platform ...
Starred by 377 users
Forked by 115 users
Languages   Java
🌐
GitHub
googleapis.github.io › python-genai
Google Gen AI SDK documentation
Please run one of the following code blocks to create a client for different services (Gemini Developer API or Vertex AI). from google import genai # Only run this block for Gemini Developer API client = genai.Client(api_key='GEMINI_API_KEY')
🌐
GitHub
github.com › googleapis › go-genai
GitHub - googleapis/go-genai: Google Gen AI Go SDK provides an interface for developers to integrate Google's generative models into their Go applications. · GitHub
May 22, 2026 - Add the SDK to your module with go get google.golang.org/genai. ... client, err := genai.NewClient(ctx, &genai.ClientConfig{ APIKey: apiKey, Backend: genai.BackendGeminiAPI, })
Starred by 1.1K users
Forked by 152 users
Languages   Go
🌐
GitHub
googleapis.github.io › python-genai › genai.html
Submodules - Google Gen AI SDK documentation
from google import genai client = genai.Client( enterprise=True, project='my-project-id', location='us-central1' )
🌐
GitHub
github.com › googleapis › dotnet-genai
GitHub - googleapis/dotnet-genai: Google Gen AI Dotnet SDK provides an interface for developers to integrate Google's generative models into their .NET applications. · GitHub
Please run one of the following ... using Google.GenAI; // Only run this block for Gemini Developer API var client = new Client(apiKey: apiKey);...
Starred by 146 users
Forked by 43 users
Languages   HTML 93.4% | C# 6.6%
🌐
GitHub
github.com › googleapis › js-genai
GitHub - googleapis/js-genai: TypeScript/JavaScript SDK for Gemini and Vertex AI. · GitHub
April 25, 2026 - TypeScript/JavaScript SDK for Gemini and Vertex AI. - googleapis/js-genai
Starred by 1.6K users
Forked by 252 users
Languages   TypeScript 94.3% | JavaScript 5.1% | HTML 0.3% | Shell 0.2% | Starlark 0.1% | CSS 0.0%
🌐
GitHub
googleapis.github.io › js-genai
@google/genai
If you are not redirected automatically, click here to go to the release version docs
🌐
GitHub
github.com › google › generative-ai-go
GitHub - google/generative-ai-go: Go SDK for Google Generative AI · GitHub
Go SDK for Google Generative AI. Contribute to google/generative-ai-go development by creating an account on GitHub.
Starred by 856 users
Forked by 101 users
Languages   Go 98.7% | Shell 1.3%
🌐
GitHub
github.com › google-gemini › deprecated-generative-ai-python
GitHub - google-gemini/deprecated-generative-ai-python: This SDK is now deprecated, use the new unified Google GenAI SDK. · GitHub
This SDK is now deprecated, use the new unified Google GenAI SDK. - GitHub - google-gemini/deprecated-generative-ai-python: This SDK is now deprecated, use the new unified Google GenAI SDK.
Starred by 2.3K users
Forked by 519 users
Languages   Python
Find elsewhere
🌐
Go Packages
pkg.go.dev › github.com › google › generative-ai-go › genai
genai package - github.com/google/generative-ai-go/genai - Go Packages
May 2, 2025 - A Client is a Google generative AI client. Example (SetProxy) ¶ · package main import ( "context" "fmt" "log" "net/http" "net/url" "os" "github.com/google/generative-ai-go/genai" "google.golang.org/api/option" ) // ProxyRoundTripper is an implementation of http.RoundTripper that supports // setting a proxy server URL for genai clients.
🌐
GitHub
googleapis.github.io › dotnet-genai
| Google GenAI .NET SDK
Please run one of the following code blocks to create a client for different services (Gemini Developer API or Gemini Enterprise Agent Platform). using Google.GenAI; // Only run this block for Gemini Developer API var client = new Client(apiKey: apiKey);
🌐
GitHub
github.com › googlecloudplatform › generative-ai
GitHub - GoogleCloudPlatform/generative-ai: Sample code and notebooks for Generative AI on Google Cloud, with Gemini Enterprise Agent Platform · GitHub
5 days ago - Sample code and notebooks for Generative AI on Google Cloud, with Gemini Enterprise Agent Platform - GoogleCloudPlatform/generative-ai
Starred by 17.2K users
Forked by 4.3K users
Languages   Jupyter Notebook 80.8% | Python 7.8% | TypeScript 2.6% | SCSS 2.3% | JavaScript 2.3% | HTML 2.1%
🌐
Google
docs.cloud.google.com › gemini enterprise agent platform › google gen ai sdk
Google Gen AI SDK | Gemini Enterprise Agent Platform | Google Cloud Documentation
The Google Gen AI SDK for .NET is available on NuGet and GitHub: ... # Replace the `GOOGLE_CLOUD_PROJECT` and `GOOGLE_CLOUD_LOCATION` values # with appropriate values for your project. export GOOGLE_CLOUD_PROJECT=GOOGLE_CLOUD_PROJECT export GOOGLE_CLOUD_LOCATION=global export GOOGLE_GENAI_USE_ENTERPRISE=True
🌐
GitHub
github.com › googleapis › python-genai › releases
Releases · googleapis/python-genai
Google Gen AI Python SDK provides an interface for developers to integrate Google's generative models into their Python applications. - Releases · googleapis/python-genai
Author   googleapis
🌐
Google AI
ai.google.dev › gemini api › gemini api libraries
Gemini API libraries | Google AI for Developers
April 28, 2026 - The Google GenAI SDK is available for the Python, JavaScript/TypeScript, Go and Java languages. You can install each language's library using package managers, or visit their GitHub repos for further engagement:
🌐
Google AI
ai.google.dev › gemini api › migrate to the google genai sdk
Migrate to the Google GenAI SDK | Gemini API | Google AI for Developers
April 28, 2026 - The genai.NewClient function created a client, but generative model operations were typically called on a separate GenerativeModel instance obtained from this client. Other services might have been accessed via distinct packages or patterns. import ( "github.com/google/generative-ai-go/genai" "github.com/google/generative-ai-go/genai/fileman" // For files "google.golang.org/api/option" ) client, err := genai.NewClient(ctx, option.WithAPIKey("GEMINI_API_KEY")) fileClient, err := fileman.NewClient(ctx, option.WithAPIKey("GEMINI_API_KEY")) // Get a model instance, then call methods on it model := client.GenerativeModel("gemini-3.5-flash") resp, err := model.GenerateContent(...) cs := model.StartChat() // Call methods on separate client objects for other services uploadedFile, err := fileClient.UploadFile(...)
🌐
GitHub
github.com › google-gemini › genai-processors
GitHub - google-gemini/genai-processors: GenAI Processors is a lightweight Python library that enables efficient, parallel content processing. · GitHub
Processor Intro Colab - an introduction ... of GenAI Processors. Create Your Own Processor - a walkthrough of the typical steps to create a Processor or a PartProcessor. Work with the Live API - a couple of examples of real-time processors built from the Gemini Live API using the LiveProcessor class. Explore the examples/ directory for practical demonstrations: Real-Time Live Example - an Audio-in Audio-out Live agent with google search as a tool. It is a client-side ...
Starred by 2.1K users
Forked by 215 users
Languages   Python 77.7% | Jupyter Notebook 14.0% | HTML 8.3%
🌐
GitHub
github.com › google › adk-python › issues › 2560
Allow passing a preconfigured google.genai.Client to google.adk.models.Gemini · Issue #2560 · google/adk-python
August 15, 2025 - When using the Python ADK with Gemini models, the Gemini class internally creates its own google.genai.Client based on environment variables or ADC. There is no way to inject a preconfigured genai.Client instance directly. This makes it impossible to control the underlying genai.Client entirely in code (e.g., to avoid environment variable reliance or to set vertexai=True, project, and location programmatically).
Author   google
🌐
GitHub
github.com › googleapis › python-genai › blob › main › codegen_instructions.md
python-genai/codegen_instructions.md at main · googleapis/python-genai
Always use client = genai.Client() to create a client object. Set GEMINI_API_KEY (or GOOGLE_API_KEY) environment variable, which will be picked up automatically.
Author   googleapis