Affiant.Core
1.0.0-beta.1
Prefix Reserved
dotnet add package Affiant.Core --version 1.0.0-beta.1
NuGet\Install-Package Affiant.Core -Version 1.0.0-beta.1
<PackageReference Include="Affiant.Core" Version="1.0.0-beta.1" />
<PackageVersion Include="Affiant.Core" Version="1.0.0-beta.1" />
<PackageReference Include="Affiant.Core" />
paket add Affiant.Core --version 1.0.0-beta.1
#r "nuget: Affiant.Core, 1.0.0-beta.1"
#:package Affiant.Core@1.0.0-beta.1
#addin nuget:?package=Affiant.Core&version=1.0.0-beta.1&prerelease
#tool nuget:?package=Affiant.Core&version=1.0.0-beta.1&prerelease
Affiant.Core
Concrete backend-neutral services for the Affiant framework — "sworn provenance for every AI write."
Sits directly above Affiant.Abstractions in the framework's dependency graph and is depended on by every adapter package (Affiant.SemanticKernel, Affiant.AgentFramework, Affiant.Docket, Affiant.EntityFramework, Affiant.Policies, Affiant.Transport.SignalR). Core never references an adapter — it consumes adapter-provided implementations of its interfaces through DI.
Install
dotnet add package Affiant.Core
builder.Services.AddAffiantCore();
AddAffiantCore() registers the tool descriptor registry, the observability event stream, the scoped ContextFabric, and the completion filter pipeline building blocks. It is a prerequisite for every adapter's own AddAffiant*() call — see the adapter package (Affiant.SemanticKernel or Affiant.AgentFramework) for the full host wiring sequence.
Package contents
| Namespace | Purpose |
|---|---|
Affiant.Core.Services |
ContextFabric (conversation-scoped entity/field tracking), ReviewGate (the review state machine), ApprovalPolicyEvaluator, DeterministicShortCircuit, EvidenceCardRequestFactory, SessionLockRegistry (per-session turn-serialization lock), AffiantToolRegistry |
Affiant.Core.Filters |
Backend-neutral filter pipeline steps: ContextExtractor<T> base class, TaskInferenceStep, ToolErrorFilter, ToolTracingFilter, ToolArgumentCaptureFilter, InferenceTriggerFilter, TaskInferenceMergeFilter, ReviewGateFilter |
Affiant.Core.Policies |
ReviewerConfirmationPolicy — the default IApprovalPolicy fallback |
Affiant.Core.Observability |
AffiantTelemetry, InMemoryObservabilityEventStream<T> |
Affiant.Core.Triggers |
WriteIntentInferenceTrigger and the framework's IInferenceTrigger implementations |
Affiant.Core.UiBridge |
UiGuidanceBridge — routes IRouteRegistry lookups onto the TransportEvent.UiGuidance wire path |
Affiant.Core.Extensions |
ServiceCollectionExtensions — AddAffiantCore, AddAffiantTool<TStrategy>, AddAffiantReadTool, AddDeterministicFieldSource<TSource>, AddFieldResolver<TResolver>, AddAffidavitProjection<TProjection> |
Further reading
- Affiant Framework Specification — the full design contract, including the seven normative rules and the L2 inference orchestration layer
- Tool Authoring Guide — write your first Affiant plugin pair
Part of the Affiant Framework | Apache-2.0 License
| 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
- Affiant.Abstractions (>= 1.0.0-beta.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.5)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.4)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.5)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on Affiant.Core:
| Package | Downloads |
|---|---|
|
Affiant.Docket
Durable review queue for Affiant, providing persistence and expiry semantics for review workflows across multiple database backends. |
|
|
Affiant.Transport.SignalR
Affiant Framework — SignalR transport adapter. Provides AffiantHub abstract base class for subclassable SignalR hubs and SignalRStreamingTransport implementing IStreamingTransport with in-process reviewer-confirmation routing. |
|
|
Affiant.EntityFramework
EntityFramework Core persistence adapter for Affiant, providing the shared AffiantDbContext with schema isolation support. |
|
|
Affiant.SemanticKernel
Semantic Kernel adapter for the Affiant framework — canonical filter pipeline wiring (task inference, context extraction, review gating, error handling), inference orchestration adapters, per-provider connector capabilities with manual tool-invocation fallback, and hard-failure startup validation |
|
|
Affiant.Policies
Approval policy framework for Affiant, providing Standing Orders, Referral routing, and risk-scoring for review workflows. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-beta.1 | 110 | 8/23/2026 |