AIKernel.Dtos
0.1.0
dotnet add package AIKernel.Dtos --version 0.1.0
NuGet\Install-Package AIKernel.Dtos -Version 0.1.0
<PackageReference Include="AIKernel.Dtos" Version="0.1.0" />
<PackageVersion Include="AIKernel.Dtos" Version="0.1.0" />
<PackageReference Include="AIKernel.Dtos" />
paket add AIKernel.Dtos --version 0.1.0
#r "nuget: AIKernel.Dtos, 0.1.0"
#:package AIKernel.Dtos@0.1.0
#addin nuget:?package=AIKernel.Dtos&version=0.1.0
#tool nuget:?package=AIKernel.Dtos&version=0.1.0
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.
Current Package Baseline
As of v0.1.0:
AIKernel.AbstractionsandAIKernel.Contractsexport interfaces only.- DTOs are owned by
AIKernel.Dtos. - Shared enum primitives are owned by
AIKernel.Enums. AIKernel.Vfsremains a public namespace insideAIKernel.Abstractions; there is no separateAIKernel.Vfspackage/project.- Legacy ambiguous ChatChain names such as
IResultandISemanticHasherare not exported from the ChatChain namespace. UseIChatTurnVerificationResultandIChatTurnSemanticHasher.
Keep all AIKernel.NET packages on the same version line. Do not mix AIKernel.Abstractions v0.1.0 with older AIKernel.Dtos or AIKernel.Enums packages.
Projects
AIKernel.Abstractions
- Purpose: Interface layer (no concrete business logic).
- Main namespaces:
AIKernel.Abstractions.CapabilitiesAIKernel.Abstractions.ContextAIKernel.Abstractions.ConversationAIKernel.Abstractions.DynamicSlmAIKernel.Abstractions.DslAIKernel.Abstractions.EventsAIKernel.Abstractions.ExecutionAIKernel.Abstractions.GovernanceAIKernel.Abstractions.HistoryAIKernel.Abstractions.HostingAIKernel.Abstractions.KernelAIKernel.Abstractions.MaterialAIKernel.Abstractions.ModelsAIKernel.Abstractions.PromptAIKernel.Abstractions.ProvidersAIKernel.Abstractions.RomAIKernel.Abstractions.RoutingAIKernel.Abstractions.SchedulingAIKernel.Abstractions.SecurityAIKernel.Abstractions.TasksAIKernel.Abstractions.TimeAIKernel.Abstractions.ToolingAIKernel.Vfs(Vfs contracts, owned by the Abstractions assembly)
- Project references:
AIKernel.Dtos,AIKernel.Enums
AIKernel.Contracts
- Purpose: Cross-boundary contract interfaces for orchestration/context projections. This package exports interfaces only.
- Main namespace:
AIKernel.Contracts - Project references:
AIKernel.Dtos,AIKernel.Enums
AIKernel.Dtos
- Purpose: POCO/record data carriers and wire metadata key constants only (no business logic).
- Main namespaces:
AIKernel.Dtos.CapabilitiesAIKernel.Dtos.ContextAIKernel.Dtos.CoreAIKernel.Dtos.DynamicSlmAIKernel.Dtos.DslAIKernel.Dtos.EventsAIKernel.Dtos.ExecutionAIKernel.Dtos.GovernanceAIKernel.Dtos.KernelAIKernel.Dtos.KernelContextAIKernel.Dtos.HistoryAIKernel.Dtos.MaterialAIKernel.Dtos.PromptAIKernel.Dtos.RomAIKernel.Dtos.RoutingAIKernel.Dtos.RulesAIKernel.Dtos.SandboxAIKernel.Dtos.SecurityAIKernel.Dtos.SemanticCompilationAIKernel.Dtos.TokenizationAIKernel.Dtos.TimeAIKernel.Dtos.Vfs
- Project references:
AIKernel.Enums
DTO packages may expose stable metadata key constants for wire formats such as DSL ROM and History ROM.
Those constants are part of the serialized contract surface; parsing, validation, and runtime behavior still belong to Core/Common or host implementations.
Shared enums such as execution status and prompt option primitives belong to AIKernel.Enums, not AIKernel.Dtos.
Capability DTOs describe external module manifests and invocation envelopes for CLI executable, managed assembly, native ABI, DSL ROM, and remote endpoint boundaries. Runtime loading, sandboxing, assembly resolution, and native invocation remain Core/Tools/provider responsibilities.
DynamicSLM DTOs describe Model ABI records only. Registry, lineage verification, payload materialization, scheduling, differential distillation planning, SeedSLM discipline enforcement, delegation, thought-artifact dumping, and memory placement belong to Core/Provider implementations behind AIKernel.Abstractions.DynamicSlm.
Distillation execution itself is represented as a background offload job so loaders do not block on training work.
HATL DTOs describe ledger entries, public anchors, Digital Deeds, verification results, and external cryptographic operator request/result records. Cryptographic runtime belongs to AIKernel.RH-backed operators or other audited Core/HATL modules.
Governance DTOs may carry admission replay evidence, critical-operation and computational-complexity gate evidence, and trajectory governance ellipsoid/score/action evaluation records, while AIKernel.Enums owns Semantic IR slot, admission decision/gate, task cost class, and critical-operation requirement vocabulary for Core-side ResultStep/ReplayLog adapters.
Semantic Compilation DTOs describe observable semantic state, structural Semantic IR, governed circuit descriptors, finite prototype spaces, semantic distance reports, deterministic synthesis descriptors, and replay-addressable transition descriptors; compiler execution and graph search remain Core/runtime responsibilities.
AIKernel.Enums
- Purpose: Shared enum primitives used across the specification layer.
- Main namespace:
AIKernel.Enums - Project references: none
Dependency Rules (Normative)
AIKernel.Abstractions→AIKernel.Dtos,AIKernel.EnumsAIKernel.Contracts→AIKernel.Dtos,AIKernel.EnumsAIKernel.Dtos→AIKernel.EnumsAIKernel.Enums→ (none)
Prohibited examples:
Abstractions→ContractsContracts→AbstractionsAbstractions→ separate Vfs package/project
AIKernel.Vfs is a public namespace inside AIKernel.Abstractions; the separate AIKernel.Vfs compatibility project was removed in v0.0.4.
Notes on Decomposition
AIKernel.KernelContextproject has been decomposed and moved intoAIKernel.Dtos.KernelContext(models) andAIKernel.Abstractions(contracts).AIKernel.Eventsproject has been decomposed and moved intoAIKernel.Dtos.Events(models) andAIKernel.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 | 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
- AIKernel.Enums (>= 0.1.0)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on AIKernel.Dtos:
| Package | Downloads |
|---|---|
|
AIKernel.Abstractions
AIKernel is an operating-system-style framework for AI applications, designed around strict category separation, context isolation, and contract-driven orchestration. This package is part of the AIKernel contract surface and provides foundational interfaces required by runtime, provider, and storage adapters. Defines the syscall-level abstractions of the AIKernel OS, including IKernel, IProvider, IGuard, IPdp, Vfs, DSL/History ROM, Control Plane, external Capability modules, DynamicSLM, SeedSLM, and HATL external cryptographic operator contracts. These interfaces form the stable execution boundary for Kernel, Provider, storage, model, control-plane, and operator implementations. AIKernel は AI アプリケーション向けの OS 的フレームワークであり、カテゴリ分離、コンテキスト隔離、契約駆動の設計思想に基づいています。本パッケージは AIKernel contract surface の一部であり、runtime、provider、storage adapter が利用する基盤 interface を提供します。 AIKernel OS の syscall レベルの抽象を定義します。IKernel、IProvider、IGuard、IPdp、Vfs、DSL/History ROM、Control Plane、external Capability module、DynamicSLM、SeedSLM、HATL external cryptographic operator contract などを含み、Kernel、Provider、storage、model、control-plane、operator 実装の安定した実行境界を提供します。 |
|
|
AIKernel.Contracts
AIKernel is an operating-system-style framework for AI applications, designed around strict category separation, context isolation, and contract-driven orchestration. This package is part of the AIKernel contract surface and provides interface-only orchestration and context projection contracts. Provides the orchestration contracts and context schemas used by the AIKernel OS, including OrchestrationContext, MaterialContext, and ExpressionContext. These contracts define the immutable input format for Kernel execution. AIKernel は AI アプリケーション向けの OS 的フレームワークであり、カテゴリ分離、コンテキスト隔離、契約駆動の設計思想に基づいています。本パッケージは AIKernel contract surface の一部であり、interface-only の orchestration / context projection contract を提供します。 OrchestrationContext、MaterialContext、ExpressionContext など、AIKernel OS で使用されるオーケストレーション契約とコンテキストスキーマを提供します。これらは Kernel 実行の不変な入力形式を定義します。 |
|
|
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 互換モデル実行を可能にします。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
AIKernel.NET v0.1.0 — First Stable Contract Baseline
• Promotes the AIKernel.NET contract packages to the first 0.1.0 baseline.
• Adds MemoryRegion / MemoryMapper contracts for Native Capability modules.
• Adds Control Plane contracts under AIKernel.Abstractions.Control and AIKernel.Dtos.Control.
• Adds pure routing decision DTOs under AIKernel.Dtos.Routing so Core can keep routing behavior as runtime extensions.
• Keeps AIKernel.Abstractions and AIKernel.Contracts interface-only.
• Keeps DTO ownership in AIKernel.Dtos and enum ownership in AIKernel.Enums.
• Preserves the package DAG: Enums -> none, Dtos -> Enums, Contracts -> Dtos/Enums, Abstractions -> Dtos/Enums.
• Keeps Result/ResultStep/LINQ composition and runtime adapters outside AIKernel.NET.
• Documents migration from Core provisional Memory APIs to AIKernel.NET contract packages.
AIKernel.NET v0.1.0 — First Stable Contract Baseline
• AIKernel.NET contract package を最初の 0.1.0 baseline に昇格。
• Native Capability module 向け MemoryRegion / MemoryMapper contract を追加。
• Control Plane contract を AIKernel.Abstractions.Control / AIKernel.Dtos.Control に追加。
• routing behavior を Core runtime extension に残すため、AIKernel.Dtos.Routing に純 DTO を追加。
• AIKernel.Abstractions / AIKernel.Contracts は interface-only を維持。
• DTO は AIKernel.Dtos、enum は AIKernel.Enums が所有。
• package DAG は Enums -> none、Dtos -> Enums、Contracts -> Dtos/Enums、Abstractions -> Dtos/Enums を維持。
• Result / ResultStep / LINQ composition と runtime adapter は AIKernel.NET の外側に維持。
• Core provisional Memory API から AIKernel.NET contract package への migration を文書化。