AIOrchestrator 0.1.27

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

AIOrchestrator

NuGet GitHub

This project is a .NET library that structurizes and handles fully local agentic functions (tools) execution via LLM model.

This NuGet is used in Local Agentic AI Demo project - https://github.com/notNullThen/ai-orchestrator-dotnet

🎬 YouTube Video Demo: https://youtu.be/qbJpvD6T8rs

Features:

  • Runs locally
  • Uses any local LLM model from Ollama
  • Tries to be model-agnostic. Currently works well with gemma4:e4b and ministral-3:3b
  • Supports LLM responses containing multiple functions.

High-level overview of how it works

  1. The available C# functions (tools) are structurally defined and described using the AiAppFacadeBase class.
  2. A prepared prompt containing instructions, constraints, and tool definitions is sent to the LLM.
  3. Depending on the user-defined configuration, the LLM responds with one or more function calls.
  4. AIOrchestrator parses the response string and extracts only valid JSON objects.
  5. The parsed JSON objects are deserialized and placed into an array.
  6. The array is used to execute the C# functions sequentially.
  7. The loop repeats until the user's request is fulfilled.
  8. The constraints and instructions cause the LLM to call the Exit() function when the user's request is fulfilled.
  9. The Exit() function breaks the loop.

Installation

Install the NuGet package:

dotnet add package AIOrchestrator

Quick Usage

using AIOrchestrator.Core;
using AIOrchestrator.Core.AiAppFacade;
using AIOrchestrator.Core.AiAppFacade.Types;
using AIOrchestrator.OllamaClient.Types;

// 1. Define your app capabilities by inheriting from AiAppFacadeBase
public class MyAiApp : AiAppFacadeBase
{
    public string GetSystemStatus() => "All systems nominal.";

    public override string GetConstraints() => "Do your functionality...";

    public override AppDescription GetDescription() => [
        new() { Name = nameof(GetSystemStatus), Description = "Returns current system status" },
        new() { Name = nameof(Exit), Description = "Terminates the interaction" }
    ];
}

// 2. Initialize and run with optional parameters
var options = new ApiRequestOptions { Temperature = 0.7f };
var ai = new AiManager(
    modelName: "qwen2.5-coder:7b", 
    appInstance: new MyAiApp(),
    options: options,
    ollamaBaseUrl: "http://localhost:11434"
);
await ai.StartAsync(userInput);
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.
  • net10.0

    • No dependencies.

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.1.27 98 8/30/2026
0.1.26 103 8/26/2026
0.1.25 96 8/23/2026
0.1.24 104 8/23/2026
0.1.23 104 8/23/2026
0.1.22 115 8/23/2026
0.1.21 103 8/23/2026
0.1.15 99 8/20/2026
0.1.14 99 8/20/2026
0.1.13 110 8/19/2026
0.1.12 126 5/22/2026
0.1.11 136 5/19/2026
0.1.10 119 5/19/2026
0.1.9 103 5/3/2026
0.1.8 109 5/3/2026
0.1.7 131 5/2/2026
0.1.6 116 5/2/2026
0.1.5 109 5/2/2026
0.1.4 125 4/29/2026
0.1.3 110 4/29/2026
Loading failed