Sylin.Koan.AI.Web
1.0.73
dotnet add package Sylin.Koan.AI.Web --version 1.0.73
NuGet\Install-Package Sylin.Koan.AI.Web -Version 1.0.73
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.Web" Version="1.0.73" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sylin.Koan.AI.Web" Version="1.0.73" />
<PackageReference Include="Sylin.Koan.AI.Web" />
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.Web --version 1.0.73
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Sylin.Koan.AI.Web, 1.0.73"
#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.Web@1.0.73
#: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.Web&version=1.0.73
#tool nuget:?package=Sylin.Koan.AI.Web&version=1.0.73
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Sylin.Koan.AI.Web
Provider-neutral HTTP projection for Koan AI. A package reference exposes chat, streaming, embeddings, OCR, provider inspection, model inventory, and model-management operations through the same compiled AI runtime used in-process.
Install and use
dotnet add package Sylin.Koan.AI.Web
dotnet add package Sylin.Koan.AI.Connector.Ollama
using Koan.Core;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddKoan();
var app = builder.Build();
await app.RunAsync();
The referenced module registers its controllers with Koan Web during AddKoan().
HTTP surface
| Method | Route | Meaning |
|---|---|---|
GET |
/ai/health |
Projection/provider availability; Inactive is valid when no provider is active. |
GET |
/ai/adapters |
Active provider identities and declared capabilities. |
GET |
/ai/models |
Model inventory plus provider-specific failures that prevented a complete result. |
GET |
/ai/capabilities |
Capabilities declared by each active provider. |
POST |
/ai/chat |
Provider-neutral AiChatRequest to AiChatResponse. |
POST |
/ai/chat/stream |
Text deltas over server-sent events. |
POST |
/ai/embeddings |
Provider-neutral embedding request/response. |
POST |
/ai/ocr |
Multipart image OCR through an OCR-capable provider. |
POST |
/ai/adapters/{adapterId}/models/{install|refresh|flush} |
Explicit provider model management. |
Guarantees and boundaries
- The projection does not select, wrap, or own providers; it uses the AI runtime's compiled registry and pipeline.
- Cancellation reaches AI operations. Provider errors remain visible; model inventory returns explicit per-provider failures instead of silently dropping them.
- This package does not add authentication, authorization, quotas, retries, CORS policy, request-size policy, or a universal provider-error mapping. Compose those concerns through their owning ASP.NET Core/Koan modules.
/ai/healthdescribes projection/provider availability, not an external provider reachability SLA. Framework health and readiness remain owned by Koan AI's health contributor.
See TECHNICAL.md for composition and response boundaries.
| Product | Versions 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
- Microsoft.AspNetCore.JsonPatch (>= 10.0.10)
- Microsoft.AspNetCore.Mvc.NewtonsoftJson (>= 10.0.10)
- Microsoft.Extensions.AI (>= 10.8.0)
- Newtonsoft.Json (>= 13.0.4)
- Sylin.Koan.AI (>= 1.0.29 && < 2.0.0)
- Sylin.Koan.AI.Contracts (>= 1.0.22 && < 2.0.0)
- Sylin.Koan.Web (>= 1.0.70 && < 2.0.0)
- Sylin.Koan.Web.Sse (>= 1.0.58 && < 2.0.0)
- System.Numerics.Tensors (>= 10.0.10)
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 |
|---|---|---|
| 1.0.73 | 165 | 9/13/2026 |
| 1.0.69 | 118 | 9/13/2026 |
| 1.0.67 | 112 | 9/13/2026 |
| 1.0.65 | 113 | 9/12/2026 |
| 1.0.61 | 118 | 9/12/2026 |
| 1.0.58 | 122 | 9/10/2026 |
| 1.0.53 | 120 | 9/10/2026 |
| 1.0.48 | 117 | 9/9/2026 |
| 1.0.43 | 113 | 9/9/2026 |
| 1.0.39 | 119 | 9/9/2026 |
| 1.0.37 | 110 | 9/9/2026 |
| 1.0.31 | 116 | 9/9/2026 |
| 1.0.28 | 121 | 9/9/2026 |
| 1.0.22 | 118 | 9/5/2026 |
| 1.0.21 | 130 | 8/30/2026 |
| 1.0.20 | 116 | 8/30/2026 |
| 1.0.19 | 112 | 8/28/2026 |
| 1.0.18 | 110 | 8/28/2026 |
| 1.0.17 | 116 | 8/28/2026 |
| 1.0.16 | 109 | 8/28/2026 |
Loading failed