HoneAI.Core
0.2.1
dotnet add package HoneAI.Core --version 0.2.1
NuGet\Install-Package HoneAI.Core -Version 0.2.1
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="HoneAI.Core" Version="0.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HoneAI.Core" Version="0.2.1" />
<PackageReference Include="HoneAI.Core" />
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 HoneAI.Core --version 0.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: HoneAI.Core, 0.2.1"
#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 HoneAI.Core@0.2.1
#: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=HoneAI.Core&version=0.2.1
#tool nuget:?package=HoneAI.Core&version=0.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
HoneAI.Core
The assembly layer for HoneAI — the "provenance-bearing
prediction" middleware. Composes an MLoop AutoML backend (L2, reached over HTTP/MCP transport) and
an IChatClient frontier model (L3) behind the HoneAI.Abstractions
contracts.
What it ships
DualCheckRouter<TQuery, TResult>— the two-layerIReasoningRouter: run the cheaper layer first, escalate to the costlier one only when confidence is insufficient, and flag disagreement or residual low confidence for human review.HttpMLoopClient—IMLoopClientover MLoop's REST API (mloop serve). MLoop is reached over the wire, never referenced as an SDK. Construct it with anHttpClientwhoseBaseAddressand bearer token you configure (e.g. viaIHttpClientFactory).JsonlProvenanceSink— file-backedIProvenanceSinkappending each assessment as one JSON line. Append-only, Git-friendly.InMemoryHitlGate— in-processIHitlGatebacked by aTaskCompletionSourceper open review.ModelLifecycle— orchestrates train → poll → review (HITL) → promote over anIMLoopClientand anIHitlGate, recording each stage to an optionalIProvenanceSink.RolePersona— builds domain-neutral persona instructions for a trust-loop role, with the consumer's domain colour injected into a{Domain}slot.
Example — confidence-gated dual-check
using HoneAI;
var mloop = new HttpMLoopClient(httpClient); // HTTP client → `mloop serve`
var router = new DualCheckRouter<MyQuery, MyResult>(
lower: (q, ct) => CallMLoopAsync(mloop, q, ct), // L2 AutoML, runs first
escalate: (q, lower, ct) => AskLlmAsync(q, ct), // L3 LLM, only when unsure
confidenceThreshold: 0.8);
var traced = await router.RouteAsync(query);
if (traced.Provenance.RequiresReview)
{
// low confidence or layer disagreement → route to a human via IHitlGate
}
License
Apache-2.0
| 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
- HoneAI.Abstractions (>= 0.2.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.