AIKernel.Abstractions 0.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package AIKernel.Abstractions --version 0.0.2
                    
NuGet\Install-Package AIKernel.Abstractions -Version 0.0.2
                    
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="AIKernel.Abstractions" Version="0.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AIKernel.Abstractions" Version="0.0.2" />
                    
Directory.Packages.props
<PackageReference Include="AIKernel.Abstractions" />
                    
Project file
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 AIKernel.Abstractions --version 0.0.2
                    
#r "nuget: AIKernel.Abstractions, 0.0.2"
                    
#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 AIKernel.Abstractions@0.0.2
                    
#: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=AIKernel.Abstractions&version=0.0.2
                    
Install as a Cake Addin
#tool nuget:?package=AIKernel.Abstractions&version=0.0.2
                    
Install as a Cake Tool

AIKernel.NET

AIKernel.NET is a specification-first repository for Semantic Context OS contracts. The src tree contains the canonical specification projects that define interfaces, DTOs, enums, and external boundary contracts.


Projects

AIKernel.Abstractions

  • Purpose: Interface layer (no concrete business logic).
  • Main namespaces:
    • AIKernel.Abstractions.Context
    • AIKernel.Abstractions.Conversation
    • AIKernel.Abstractions.Events
    • AIKernel.Abstractions.Execution
    • AIKernel.Abstractions.Governance
    • AIKernel.Abstractions.History
    • AIKernel.Abstractions.Hosting
    • AIKernel.Abstractions.Kernel
    • AIKernel.Abstractions.Material
    • AIKernel.Abstractions.Models
    • AIKernel.Abstractions.Prompt
    • AIKernel.Abstractions.Providers
    • AIKernel.Abstractions.Rom
    • AIKernel.Abstractions.Routing
    • AIKernel.Abstractions.Scheduling
    • AIKernel.Abstractions.Security
    • AIKernel.Abstractions.Tasks
    • AIKernel.Abstractions.Tooling
  • Project references: AIKernel.Dtos, AIKernel.Enums

AIKernel.Contracts

  • Purpose: Cross-boundary contract interfaces for orchestration/context projections.
  • Main namespace: AIKernel.Contracts
  • Project references: AIKernel.Dtos, AIKernel.Enums

AIKernel.Dtos

  • Purpose: POCO/record data carriers only (no business logic).
  • Main namespaces:
    • AIKernel.Dtos.Context
    • AIKernel.Dtos.Core
    • AIKernel.Dtos.Events
    • AIKernel.Dtos.Execution
    • AIKernel.Dtos.Governance
    • AIKernel.Dtos.Kernel
    • AIKernel.Dtos.KernelContext
    • AIKernel.Dtos.Material
    • AIKernel.Dtos.Prompt
    • AIKernel.Dtos.Rom
    • AIKernel.Dtos.Routing
    • AIKernel.Dtos.Rules
    • AIKernel.Dtos.Sandbox
    • AIKernel.Dtos.Security
    • AIKernel.Dtos.Tokenization
    • AIKernel.Dtos.Vfs
  • Project references: AIKernel.Enums

AIKernel.Enums

  • Purpose: Shared enum primitives used across the specification layer.
  • Main namespace: AIKernel.Enums
  • Project references: none

AIKernel.Vfs

  • Purpose: Provider-agnostic Virtual File System contracts.
  • Main namespace: AIKernel.Vfs
  • Project references: AIKernel.Dtos

Dependency Rules (Normative)

  • AIKernel.AbstractionsAIKernel.Dtos, AIKernel.Enums
  • AIKernel.ContractsAIKernel.Dtos, AIKernel.Enums
  • AIKernel.DtosAIKernel.Enums
  • AIKernel.Enums → (none)
  • AIKernel.VfsAIKernel.Dtos

Prohibited examples:

  • AbstractionsContracts
  • ContractsAbstractions
  • VfsAbstractions

Notes on Decomposition

  • AIKernel.KernelContext project has been decomposed and moved into AIKernel.Dtos.KernelContext (models) and AIKernel.Abstractions (contracts).
  • AIKernel.Events project has been decomposed and moved into AIKernel.Dtos.Events (models) and AIKernel.Abstractions.Events (contracts).
  • Concrete runtime implementations are out of this repository scope and belong to AIKernel.Core.

Testing

  • src/tests/AIKernel.Abstractions.Tests: spec-alignment and interface-composition tests.

License

MIT License
Copyright © 2026 Takuya Sogawa

Product 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.

NuGet packages (20)

Showing the top 5 NuGet packages that depend on AIKernel.Abstractions:

Package Downloads
AIKernel.Core

EN: Core runtime engine for AIKernel.NET. Provides the foundational execution logic for VFS, ROM, Context construction, and inference execution in a deterministic Knowledge OS. JA: AIKernel.NET の Core ランタイムエンジンです。決定論的な Knowledge OS における VFS、ROM、Context 構築、推論実行の基礎ロジックを提供します。

AIKernel.Kernel

EN: Kernel facade and orchestration layer for AIKernel.NET. Coordinates Core, Providers, Context, Governance, and execution flow through a unified IKernel interface. JA: AIKernel.NET の Kernel Facade およびオーケストレーション層です。Core、Provider、Context、Governance、実行フローを統合された IKernel インターフェースで制御します。

AIKernel.Providers.MicrosoftAI

EN: Microsoft.Extensions.AI based provider implementation for AIKernel.NET. Enables OpenAI-compatible model execution while preserving AIKernel's capability-based provider model. JA: Microsoft.Extensions.AI を利用した AIKernel.NET 向け Provider 実装です。AIKernel の Capability ベース Provider モデルを維持しながら、OpenAI 互換モデル実行を可能にします。

AIKernel.TestKit

EN: Contract testing toolkit for AIKernel.NET implementations. Provides reusable test skeletons and verification helpers to validate provider, VFS, context, and execution contract compliance. JA: AIKernel.NET 実装向けの Contract Test ツールキットです。Provider、VFS、Context、実行契約への準拠を検証するための再利用可能なテスト雛形と検証ヘルパーを提供します。

AIKernel.Hosting

EN: Hosting and dependency injection extensions for AIKernel.NET. Provides IServiceCollection integration and startup wiring for ASP.NET Core and .NET Generic Host applications. JA: AIKernel.NET の Hosting / DI 拡張パッケージです。ASP.NET Core および .NET Generic Host 向けに IServiceCollection 統合と起動時の配線を提供します。

GitHub repositories

This package is not used by any popular GitHub repositories.

AIKernel.NET v0.0.2 — Interface Rectification & Contract Stabilization Release

May 9th —
The day the Kernel received its proper names, boundaries, and Phase 1 slots.
5月9日 — Kernel に正しい名前・境界・Phase 1 の抽象スロットを与えた日。

This release is a structural refinement release for stabilizing the AIKernel.NET abstract contract layer before v0.1.0.

Key changes:
- Normalized acronym-based identifiers according to .NET naming conventions.
- Renamed AIKernel.VFS to AIKernel.Vfs.
- Renamed IROMCanonicalizer to IRomCanonicalizer.
- Refined contract purity and immutable contract boundaries.
- Split provider contracts by capability.
- Split embedding abstractions into ITextEmbeddingProvider / IBatchEmbeddingProvider / IEmbeddingDimensionProvider.
- Extended provider capability metadata for query-processing and embedding.
- Added Phase 1 Query Processing abstractions:
 - IQueryAugmentor
 - IQueryDecomposer
 - IQueryRouter
 - QueryPart
- Clarified that RAG remains a provider / pipeline strategy, not Core retrieval.
- Updated README, architecture docs, pipeline specs, provider docs, capability docs, query docs, and migration guides.

Verification:
- dotnet build src\AIKernel.NET.slnx succeeded.
- dotnet test src\tests\AIKernel.Abstractions.Tests\AIKernel.Abstractions.Tests.csproj --no-build succeeded: 73 tests passed.

This release changes little runtime behavior, but significantly improves the ABI surface before v0.1.0.

Names define boundaries.
Boundaries define contracts.
Contracts define execution.

名前は境界を定義する。
境界は契約を定義する。
契約は実行を定義する。