Darkspyre.Inference.Connect.Claude
11.19.3-rc.2
Prefix Reserved
dotnet add package Darkspyre.Inference.Connect.Claude --version 11.19.3-rc.2
NuGet\Install-Package Darkspyre.Inference.Connect.Claude -Version 11.19.3-rc.2
<PackageReference Include="Darkspyre.Inference.Connect.Claude" Version="11.19.3-rc.2" />
<PackageVersion Include="Darkspyre.Inference.Connect.Claude" Version="11.19.3-rc.2" />
<PackageReference Include="Darkspyre.Inference.Connect.Claude" />
paket add Darkspyre.Inference.Connect.Claude --version 11.19.3-rc.2
#r "nuget: Darkspyre.Inference.Connect.Claude, 11.19.3-rc.2"
#:package Darkspyre.Inference.Connect.Claude@11.19.3-rc.2
#addin nuget:?package=Darkspyre.Inference.Connect.Claude&version=11.19.3-rc.2&prerelease
#tool nuget:?package=Darkspyre.Inference.Connect.Claude&version=11.19.3-rc.2&prerelease
Darkspyre.Inference.Connect.Claude
Conversations and agent sessions on a Claude subscription, through the official Claude CLI. Each connection is signed in to one Claude account and runs only as that account. Its provider appears as "Claude Subscription".
Install
dotnet add package Darkspyre.Inference.Connect.Claude
Register
services.AddLlmConnect();
AddLlmConnect() from Darkspyre.Inference.Connect.Common discovers this package and registers its client, its agent
sessions and its Claude account sign-in.
Example
var connection = new LlmConnection
{
Version = version,
Transport = LlmTransport.AnthropicClaudeCli,
Endpoint = "claude",
Credential = new LlmCredential { OAuth = accountTokens }.Serialize()
};
Endpoint is the CLI's name on PATH or its absolute path. Credential holds the Claude account token the settings'
sign-in saves. The application opens sessions through LlmAgentProviderService.StartSessionAsync and runs host tools
through the session's tool handler.
Settings
- Sign in to a Claude account is required. It shows a Claude sign-in link; the person signs in and pastes back the code the page shows. Connect saves a one-year token for that account as the connection's credential.
- Until the connection is signed in, the model field reports that the account must sign in first, Save is unavailable, and the Check action reports signed out.
- Check CLI and authentication confirms the Claude CLI is installed and runs as the connection's account.
- The CLI executable is under More options. A blank value uses
claude. - Model lists the models the account offers.
Limits
- Install the official Claude CLI and make
claudeavailable onPATH, or enter its absolute path. - The connection runs only on its own token. The computer's own Claude CLI login is never used, read or changed, so connections on different accounts run at the same time.
- A connection without its own token starts no CLI process: its requests fail as not signed in.
- The token is never refreshed. Signing in again replaces it.
- Each prompt runs in an empty temporary folder with the CLI's own tools, slash commands and session history turned off. Host tools reach the model only through the agent session.
- Account usage is the quota the connection's own turns report; it is unavailable until a turn has reported one.
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.Commonholds the contracts every other package shares: requests, results, capabilities, failures and the provider setup model.Darkspyre.Inference.Connect.Commonholds the conversation and embedding services. Each Connect provider package adds one provider, andAddLlmConnect()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.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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Darkspyre.Inference.Connect.Common (= 11.19.3-rc.2)
- Darkspyre.ML.Tokenizers (>= 2.0.1.1)
- JsonSchema.Net (>= 9.4.0)
- Microsoft.Bcl.Memory (>= 10.0.9)
- Microsoft.Extensions.Http (>= 10.0.9)
- Microsoft.ML.Tokenizers (>= 2.0.1)
- Microsoft.ML.Tokenizers.Data.O200kBase (>= 2.0.1)
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.19.3-rc.2 | 47 | 10/31/2026 |
| 11.17.3-rc.2 | 66 | 10/26/2026 |