Documentation · Documentation

Install

The install command and package for each language, and the platforms each package runs on.

LanguageInstallPackage
C# / .NETdotnet add package KjarniNuGet
Microsoft.Extensions.AIdotnet add package Kjarni.Extensions.AINuGet
Pythonpip install kjarniPyPI
Gogo get github.com/olafurjohannsson/kjarni-gopkg.go.dev
Rustcargo add kjarnicrates.io
Browsernpm i kjarni-wasmnpm
C / C++Release archive: shared library, kjarni.h, kjarni.hppReleases
Command linecurl -fsSL https://kjarni.ai/install.sh | shReleases

On Windows the command line tool installs with irm https://kjarni.ai/install.ps1 | iex. Kjarni on Windows lists every file in the Windows archive and what it is for.

Every public type and function is in the API reference, generated from the source of each release.

Platforms

PackageLinux x64Linux arm64macOS Apple SiliconWindows x64Browser
Release archives and CLI✓✓✓✓
NuGet (Kjarni)✓✓✓✓
PyPI (kjarni), Python 3.8+✓✓✓✓
Go module✓––✓
npm (kjarni-wasm)✓

Not supported yet: macOS on Intel, Windows on ARM, Android and iOS.

The Kjarni NuGet package targets .NET 8 and .NET Standard 2.1. .NET Standard 2.1 covers Unity 2021.2 and later; it does not cover .NET Framework 4.x, which stops at .NET Standard 2.0. See Local AI in Unity.

Kjarni runs the same engine on every platform: