Frontmatec.AI 0.0.11

dotnet add package Frontmatec.AI --version 0.0.11
                    
NuGet\Install-Package Frontmatec.AI -Version 0.0.11
                    
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="Frontmatec.AI" Version="0.0.11" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Frontmatec.AI" Version="0.0.11" />
                    
Directory.Packages.props
<PackageReference Include="Frontmatec.AI" />
                    
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 Frontmatec.AI --version 0.0.11
                    
#r "nuget: Frontmatec.AI, 0.0.11"
                    
#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 Frontmatec.AI@0.0.11
                    
#: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=Frontmatec.AI&version=0.0.11
                    
Install as a Cake Addin
#tool nuget:?package=Frontmatec.AI&version=0.0.11
                    
Install as a Cake Tool

Frontmatec.AI

The core library: LLM agents, tools, prompts, and threads for building AI-powered .NET applications. Host-agnostic — the same agent and tools run inside a web app, a WPF desktop app, or an MCP server. This package has no UI and no transport; it's the engine the other Frontmatec.AI.* packages build on.

What's in the box

  • Agent loopAgentOptions-driven turn loop that calls the model, runs the tools it asks for (in parallel, up to a cap), and feeds the results back until the model produces a final answer.
  • Tools — implement ILlmTool (a name, a JSON-Schema parameter object, and an InvokeAsync), or yield them at runtime from an ILlmToolProvider. StaticLlmToolProvider bridges compile-time ILlmTool singletons into that single provider path.
  • LLM clientsILlmClientFactory implementations for Anthropic and Ollama (local), selected per role via ILlmRoleResolver and LlmRolesOptions.
  • PromptsIPromptTemplate / PromptTemplateStore (Liquid templates) and ISystemPromptBuilder.
  • ThreadsILlmThreadStore persistence with title generation and IHistoryCompactor to keep long conversations under the context budget.

Install

dotnet add package Frontmatec.AI

A tool in 10 lines

public sealed class NowTool : ILlmTool
{
    public LlmToolDefinition Definition => new(
        "now", "Returns the current time.",
        new JsonObject { ["type"] = "object", ["properties"] = new JsonObject() },
        LlmToolApprovalMode.Allow);

    public Task<LlmToolResult> InvokeAsync(JsonNode args, CancellationToken ct = default)
        => Task.FromResult(new LlmToolResult(DateTimeOffset.Now.ToString("O")));
}

Register it like any other service, bridge it to the agent, and it's callable:

services
    .AddSingleton<ILlmTool, NowTool>()
    .AddSingleton<ILlmToolProvider, StaticLlmToolProvider>();

Where it runs

Package Surface
Frontmatec.AI.Tools Ready-made tools (time, web reading, …)
Frontmatec.AI.AspNetCore Chat endpoints + SSE streaming for a web app
Frontmatec.AI.Windows / .Tools.Windows WPF chat views and desktop host tools
Frontmatec.AI.Mcp Expose your tools to external MCP clients

See the repository docs/ for how the agent loop, tools, and clients fit together.

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.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Frontmatec.AI:

Package Downloads
Frontmatec.AI.Windows

WPF chat, thread, and tool-approval views for Frontmatec AI agents.

Frontmatec.AI.Tools

Standard tools for Frontmatec.AI agents — date/time, web reading, XKCD.

Frontmatec.AI.Tools.Windows

WPF host tools for Frontmatec.AI agents — theme switching, app shutdown, and inline image display.

Frontmatec.AI.AspNetCore

ASP.NET Core minimal-API integration for Frontmatec.AI: auth-scoped chat threads with SSE streaming, pluggable into any web app via AddFrontmatecAI() / MapFrontmatecAI().

Frontmatec.AI.Mcp

Model Context Protocol (MCP) server integration for Frontmatec.AI: expose your ILlmTool tools to external AI clients over MCP via AddFrontmatecMcpServer(), under any MCP transport (HTTP / stdio).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.11 165 6/4/2026
0.0.10 157 6/3/2026
0.0.9 116 6/3/2026
0.0.7 214 5/27/2026
0.0.6 115 5/27/2026
0.0.5 138 5/26/2026
0.0.4 112 5/26/2026
0.0.3 121 5/22/2026
0.0.2 98 5/20/2026
0.0.1 143 5/19/2026