VOOZH about

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

⇱ NuGet Gallery | AgentBlazor 0.2.22




👁 Image
AgentBlazor 0.2.22

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

AgentBlazor

Add an agent chat surface and deterministic app actions to a Blazor app.

Hosted demo:

Install:

dotnet add package AgentBlazor

If you prefer a pinned install, use:

dotnet add package AgentBlazor --version 0.2.5

Use 0.2.5 or later. This release includes the CLI Windows MSBuild fallback and first-run API-key prompt, CLI v1 analyze package refresh, mobile chat input stability fix, corrected EF package shape, and tool-friendly schemas for date-like workflow parameters.

If dotnet still probes an old custom package source on your machine, remove or disable that source before testing the public NuGet install path.

Minimal setup:

using AgentBlazor;
using MudBlazor.Services;

builder.Services.AddMudServices();

builder.Services.AddAgentBlazor(options =>
{
 options.UseOpenAI(
 apiKey: builder.Configuration["OpenAI:ApiKey"]!,
 model: builder.Configuration["OpenAI:Model"]!);

 options.ConfigureBuilder(agentBuilder =>
 {
 agentBuilder.AddWorkflow<SupportInboxCapabilities>("support-inbox", agent =>
 {
 agent.WithRoutePrefixes("/support");
 });
 });
});

var app = builder.Build();

app.MapRazorComponents<App>()
 .AddInteractiveServerRenderMode();
app.MapAgentBlazorEndpoints();

AddAgentBlazor(...) alone does not create a responding agent. Register at least one workflow or agent inside options.ConfigureBuilder(...).

Mount AgentBlazorShell in an interactive layout or page. It wraps the AgentBlazor providers and includes the floating chat widget.

[AgentCapability("support_inbox")]
public sealed class SupportInboxCapabilities
{
 [AgentAction("Show open tickets that still need a reply")]
 public Task<CapabilityResult> ShowOpenTicketsAsync(int days = 7)
 => Task.FromResult(
 CapabilityResult.Success($"Highlighted tickets from the last {days} days."));

 [AgentAction("Draft a reply for the highlighted tickets", RequiresApproval = true)]
 public Task<CapabilityResult> DraftReplyAsync()
 => Task.FromResult(
 CapabilityResult.Success("Prepared the reply draft.")
 .WithNextActions("Review the reply", "Approve the draft"));
}
@using AgentBlazor
@using AgentBlazor.Components

<AgentBlazorShell>
 @Body
</AgentBlazorShell>

Docs and demo:

Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  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
0.2.22 0 6/18/2026
0.2.21 51 6/11/2026
0.2.20 49 6/11/2026
0.2.19 55 6/10/2026
0.2.18 53 6/8/2026
0.2.17 58 6/4/2026
0.2.16 47 6/4/2026
0.2.15 52 6/4/2026
0.2.14 55 6/4/2026
0.2.13 52 6/3/2026
0.2.12 56 6/3/2026
0.2.11 54 6/3/2026
0.2.10 51 6/1/2026
0.2.9 57 6/1/2026
0.2.8 59 6/1/2026
0.2.7 52 6/1/2026
0.2.6 58 6/1/2026
0.2.5 55 5/29/2026
0.2.4 52 5/29/2026
0.2.3 65 5/28/2026
Loading failed

v0.2.22: CLI V2 workflow onboarding release. Adds scaffold workflows review artifacts, SOUL/skill generation, reviewer-gated approval, agent-loop patch application, audit output, and packaged V2 workflow smoke coverage.