AIKernel

01 / WHAT IS AIKERNEL?

Build AI execution.
Understand what ran.

Connect models, define execution conditions, and inspect the process. AIKernel is a .NET foundation for composing these responsibilities in your application.

02 / ARCHITECTURE IN 30 SECONDS

Application. Runtime. Providers.
Separate the roles, then connect them.

Your application requests work, Core composes execution, and providers connect to models and services. This is the basic map.

  1. APPLICATION

    Your application

    Define the inputs and the work to do

  2. AIKERNEL.CORE

    Compose execution

    Hosting, Kernel, and file access

  3. AIKERNEL.PROVIDERS

    Connect capabilities

    Model, service, and compute implementations

Shared contracts: AIKernel.NET — align inputs and outputs across components.
Inspection: AIKernel.Tools — explore state and execution records.

03 / WORKING DEMO

See which model handles your question.

Bonsai 1.7B handles the first text question. Cosmos 3 Edge handles follow-ups, images and short videos. Each reply shows which model ran.

In AIKernel.Doom, switch between manual and automated play to see how the game responds to input.

04 / GETTING STARTED

Run one project on your machine.

The first .NET sample needs neither an API key nor a GPU.

  1. 01

    Run one project

    Follow preparation, execution, and expected output. Establish the basic environment before connecting a model.

  2. 02

    Read and change it

    Match the log to the code. Change one input and observe what changes and what remains the same.

  3. 03

    Connect a capability

    Choose a provider for your model or service. Check configuration and failure behavior before integration.

Example for an existing project

dotnet add package AIKernel.Core --version 0.1.4

Requires the .NET 10 SDK. See the migration guide if you already use 0.1.3.

05 / LATEST DEVELOPMENT

Follow the work behind the code.

Implementation, measurements, and experiments are documented in the development blog. Read the latest notes for design decisions and the work that led to them. Articles are in Japanese.

Python製の公開APIを.NET/AIKernelへ段階移行する

Pythonの推論ランタイムを活かし、公開APIを.NET/AIKernelへ段階移行する条件を整理します。NuGet公開のTTS Providerを使ったKokoroの再現手順と、認可・負荷制限・ハッシュの扱いを紹介します。

Cosmos 3 EdgeとNanoは7 GBで動画に答えられるか

同じ8フレームの動画への応答は、ServerでEdgeが26.12秒、Nanoが175.97秒。開発機と文章・画像・動画の6条件を比べ、参照回答の再現性と、KVキャッシュの容量がSSD書き込み量に及ぼす影響を調べました。

12.1 GBのGPT-OSS-20Bを7 GB枠で動かす

AIKernelの重みキャッシュを改修し、Serverの4コアでGPT-OSS-20Bを生成。最大RSSは2.892 GB。SSDから読む場合とOSキャッシュを保持した場合の応答時間・メモリ・I/O、llama.cppとのトークン列照合を公開します。

FIND YOUR NEXT STEP

Start with your task.

Look up a detail. Contribute a change.

Guides explain tasks, reference pages document APIs, and design material explains the reasoning.

Maintained by AIKernel-NET Project.
Found an error or a step that does not work? Contact us with the source revision, package versions, and reproduction steps.