Configure
Take the agent from your systems to wherever your users are: the model provider, your front end, servers for other agents, endpoint security and production.
- Model providers
Connect your .NET AI agent to OpenAI, Azure OpenAI, Ollama and other local models, or to your own Agent Framework AIAgent, and choose models with tool calling.
- Blazor Server
Configure MentorAgent in a Blazor Web App with Server interactivity: services, the options that matter, the widget and authentication.
- Blazor WebAssembly and Auto
Keep the widget on the server, or run it in a WebAssembly or Auto client with Novior.MentorAgent.Blazor, backed by Novior.MentorAgent.Server.
- .NET MAUI
Host MentorAgent in a .NET MAUI Blazor Hybrid app, pass the signed-in user for role checks, and keep the model key on a server.
- Any front end
Build the chat in React, Angular, Vue or a mobile app with a .NET AI agent behind it: SignalR or Server-Sent Events, confirmation over HTTP, stopping an answer.
- MCP server
Expose the methods of your .NET app as MCP tools for Claude Desktop, VS Code and other MCP clients, with authentication, role checks and writes withheld.
- A2A server
Let other AI agents call your .NET agent over the Agent-to-Agent (A2A) protocol: the agent card, authentication, and the actions that need confirmation.
- Register actions in code
Make the methods of a class actions from Program.cs, without attributes: options.Actions, the builder, roles and confirmation, the mistakes caught at startup.
- Commands and queries as actions
Offer your commands and queries to the model as actions: queries read, commands write and ask for a confirmation, through their handlers.
- Scan your pages
Write the manifest of your Blazor pages with Novior.MentorAgent.Scanner at development time, or with novior-mentor scan in a pipeline.
- Forms and grids
Register a Blazor form as one UI action that the model fills, and a grid as UI actions that open a row, sort and filter, with sensitive fields left out.
- Recipes
Give the agent procedures on your pages, approved outside your code: sources, steps, rows of a grid, limits, and how each recipe is governed.
- Secure the endpoints
Protect the SignalR hub, Server-Sent Events, /mcp and /a2a endpoints with authentication and CORS before you expose them.
- Roles from your sign-in
Make the roles of your sign-in reach RequiredRoles: JWT bearer tokens, Microsoft Entra ID app roles and groups, Windows groups, and roles from your database.
- Search your documents
Let the agent answer from your own documents: a source of your own or any vector store, the relevance threshold, citations, failures, and what it costs.
- Serve several tenants
Serve several companies from one instance: tell MentorAgent the tenant of each request, and keep memory, limits, conversations, metrics and documents apart.
- Test without a model
Test your actions, roles and confirmation boxes in automated tests with a fake IChatClient, develop offline with a local model, and catch regressions.
- Cost and latency
What decides the tokens and the response time of each turn, the options that reduce them and what each costs in model calls, and how to measure your app.
- Options at run time
Which MentorAgent options you can change while the application runs, when a change applies, and what happens to the conversations already open.
- Show that the assistant is off
Show users that the assistant is off, from your own switch or a console, with no release: IMentorAssistantStatus, the widget, the hub, other front ends.
- Run a turn from your own code
Start a turn of the agent from a BackgroundService or a job, with nobody at the widget: the scope, the user of the turn, roles, confirmations and errors.
- Production checklist
Settings to review before production: governance, safety check, rate limits, cost and routing, history, several instances, observability and outgoing data.
