AIKernelは、モデルやツールの接続、実行条件の設定、処理結果の確認を.NETアプリに組み込むためのモジュール式SDKです。
AIKernel is a modular .NET SDK for connecting AI models and tools, controlling execution, and inspecting what ran.
最新版 / Latest stable SDK v0.1.4 · 公式サイト / Website · 技術ブログ / Technical blog
| やりたいこと | 日本語 | English |
|---|---|---|
| 最初の.NETサンプルを動かす / Run the first .NET sample | クイックスタート | Quickstart |
| 必要なパッケージを選ぶ / Choose packages | NuGet・PyPI導入ガイド | NuGet and PyPI |
| 0.1.3から更新する / Upgrade from 0.1.3 | 移行ガイド | Upgrade guide |
| AIアシスタントと開発する / Build with an AI assistant | 開発者向け手引き | Developer guide |
| ブラウザーでモデルを試す / Try models in a browser | チャットデモ | Chat demo |
最初の.NETサンプルは.NET 10 SDKで動作し、APIキーやGPUは不要です。既存の.NET 10プロジェクトに実行基盤を追加するには AIKernel.Core を参照します。
The first sample runs on the .NET 10 SDK without an API key or GPU. Add AIKernel.Core to an existing .NET 10 project to use the runtime.
dotnet add package AIKernel.Core --version 0.1.4Pythonから使う場合 / For Python applications
python -m pip install aikernel-net==0.1.4公開NuGetパッケージ / NuGet packages · Pythonパッケージ / PyPI
| 機能 / Feature | 公式資料 / Documentation |
|---|---|
| ローカル推論と操作の評価 / Local inference and governed operations | モデル別・Bonsai CTGの呼び出し例 · Inference and CTG API examples |
| 同じ業務処理をHTTPとMCPに公開 / Expose the same operation over HTTP and MCP | サンプル · Sample |
| 外部の音声合成エンジンを接続 / Connect an external text-to-speech engine | AIKernel.Providers.Tts 0.1.4 |
| 実行記録とリプレイ仕様 / Execution records and replay | 日本語仕様 · Replay format |
CPU実行を標準とし、アクセラレーターや外部Providerは用途に応じて追加できます。対応モデル、OS、ドライバー、メモリ条件は個別のガイドで確認してください。
Start with CPU execution. Add accelerators and external Providers for the workloads that need them. Check the individual guides for supported models, operating systems, drivers, and memory requirements.
| リポジトリ / Repository | 責務 / Responsibility |
|---|---|
| AIKernel.NET | 共有インターフェース、DTO、列挙型 / Shared interfaces, DTOs, and enums |
| AIKernel.Core | 実行基盤、ルーティング、ホスティング。AIKernel.Kernel 0.1.4 に CUDA Driver を同梱(ネイティブ依存は NVIDIA ドライバのみ) / Runtime, routing, and hosting. AIKernel.Kernel 0.1.4 bundles the CUDA Driver and requires the NVIDIA driver at runtime. |
| AIKernel.Providers | 外部サービスとローカルエンジンの接続 / Adapters for services and local engines |
| AIKernel.Control | 実行制御と診断 / Execution control and diagnostics |
| AIKernel.Tools | CLI、実行記録、調査ツール / CLI, execution records, and inspection |
| AIKernel.Wasm | ブラウザー実行とWebGPUの境界 / WebAssembly and WebGPU integration |
| AIKernel.Cuda13.0 | 0.1.3 までの旧 LibTorch 参照実装(保守終了・アーカイブ済み) / Legacy LibTorch reference implementation through 0.1.3 (unmaintained and archived). CUDA Driver 移行ガイド / Migration guide |
| AIKernel.Demo | 実行できるサンプル / Runnable examples |
パッケージごとの責務 · Package responsibilities · APIリファレンス / API reference · お問い合わせ / Contact