Darkspyre.Inference.Connect.Antigravity 11.20.0

Prefix Reserved
dotnet add package Darkspyre.Inference.Connect.Antigravity --version 11.20.0
                    
NuGet\Install-Package Darkspyre.Inference.Connect.Antigravity -Version 11.20.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Darkspyre.Inference.Connect.Antigravity" Version="11.20.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Darkspyre.Inference.Connect.Antigravity" Version="11.20.0" />
                    
Directory.Packages.props
<PackageReference Include="Darkspyre.Inference.Connect.Antigravity" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Darkspyre.Inference.Connect.Antigravity --version 11.20.0
                    
#r "nuget: Darkspyre.Inference.Connect.Antigravity, 11.20.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Darkspyre.Inference.Connect.Antigravity@11.20.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Darkspyre.Inference.Connect.Antigravity&version=11.20.0
                    
Install as a Cake Addin
#tool nuget:?package=Darkspyre.Inference.Connect.Antigravity&version=11.20.0
                    
Install as a Cake Tool

Darkspyre.Inference.Connect.Antigravity

Conversations and native agent sessions on a Google subscription, through the official Antigravity CLI (agy). The CLI keeps its own Google sign-in; Connect never reads, copies or stores its credentials. Its provider appears as "Gemini Subscription (Antigravity)".

Install

dotnet add package Darkspyre.Inference.Connect.Antigravity --prerelease

The package brings Darkspyre.Inference.Connect.HostTools. Both copy a program built for the application's runtime beside their library at build time: the host-tools service and the darkspyre-host-tools-mcp program the CLI starts to reach the application's tools.

Register

services.AddLlmConnect();

AddLlmConnect() from Darkspyre.Inference.Connect.Common discovers this package and registers its client, its agent sessions and its account usage. The application's ILlmDataFolder holds the host-tools service and each call's scratch folder. Before the application moves that folder, it awaits ReleaseAsync on every registered ILlmDataFolderUser.

Example

var connection = new LlmConnection
{
    Version = version,
    Transport = LlmTransport.GoogleAntigravityCli,
    Endpoint = "agy"
};

The connection has no credential. Endpoint is agy or the CLI's absolute path. The application opens sessions through LlmAgentProviderService.StartSessionAsync, and ResumeSessionAsync reopens one by its thread id.

Settings

  • Check CLI and authentication confirms the CLI is installed, signed in and able to list the account's models.
  • The CLI executable is under More options. A blank value uses agy.
  • Model lists the models the account offers, plus auto, which uses the CLI's default.

Limits

  • Install the official Antigravity CLI and complete its Google sign-in once by running agy in a terminal. On macOS and Linux a bare name also resolves from ~/.local/bin.
  • Temperature, maximum output tokens, custom headers and provider options are refused.
  • Each request runs in an empty folder under the application's data folder, deleted when the call ends.
  • A request that turns streaming off passes its prompt to the CLI as a command-line argument, which the local process list shows. Such a prompt is limited to 131,071 UTF-8 bytes on macOS and Linux and 30,000 characters on Windows.

The Darkspyre.Inference packages

This package is one library of the Darkspyre.Inference family. The family runs AI inference from .NET applications through typed, provider-neutral contracts.

  • Darkspyre.Inference.Common holds the contracts every other package shares: requests, results, capabilities, failures and the provider setup model.
  • Darkspyre.Inference.Connect.Common holds the conversation and embedding services. Each Connect provider package adds one provider, and AddLlmConnect() discovers every provider package the application references.
  • The Tensor packages load and run models inside the application's own process.
  • The UI.Settings packages provide the setup editors a host places in its own window or page.

Every package of the family carries the same version. Reference all of them at the same version: each package depends on the exact version of the family packages it uses.

The packages are licensed under the MIT license. LICENSE.md in each package holds the license text.

Package Holds
Darkspyre.Inference.Common Shared contracts for Connect and Tensor
Darkspyre.Inference.Connect Image, speech and audio connectors
Darkspyre.Inference.Connect.Common Conversation and embedding services and provider discovery
Darkspyre.Inference.Connect.Codex Conversations on a ChatGPT subscription
Darkspyre.Inference.Connect.Claude Conversations on a Claude subscription through the Claude CLI
Darkspyre.Inference.Connect.HostTools The host-tools local service and its client
Darkspyre.Inference.Connect.Antigravity Conversations on a Google subscription through the Antigravity CLI
Darkspyre.Inference.Connect.Grok Conversations on a Grok subscription
Darkspyre.Inference.Connect.Anthropic Conversations through the Anthropic API with an API key, with hosted web search
Darkspyre.Inference.Connect.OpenAiApi Conversations and embeddings through the OpenAI API
Darkspyre.Inference.Connect.SelfHost Conversations and embeddings on engines the application runs
Darkspyre.Inference.Tensor.Common Model packs, the model lifecycle and the Tensor capability interfaces
Darkspyre.Inference.Tensor.Decision.Laya Laya typed decisions through ONNX Runtime
Darkspyre.Inference.Tensor.Embedding Text embeddings from GGUF sentence encoders
Darkspyre.Inference.Tensor.Embedding.Gemma EmbeddingGemma text and image embeddings
Darkspyre.Inference.Tensor.Ggml The process's GGML and MLX native runtime
Darkspyre.Inference.Tensor.Image.Supra Supra2-IMG image generation
Darkspyre.Inference.Tensor.LLM.Qwen Qwen GGUF text generation
Darkspyre.Inference.Tensor.Registry Registration and discovery of the Tensor engines
Darkspyre.Inference.Tensor.STT.Whisper Whisper speech transcription
Darkspyre.Inference.UI.Settings.Core Editor state and host contracts both setup editors share
Darkspyre.Inference.UI.Settings.Avalonia The Avalonia setup editor
Darkspyre.Inference.UI.Settings.Blazor The Blazor setup editor
Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.20.0 95 11/15/2026
11.19.4-rc.3 74 11/6/2026
11.19.3-rc.3 57 11/5/2026
11.19.3-rc.2 82 10/31/2026
11.17.3-rc.2 84 10/26/2026