SuperBlazorAIAgent.Abstractions 1.0.5

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

SuperAIAgent

SuperAIAgent is the GitHub repository for SuperBlazorAIAgent, a .NET 10 library for adding a configurable AI assistant to Blazor applications. It provides reusable services, workflows, models, and Blazor UI components so an application can offer contextual AI chat with provider/model selection, prompt workflows, conversation state, and optional browser-stored settings.

What this project does

SuperAIAgent helps Blazor applications embed an AI agent that can:

  • display a ready-to-use chat experience inside a Blazor UI;
  • let users select an AI provider and model;
  • send prompts with application, user, page, and entity context;
  • execute prompts locally in the host app or remotely through HTTP endpoints;
  • keep conversation history separated by context;
  • reset user sessions and cancel long-running operations;
  • expose debug traces for prompt workflow analysis;
  • persist provider settings in protected browser storage when enabled.

The repository also includes a Blazor demo application that shows how to register the services and render the agent components.

Repository: https://github.com/appliman/SuperAIAgent

Projects

Project Purpose
src/SuperBlazorAIAgent Main library package containing Blazor components, services, workflows, models, and configuration for the AI assistant.
src/BlazorDemoApp Sample Blazor app demonstrating local agent execution and component usage.

Main features

Blazor components

The Blazor package includes components for common AI assistant scenarios:

  • AIAgentChat for an embedded assistant conversation;
  • AIProviderAndModelSelector for provider/model selection;
  • AIAgentSettings and AIAgentSettingsEditor for configuration screens;
  • ApiKeyInput for secure API key entry UX.

Local or remote execution

SuperBlazorAIAgent supports local execution inside the Blazor host application and can be extended for remote integration scenarios.

  • Local: the Blazor application calls the agent service directly.

Provider configuration

The contracts include settings for common AI providers:

  • OpenAI
  • Anthropic
  • Google
  • xAI
  • Azure OpenAI
  • Amazon
  • DeepSeek
  • Mistral
  • Ollama
  • LM Studio
  • OpenRouter

API keys and provider settings are represented by SuperBlazorAIAgent.Configuration.AIAgentsApiSettings. Local endpoints such as Ollama and LM Studio can also be configured.

Requirements

  • .NET 10 SDK
  • Visual Studio 2026 or another IDE/editor with .NET 10 support
  • A configured API key or local model endpoint for the selected provider

Getting started

Register the core services

builder.Services.AddAIAgent(options =>
{
	options.AppName = "My Blazor App";
	options.AppUrl = "https://my-blazor-app.example.com";
});

AppUrl is used as the OpenRouter HTTP-Referer attribution URL. OpenRouter requires a URL for app attribution; AppName is sent as the display title.

Render the agent in a Blazor page

@using SuperBlazorAIAgent.Components
@using SuperBlazorAIAgent.Models

<AIProviderAndModelSelector />
<AIAgentChat UserContext="userContext" />

@code {
	private readonly AIAgentUserContext userContext = new(
		Guid.NewGuid(),
		"Demo User",
		"demo@example.com");
}

Running the demo

From the solution root:

dotnet run --project src/BlazorDemoApp/BlazorDemoApp.csproj

Open the displayed local URL, select/configure an AI provider, choose a model, and start chatting with the assistant.

Building the solution

dotnet build SuperAIAgent.slnx

Security notes

  • Do not commit API keys or secrets to source control.
  • Prefer user secrets, environment variables, a secure vault, or protected browser storage depending on the hosting model.
  • Validate remote endpoint access before exposing the AI agent API publicly.

Repository status

This repository hosts the SuperBlazorAIAgent package for Blazor applications. It is designed as a reusable foundation for adding AI-powered assistance to business applications.

French documentation

The French version is available in README_fr.md.

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 (1)

Showing the top 1 NuGet packages that depend on SuperBlazorAIAgent.Abstractions:

Package Downloads
SuperBlazorAIAgent

Blazor components for integrating AI agents into Appliman applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.5 79 6/17/2026
1.0.4 194 5/29/2026
1.0.3 104 5/29/2026
1.0.2 139 5/28/2026
1.0.1 102 5/28/2026
1.0.0 104 5/28/2026