![]() |
VOOZH | about |
dotnet add package SuperBlazorAIAgent --version 1.2.15
NuGet\Install-Package SuperBlazorAIAgent -Version 1.2.15
<PackageReference Include="SuperBlazorAIAgent" Version="1.2.15" />
<PackageVersion Include="SuperBlazorAIAgent" Version="1.2.15" />Directory.Packages.props
<PackageReference Include="SuperBlazorAIAgent" />Project file
paket add SuperBlazorAIAgent --version 1.2.15
#r "nuget: SuperBlazorAIAgent, 1.2.15"
#:package SuperBlazorAIAgent@1.2.15
#addin nuget:?package=SuperBlazorAIAgent&version=1.2.15Install as a Cake Addin
#tool nuget:?package=SuperBlazorAIAgent&version=1.2.15Install as a Cake Tool
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.
SuperAIAgent helps Blazor applications embed an AI agent that can:
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
| 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. |
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.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.The contracts include settings for common AI providers:
API keys and provider settings are represented by SuperBlazorAIAgent.Configuration.AIAgentsApiSettings. Local endpoints such as Ollama and LM Studio can also be configured.
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.
@using SuperBlazorAIAgent.Components
@using SuperBlazorAIAgent.Models
<AIProviderAndModelSelector />
<AIAgentChat UserContext="userContext" />
@code {
private readonly AIAgentUserContext userContext = new(
Guid.NewGuid(),
"Demo User",
"demo@example.com");
}
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.
dotnet build SuperAIAgent.slnx
This repository hosts the SuperBlazorAIAgent package for Blazor applications. It is designed as a reusable foundation for adding AI-powered assistance to business applications.
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. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.