AIKernel 0.1.3 Demo Programs Guide
AIKernel.Demo is the official example repository for the 0.1.3 package line. It is the best first stop after installing packages because each demo maps one OS layer to a minimal golden path.
First Demo to Run
Start with AIKernel.Demo.CoreRuntime.
dotnet run --project src/AIKernel.Demo.CoreRuntime/AIKernel.Demo.CoreRuntime.csproj
This demo shows the smallest complete runtime shape: semantic router, capability registry, kernel clock, VFS, ROM, time, and security surfaces.
Demo Map
| Demo Project | Primary Packages | What It Teaches |
|---|---|---|
AIKernel.Demo.CoreRuntime |
AIKernel.Core |
Kernel runtime, hosting, VFS, ROM, time, and security baseline. |
AIKernel.Demo.Contracts |
AIKernel.Abstractions, AIKernel.Contracts, AIKernel.Dtos, AIKernel.Enums |
Contract DTOs, policy results, unified context, and hash-chain DTOs. |
AIKernel.Demo.Control |
AIKernel.Control |
Governance policy, deterministic scheduler, emulator, and control execution. |
AIKernel.Demo.Providers |
AIKernel.Providers.* |
Provider descriptors, manifests, invokers, and dry-run provider selection. |
AIKernel.Demo.StandardProviders |
AIKernel.Providers.Standard |
File systems, logging, network, EventBus, profiler, and scheduler. |
AIKernel.Demo.Tools |
AIKernel.Tools.Instrumentation |
Canonical formatting, inspection, replay, and ROM tooling. |
AIKernel.Demo.Wasm |
AIKernel.Wasm.Runtime, AIKernel.Wasm.WebGpuComputeProvider |
WASM runtime, memory, FS, event, audio, screenshot, save-state, time, and WebGPU surface. |
AIKernel.Demo.Cuda |
AIKernel.Kernel 0.1.4 |
VRAM transfer through the bundled CUDA Driver. |
Running the Full Demo Set
The demos are designed to avoid external network calls and to run as dry-run golden paths.
dotnet build -c Release
dotnet run --project src/AIKernel.Demo.CoreRuntime/AIKernel.Demo.CoreRuntime.csproj
dotnet run --project src/AIKernel.Demo.Contracts/AIKernel.Demo.Contracts.csproj
dotnet run --project src/AIKernel.Demo.Control/AIKernel.Demo.Control.csproj
dotnet run --project src/AIKernel.Demo.Providers/AIKernel.Demo.Providers.csproj
dotnet run --project src/AIKernel.Demo.StandardProviders/AIKernel.Demo.StandardProviders.csproj
dotnet run --project src/AIKernel.Demo.Tools/AIKernel.Demo.Tools.csproj
dotnet run --project src/AIKernel.Demo.Wasm/AIKernel.Demo.Wasm.csproj
For CUDA on Windows x64 and Linux x64, use the CUDA Driver bundled with AIKernel.Kernel 0.1.4. Its only native runtime prerequisite is the NVIDIA driver.
dotnet run --project src/AIKernel.Demo.Cuda/AIKernel.Demo.Cuda.csproj
Unsupported platforms and hosts without an available driver or CUDA device report status=skipped. Successful transfers report status=ok.
Python Demo Surface
AIKernel.Demo also mirrors the package story on the Python side. Use the Python demos to confirm wrapper imports, managed assembly discovery, and dry-run package surfaces after installing the PyPI packages.
These commands apply after the corresponding stable 0.1.3 wheels are published. For release verification use matching local wheels and consult the release alignment guide.
pip install aikernel-net==0.1.3 aikernel-providers==0.1.3 aikernel-tools==0.1.3
Add aikernel-governance or aikernel-wasm when that layer is part of the scenario. For CUDA in Python, use python -m pip install "aikernel-net[gpu]==0.1.4".
Doom Browser Demo
AIKernel.Doom is a separate source demo, not a package to install. The official embedded demo remains available. The versioned site layout uses /demo/doom/ as the selector and /demo/doom/versions/v<version>/ for each standalone page after deployment. The prepared update contains v0.1.2 only; v0.1.3 remains a local preview.
Review the license notice and explicitly approve before the browser downloads the WAD and model. A page that reaches the consent screen has not yet passed the full gameplay or restart test.
Operational Reading Order
- Run
AIKernel.Demo.CoreRuntime. - Read the package installation guide.
- Run
AIKernel.Demo.StandardProviders. - Run
AIKernel.Demo.Providersto understand extension providers. - Add Control, Tools, WASM, or CUDA based on the layer you are evaluating.
This order keeps the OS mental model clear: kernel first, drivers second, governance and observability after the execution boundary is visible.
operations/DEMO_PROGRAMS_GUIDE.md