Tharga.Team.Support.Anthropic 4.5.0

dotnet add package Tharga.Team.Support.Anthropic --version 4.5.0
                    
NuGet\Install-Package Tharga.Team.Support.Anthropic -Version 4.5.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="Tharga.Team.Support.Anthropic" Version="4.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Tharga.Team.Support.Anthropic" Version="4.5.0" />
                    
Directory.Packages.props
<PackageReference Include="Tharga.Team.Support.Anthropic" />
                    
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 Tharga.Team.Support.Anthropic --version 4.5.0
                    
#r "nuget: Tharga.Team.Support.Anthropic, 4.5.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 Tharga.Team.Support.Anthropic@4.5.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=Tharga.Team.Support.Anthropic&version=4.5.0
                    
Install as a Cake Addin
#tool nuget:?package=Tharga.Team.Support.Anthropic&version=4.5.0
                    
Install as a Cake Tool

Tharga.Team.Support.Anthropic

Lets each team's support assistant answer through the team's own Neurolito key, with the model chosen from what Neurolito offers that key.

Neurolito speaks the Anthropic Messages API, so this package reaches it with the official Anthropic SDK. It is a package of its own for one reason: it is the only part of the toolkit that takes a vendor SDK, and a host that never lets teams bring their own AI should not acquire it.

Use

builder.Services.AddThargaSupportCases();
builder.Services.AddThargaSupportAiConnections();   // each team chooses: the platform's model, its own provider, or off
builder.Services.AddThargaSupportAnthropic();       // adds Neurolito as a provider a team can choose

// Keys are stored encrypted with Data Protection. Keep the key ring where every instance reads it:
builder.Services.AddDataProtection()
    .SetApplicationName("MySite")
    .PersistKeysToThargaMongo();

Then put <SupportAssistantConnectionView /> on a page for team administrators. It needs the assistant:manage team scope, which administrators hold by default.

What a team gets

  • Load models lists what the key may use, from GET /v1/models. A refused key, a wrong address or an unreachable server is said in words on the form.
  • Test sends the chosen model one short message and shows the reply.
  • Save checks once more that the provider offers the model for the key, then stores the key encrypted. It is never shown again; it can be replaced.

Options

builder.Services.AddThargaSupportAnthropic(o =>
{
    o.NeurolitoBaseAddress = "https://neurolito.com";   // where a Neurolito connection starts; a team can change it
    o.MaxOutputTokens = 4096;                          // the ceiling for one answer
});

Full documentation: Support cases.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
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
4.5.0 35 10/25/2026
4.4.0 45 10/25/2026