Affiant.Abstractions
1.0.0-beta.1
Prefix Reserved
dotnet add package Affiant.Abstractions --version 1.0.0-beta.1
NuGet\Install-Package Affiant.Abstractions -Version 1.0.0-beta.1
<PackageReference Include="Affiant.Abstractions" Version="1.0.0-beta.1" />
<PackageVersion Include="Affiant.Abstractions" Version="1.0.0-beta.1" />
<PackageReference Include="Affiant.Abstractions" />
paket add Affiant.Abstractions --version 1.0.0-beta.1
#r "nuget: Affiant.Abstractions, 1.0.0-beta.1"
#:package Affiant.Abstractions@1.0.0-beta.1
#addin nuget:?package=Affiant.Abstractions&version=1.0.0-beta.1&prerelease
#tool nuget:?package=Affiant.Abstractions&version=1.0.0-beta.1&prerelease
Affiant.Abstractions
Domain-agnostic primitives and interfaces for the Affiant framework — "sworn provenance for every AI write."
This is the root of the framework's dependency graph: zero references to any other Affiant package, zero references to Semantic Kernel / Microsoft Agent Framework / Microsoft.Extensions.AI. A host that only needs to implement a contract — write a custom IDocketStore, a custom IStreamingTransport, a field mapper — can reference this package alone. Every other Affiant package depends on it, directly or transitively.
Install
dotnet add package Affiant.Abstractions
Most hosts get this transitively through Affiant.Core or an adapter package (Affiant.SemanticKernel, Affiant.AgentFramework); reference it directly only when implementing a framework contract without pulling in the rest of the framework.
Package contents
| Namespace | Purpose |
|---|---|
Affiant.Abstractions.Models |
Data types — everything that is not a contract: Affidavit, AffidavitField, ProvenanceTag, ProvenanceChain, ToolEnvelope (discriminated ReadResult/WriteProposal/ToolError), DocketEntry, ReviewStatus, ReviewContext, ReviewRequirement, ReviewResponse (discriminated ReviewGranted/ReviewDenied/ReviewExpired), ChatSession, ConversationContext, TaskInferenceField, Operation, EntityRef, AffiantChatMessage, AffiantToolDescriptor |
Affiant.Abstractions.Interfaces |
Framework contracts a host or adapter implements or consumes — interfaces only: IChatSessionStore, IDocketStore, IStreamingTransport, IApprovalPolicy, IFieldMapper<T>, IWriteExecutor, IRouteRegistry, IIntentInterceptor, IToolAuthorizationPolicy, ITaskInferenceStrategy |
Affiant.Abstractions.Transport |
Wire-shape types for the streaming transport: TransportEvent, EvidenceCard request/response, DocketExpiryEvent, SystemNotificationPayload, UiGuidancePayload |
Affiant.Abstractions.Attributes |
[AffiantWriteTool] — declares a tool method as write-intent for the Tool Descriptor Registry |
Affiant.Abstractions.Exceptions |
AffiantStartupException — the hard-failure type framework startup validation throws (never a warning) |
Further reading
- Affiant Framework Specification — the full design contract, including the seven normative rules and the layering DAG this package roots
- 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
- No dependencies.
NuGet packages (5)
Showing the top 5 NuGet packages that depend on Affiant.Abstractions:
| Package | Downloads |
|---|---|
|
Affiant.Core
Affiant Framework — Concrete services for context extraction, review gating, and telemetry. Includes ContextFabric, ReviewGate, DeterministicShortCircuit, base ContextExtractor, TaskInferenceStep, and AffiantTelemetry. |
|
|
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.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 | 118 | 8/23/2026 |