MentorAgent Docs
Menu

ReferencePackages: Novior.MentorAgent, Novior.MentorAgent.Server, Novior.MentorAgent.Blazor, Novior.MentorAgent.Abstractions, Novior.MentorAgent.Declarative

Choose your packages

Which MentorAgent package to install for Blazor, MAUI, or a backend for React, Angular, Vue and mobile apps, and what each one contains.

View as Markdown
On this page

Use this page to choose the MentorAgent packages for your kind of app. MentorAgent is published on NuGet as a family of seven packages: five for your application and, since 1.5.0, two for development, Novior.MentorAgent.Scanner and the Novior.MentorAgent.Cli tool, which you run as novior-mentor. They are released together with one version number, 1.5.0. Keep every MentorAgent package in a project on the same version.

The common case is a Blazor Web App with Server interactivity, which needs only one package, Novior.MentorAgent. The Quickstart builds such an app. The table shows when you need more.

Your appProject that runs the agentClient project
Blazor Web App with Server interactivityNovior.MentorAgentNone
Blazor Web App with Auto interactivity set per page or component, where the chat widget runs on the serverNovior.MentorAgentNone
Blazor Web App with WebAssembly or Auto interactivity, where the chat widget runs in the browserNovior.MentorAgent.ServerNovior.MentorAgent.Blazor
Blazor WebAssembly standaloneNovior.MentorAgent.Server, in the API backendNovior.MentorAgent.Blazor
.NET MAUI Blazor Hybrid, built for Android and WindowsNovior.MentorAgent, in the MAUI appNone
.NET MAUI app that uses an agent on a server you hostNovior.MentorAgent.Server, on that serverA SignalR client
React, Angular, Vue or any other JavaScript front end, a native mobile or desktop app, or a scriptNovior.MentorAgent.Server, in your ASP.NET Core backendNothing from MentorAgent: a SignalR client for your platform, or plain HTTP for Server-Sent Events
Model Context Protocol (MCP) server or Agent-to-Agent (A2A) agent for other AI clientsNovior.MentorAgent.ServerNone

In a Blazor Web App you choose where the widget runs: on the server (as in Blazor Server) or in the browser (as in WebAssembly). See Blazor WebAssembly and Auto. For a front end other than Blazor, see Any front end.

The agent always runs in the project that calls AddMentorAgent(). In a WebAssembly client project you install Novior.MentorAgent.Blazor and never call AddMentorAgent(): the model, the keys and your actions stay on the server.

Channels explains how each client reaches the agent, and the Configure pages give the setup for each one.

PackageWhat it containsWhen you install it
Novior.MentorAgentThe core. It finds your actions, agents, teams and pages, and it runs the coordinator, which is built on Agent Framework. It runs the role checks and the confirmation, and it includes the MCP and A2A clients. It also holds the services behind the chat widget in Blazor Server and Blazor HybridIn the app that runs the agent. In a Blazor Server or Blazor Hybrid app, it is the only MentorAgent package you need. If the chat runs outside the server, or the app publishes the MCP server or the A2A agent, install Novior.MentorAgent.Server instead: it brings Novior.MentorAgent with it
Novior.MentorAgent.ServerThe SignalR hub (/mentor-hub), the Server-Sent Events endpoint (/mentor/chat) and the HTTP endpoints for confirmation, stop, session, tour and metrics (/mentor/approve, /mentor/cancel and others). It also holds the MCP server (/mcp) and the A2A agent (/a2a). It brings Novior.MentorAgent with itIn the ASP.NET Core project that serves a chat running outside the server (Blazor WebAssembly, a JavaScript front end or a mobile app). Also in any ASP.NET Core project that publishes the MCP server or the A2A agent
Novior.MentorAgent.BlazorThe WebAssembly client: the services that connect the same <ChatWidget /> to the hub over SignalRIn the client project of a Blazor WebAssembly or Auto app
Novior.MentorAgent.AbstractionsThe contracts, models and Razor components shared by the server and the browser, including <ChatWidget />Never directly: it comes with Novior.MentorAgent and Novior.MentorAgent.Blazor
Novior.MentorAgent.DeclarativeSpecialist agents, and since 1.4.0 teams, defined in YAML files instead of C# classes. It brings YamlDotNet 18.1.0Only if you want YAML agents, next to Novior.MentorAgent or Novior.MentorAgent.Server
Novior.MentorAgent.ScannerSince 1.5.0, for development only. It scans the pages of your Blazor app: AddMentorUiScanner() opens each page in the Edge or Chrome that is already installed, and writes mentor-ui-manifest.json for the AutoMentor. It downloads no browser. It brings Novior.MentorAgent with it. See Scan your pagesIn the app that runs the agent, in Debug builds only: <PackageReference Include="Novior.MentorAgent.Scanner" Condition="'$(Configuration)' == 'Debug'" />
Novior.MentorAgent.CliSince 1.5.0. A .NET tool, novior-mentor, whose scan command runs the same scan from outside the app. See Scan your pagesOn a developer machine or a continuous integration (CI) agent, with dotnet tool install --global Novior.MentorAgent.Cli, for a pipeline or a WebAssembly standalone app

Every package also contains its README, the license files (LICENSE, NOTICE and THIRD-PARTY-NOTICES.md), the XML documentation that IntelliSense shows, and CHANGELOG.md with the history of every version. NOTICE holds the copyright notice and the trademark notice.

Every package also carries its software bill of materials (SBOM): an SPDX 2.2 document at _manifest/spdx_2.2/manifest.spdx.json, with its SHA-256 next to it. It lists the files of the package and the packages restored to build it.

The release notes of a version on NuGet are its section of CHANGELOG.md. The release notes of the documentation tell the story of each stable version.

The common case is a Blazor Web App with Server interactivity, which needs only Novior.MentorAgent:

.NET CLI

Terminal
dotnet add package Novior.MentorAgent

PackageReference

YourApp.csproj
<ItemGroup>
  <PackageReference Include="Novior.MentorAgent" Version="1.5.0" />
</ItemGroup>

Central Package Management

Directory.Packages.props
<ItemGroup>
  <PackageVersion Include="Novior.MentorAgent" Version="1.5.0" />
</ItemGroup>
YourApp.csproj
<ItemGroup>
  <PackageReference Include="Novior.MentorAgent" />
</ItemGroup>

File-based app

app.cs
#:package Novior.MentorAgent@1.5.0

The other packages install the same way. For example, on a backend:

Terminal
dotnet add package Novior.MentorAgent.Server

Add the package of your model provider too: see What comes with MentorAgent.

Novior.MentorAgent includes Agent Framework, Microsoft.Extensions.AI and the clients for MCP and A2A. You do not add them yourself. Novior.MentorAgent.Server also includes the packages for the MCP server and the A2A agent.

Novior.MentorAgent does not include a model provider package. Add the package of the provider you use. For OpenAI it is Microsoft.Extensions.AI.OpenAI. Azure OpenAI also needs Azure.AI.OpenAI. For the versions, see Provider package versions.

The Foundry package of Agent Framework is not included either. Add it yourself only if you use a Foundry project: see If you use Foundry.

Novior.MentorAgent.Abstractions is a separate package because the browser cannot load the server's dependencies. It contains only code that runs in WebAssembly: the widget and the types that the server and the browser share.

  • Prerequisites — The versions of .NET, hosts, Agent Framework, and model provider packages that MentorAgent is tested with, and how to install it.
  • Channels: how clients reach the agent — Choose how clients reach your agent: the chat widget, a SignalR or HTTP connection from your own front end, or a protocol for other agents and AI tools.