HoneAI.Abstractions
0.2.2
See the version list below for details.
dotnet add package HoneAI.Abstractions --version 0.2.2
NuGet\Install-Package HoneAI.Abstractions -Version 0.2.2
<PackageReference Include="HoneAI.Abstractions" Version="0.2.2" />
<PackageVersion Include="HoneAI.Abstractions" Version="0.2.2" />
<PackageReference Include="HoneAI.Abstractions" />
paket add HoneAI.Abstractions --version 0.2.2
#r "nuget: HoneAI.Abstractions, 0.2.2"
#:package HoneAI.Abstractions@0.2.2
#addin nuget:?package=HoneAI.Abstractions&version=0.2.2
#tool nuget:?package=HoneAI.Abstractions&version=0.2.2
HoneAI.Abstractions
The contract surface for HoneAI — the "provenance-bearing prediction" middleware. Zero dependencies by design: every value that flows out of HoneAI carries how it was made, so a prediction without provenance must not compile.
This package is interfaces and records only. Concrete implementations live in HoneAI.Core; reference this package when you write your own adapters or want to depend on the contracts without the implementations.
Core contracts
ITracedPrediction<T>/PredictionProvenance— a predicted value that cannot exist without its provenance stamp (which reasoning layer answered, confidence, rationale, whether a human must review). Domain-specific fields live inAnnotations, never in the middleware.IReasoningRouter<TQuery, TResult>— routes a query through reasoning layers cheap→costly (L0 theory · L1 statistics · L2 ML · L3 LLM), escalating only when confidence is insufficient.IMLoopClient— transport-neutral client for a running MLoop instance (HTTP or MCP-stdio).IHitlGate/ReviewDecision— async human-in-the-loop review gate keyed by review id.IProvenanceSink/ProvenanceRecord— append-only audit trail for predictions.IModelLifecycle— orchestrates export→init→inspect→train→evaluate→review→promote.ReasoningLayer/AgentRole/RoleContext— the layer/role taxonomy stamped onto every provenance record.
Design boundary
The middleware is domain-neutral. Domain meaning (verdict vocabulary, a manufacturing process
name, a risk category) is injected by the consumer adapter via RoleContext.Domain and
PredictionProvenance.Annotations — the adapter is the domain boundary, never HoneAI itself.
Compatibility
HoneAI is 0.x, so APIs may still change between minor versions — except the contract floor, the four types you can take on their own without any other HoneAI package:
| Type | What stays fixed within 0.x |
|---|---|
ITracedPrediction<T> |
exactly Value and Provenance |
PredictionProvenance |
only SourceLayer and Confidence are required; every other member is optional (nullable or bool) |
IHitlGate |
AwaitDecisionAsync and Submit are the only abstract members; new capability arrives as a default interface method |
ReasoningLayer |
Theory=0, Statistics=1, AutoMl=2, Frontier=3 keep their numbers (persisted provenance depends on them) |
These may grow, but code written against them today keeps compiling: an object initializer,
a custom IHitlGate implementation, or a switch over ReasoningLayer will not be broken by a
minor release. ContractFloorCompatibilityTests in the repository enforces the table above;
a deliberate exception is a documented breaking change with a CHANGELOG migration note.
Three things the floor does not promise: Confidence is expected in [0.0, 1.0] but not
validated by the contract (the producing layer is responsible); the in-process
InMemoryHitlGate in HoneAI.Core is single-process by design — a review that must
survive a process or request boundary needs an IHitlGate over your own store; and
PredictionProvenance.Annotations carries opaque scalar strings, which the middleware
never parses. A structured annotation value is encoded by the consumer that writes it, in a
form safe for arbitrary content — JSON being the natural choice. Joining a list with a
delimiter is not: annotation values are consumer-supplied and may contain whichever
delimiter you pick. The map stays flat so a persisted provenance line stays greppable and
diffable, and so this contract carries no serializer type.
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. |
-
net10.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on HoneAI.Abstractions:
| Package | Downloads |
|---|---|
|
Eyu.Core
Eyu core contract — source-agnostic ontology inference ports (IStructureSource, IRecordSample, IOntologyProposer, IGroundingContract, IModelClient). |
|
|
HoneAI.Core
Assembly layer for HoneAI — composes MLoop (L2 AutoML, over HTTP/MCP transport) and an IChatClient (L3 frontier) behind the HoneAI.Abstractions contracts. Ships the dual-check reasoning router, JSONL provenance sink, HTTP MLoop client, in-memory HITL gate, and train→review→promote lifecycle. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.13.0 | 0 | 10/27/2026 |
| 0.12.0 | 73 | 10/24/2026 |
| 0.11.0 | 66 | 10/23/2026 |
| 0.10.0 | 149 | 10/22/2026 |
| 0.9.0 | 150 | 10/22/2026 |
| 0.8.0 | 79 | 10/22/2026 |
| 0.7.0 | 79 | 10/21/2026 |
| 0.6.0 | 66 | 10/21/2026 |
| 0.5.0 | 56 | 10/21/2026 |
| 0.4.0 | 105 | 10/21/2026 |
| 0.3.0 | 100 | 10/20/2026 |
| 0.2.2 | 815 | 9/9/2026 |
| 0.2.1 | 155 | 7/17/2026 |
| 0.2.0 | 182 | 7/8/2026 |