Sylin.Koan.AI.Models 0.8.0

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

Koan.AI.Models

Centralized model lifecycle management for Koan: search, pull, inspect, convert, quantize, deploy, version, and audit AI models across providers.

  • Target framework: net10.0
  • License: Apache-2.0
  • Version: 0.6.3

Install

dotnet add package Sylin.Koan.AI.Models

Quick Start

// Search for a model
var entries = await Model.Search(new ModelQuery
{
    Keywords    = ["llama", "instruct"],
    Quantization = Quantization.Q4_K_M,
    Format       = ModelFormat.Gguf,
});

// Pull a model (download with progress)
await foreach (var progress in Model.Pull("llama3:8b-instruct-q4_K_M"))
    Console.WriteLine($"{progress.Stage} {progress.Percent:P0}");

// Deploy and list viable routes
var routes = await Model.Routes("llama3:8b-instruct-q4_K_M");
foreach (var route in routes)
    Console.WriteLine($"{route.Runtime} via {route.Compute?.DeviceName}");

Core API

Model.Search(ModelQuery query)              // → IReadOnlyList<ModelEntry>
Model.Pull(string modelId)                  // → IAsyncEnumerable<ModelPullProgress>
Model.Inspect(string modelId)               // → ModelEntry
Model.Convert(string modelId, ModelFormat)  // → ConversionJob
Model.Quantize(string modelId, Quantization)// → QuantizationJob
Model.Merge(string[] modelIds, MergeOptions)// → MergeJob
Model.Deploy(string modelId)                // → DeployResult
Model.Routes(string modelId)                // → IReadOnlyList<ModelRoute>
Model.History(string modelId)               // → IReadOnlyList<ModelHistoryEntry>
Model.Rollback(string modelId, string version) // → void
Model.Audit(string modelId)                 // → AuditReport
Model.Register(ModelEntry entry)            // → void  — add to catalog
Model.List()                                // → IReadOnlyList<ModelEntry>
Model.Remove(string modelId)                // → void
Model.Prune()                               // → PruneReport  — remove unused/old
Model.Health(string modelId)                // → ModelHealthReport

ModelStatus Lifecycle

Cached → Loaded → Deployed → Standby

Supported Formats

ModelFormat Description
Gguf llama.cpp format (recommended for local)
Safetensors HuggingFace format
Onnx ONNX Runtime format
Mlx Apple MLX format

Quantizations

Q4_K_M, Q5_K_M, Q8_0, F16, F32 — standard GGUF quantization levels.

Reference

  • ADR: docs/decisions/AI-0023-model-catalog-and-lifecycle.md
  • Related: Koan.AI.Compute (deployment routing), Koan.AI.Training (fine-tuning), Koan.AI.Eval (quality gates)
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 (1)

Showing the top 1 NuGet packages that depend on Sylin.Koan.AI.Models:

Package Downloads
Sylin.Koan.AI.Connector.HuggingFace

HuggingFace Hub connector for Koan AI: search, metadata, and download via adapter capabilities.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.8.0 103 5/16/2026