Skip to main content
net8.0net9.0net10.0.NETStandard2.0

Gemini AI Client for .NET

Published
Dec 8, 2025
10mo ago
Total Downloads
99.5K
99,533

Install

dotnet add package Mscc.GenerativeAI.Google --version 2.9.5
ProductVersions
.NET
net10.0net8.0net9.0
.NET Standard
netstandard2.0

README

Gemini AI Client for .NET using Google API Client Library

GitHub GitHub last commit

Integrate Gemini API into your .NET applications. This package depends on Google API Client Library and provides access to Google Cloud Vertex AI using OAuth 2.0 and Service Accounts.

Client for .NET using Google API Client Library: NuGet Version NuGet Downloads

Getting started

Mscc.GenerativeAI.Google

Authenticate with OAuth 2.0

Authenticate with Service Account

The choice of authentication is yours.

More examples

The folders samples and tests contain more examples.

Troubleshooting

tba

Feedback

You can create issues at the https://github.com/mscraftsman/generative-ai repository.

Changes from Previous Version

No structural changes between v2.9.4 and v2.9.5.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.The published metadata declares 46 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.