Plugin.Maui.Spine.AI 0.261113.1556

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

Plugin.Maui.Spine.AI

AI in a Spine app without keys in the app. Each named feature is one IChatClient:

  • It streams from the app's Spine.Server.AI backend.
  • It can try a model on the device first, such as Apple Intelligence.
  • It answers "off", "budget spent" and "too many calls" in one shape.
  • On-device usage is counted on the device.

It is built on Microsoft.Extensions.AI.

dotnet add package Plugin.Maui.Spine.AI
builder.UseSpineAI(o =>
{
    o.Backend = new Uri("https://api.example.com/ai");          // the prefix given to MapSpineAI
    o.Feature("Assistant", f => f
        .OnDevice(_ => new AppleIntelligenceChatClient())       // your own reference to Microsoft.Maui.Essentials.AI
        .ThenServer());
    o.Feature("RaceStory", f => f.Server());
});
public partial class AssistantViewModel([FromKeyedServices("Assistant")] IChatClient chat) : ViewModelBase
{
    async Task AskAsync(string prompt, CancellationToken ct)
    {
        await foreach (var update in chat.GetStreamingResponseAsync(prompt, cancellationToken: ct))
            Answer += update.Text;
    }
}

A feature that is off throws AIFeatureOffException, which TaskState shows as its empty state.

Images a model makes once on the server (Plugin.Maui.Spine.Server.AI.Assets) show on any Image: a placeholder while the server makes them, the image when it is ready.

<Image GeneratedImage.Feature="Postcard" GeneratedImage.Key="{Binding City}"
       GeneratedImage.Placeholder="postcard_blank.png" GeneratedImage.FailedSource="postcard_missing.png" />

Documentation

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-android36.0 is compatible.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst was computed.  net10.0-maccatalyst26.0 is compatible.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net10.0-windows10.0.19041 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
0.261113.1556 48 11/13/2026
0.261112.1555 47 11/12/2026
0.261112.1554 45 11/12/2026
0.261112.1553 45 11/12/2026
0.261112.1552 49 11/12/2026
0.261112.1551 45 11/12/2026
0.261112.1550 46 11/12/2026
0.261112.1549 44 11/12/2026
0.261111.1547 67 11/11/2026
0.261111.1543 69 11/11/2026
0.261111.1540 72 11/11/2026
0.261111.1538 65 11/11/2026
0.261111.1536 68 11/11/2026
0.261111.1530 71 11/11/2026
0.1.41 105 11/4/2026
0.1.40 89 11/4/2026
0.1.39 95 11/4/2026
0.1.38 96 11/4/2026
0.1.37 103 10/30/2026
0.1.36 104 10/27/2026
Loading failed