VOOZH about

URL: https://www.nuget.org/packages/SuperBlazorAIAgent/

⇱ NuGet Gallery | SuperBlazorAIAgent 1.2.15




SuperBlazorAIAgent 1.2.15

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

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 .

Product Versions Compatible and additional computed target framework versions.
.NET net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows 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
1.2.15 87 6/17/2026
1.2.14 82 6/17/2026
1.2.13 124 6/7/2026
1.2.12 118 5/29/2026
1.1.11 130 5/29/2026
1.1.10 119 5/28/2026
1.1.9 102 5/28/2026
1.1.8 92 5/28/2026
1.1.7 93 5/28/2026
1.1.6 95 5/27/2026