AgentBlazor.Cli 0.2.6

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global AgentBlazor.Cli --version 0.2.6
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local AgentBlazor.Cli --version 0.2.6
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=AgentBlazor.Cli&version=0.2.6
                    
nuke :add-package AgentBlazor.Cli --version 0.2.6
                    

AgentBlazor.Cli

Advanced scaffold and validation tool for wiring AgentBlazor into existing Blazor apps.

Install:

dotnet tool install --global AgentBlazor.Cli

If you prefer a pinned install:

dotnet tool install --global AgentBlazor.Cli --version 0.2.6

Example:

agentblazor init ./MySolution.slnx --host MyBlazorApp
agentblazor scaffold ./MySolution.slnx --host MyBlazorApp --provider openai --diff
agentblazor scaffold ./MySolution.slnx --host MyBlazorApp --provider openai --approve

Read-only analysis:

agentblazor analyze ./MySolution.slnx --host MyBlazorApp

analyze writes .agentblazor/analysis.md and does not modify application code. It uses OpenAI for workflow suggestions, or you can pass --static-only to generate a static report without an LLM call.

If no OpenAI key is configured and the terminal is interactive, analyze prompts for a key and uses it for that run only. The key is not written to disk.

Version 0.2.5 and later include a Windows/Roslyn fallback for MSBuildWorkspace load failures. If a machine has conflicting Visual Studio/MSBuild assemblies, analyze falls back to static source-file analysis instead of failing before the report is generated.

Version 0.2.6 and later add --scan-scope solution for multi-tenant and modular solutions where sibling projects live in the same .slnx but are not referenced by the Blazor host project.

Reports filter helper/framework noise, show AgentBlazor action adoption, and call out RequiresApproval = true guidance for workflow suggestions that reference mutating methods.

The CLI is an advanced path. The default install story is still dotnet add package AgentBlazor plus manual runtime wiring.

Docs:

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.

This package has no dependencies.

Version Downloads Last Updated
0.2.22 135 6/18/2026
0.2.21 112 6/11/2026
0.2.20 106 6/11/2026
0.2.19 115 6/10/2026
0.2.18 115 6/8/2026
0.2.17 119 6/4/2026
0.2.16 103 6/4/2026
0.2.15 108 6/4/2026
0.2.14 112 6/4/2026
0.2.13 104 6/3/2026
0.2.12 108 6/3/2026
0.2.11 105 6/3/2026
0.2.10 113 6/1/2026
0.2.9 105 6/1/2026
0.2.8 119 6/1/2026
0.2.7 112 6/1/2026
0.2.6 109 6/1/2026
0.2.5 115 5/29/2026
0.2.4 108 5/29/2026
0.2.3 123 5/28/2026
Loading failed

v0.2.5: CLI v1 analyze finalization. Filters helper/object-method noise from reports, replaces ambiguous action coverage with AgentBlazor action adoption, adds explicit RequiresApproval guidance for mutating workflow suggestions, and includes the v0.2.4 Windows MSBuildWorkspace static fallback.