https://github.com/user-attachments/assets/589cfb48-f806-493d-842b-3b6953b64e79
Kolosal AI is an open-source desktop application designed to simplify the training and inference of large language models on your own device. It supports any CPU with AVX2 instructions and also works with AMD and NVIDIA GPUs. Built to be lightweight (only ~20 MB compiled), Kolosal AI runs smoothly on most edge devices, enabling on-premise or on-edge AI solutions without heavy cloud dependencies.
AMD and NVIDIA GPUs
Lightweight & Portable
Ideal for edge devices like Raspberry Pi or low-power machines
Wide Model Compatibility
Powered by the Genta Personal Engine built on top of Llama.cpp
Easy Dataset Generation & Training
Deploy locally or as a server in just a few steps
On-Premise & On-Edge Focus
Although the Kolosal AI is entirely Open-Source, and can be distributed for free or commercial purposes under Apache 2.0 License, the main engine (the Genta Inference Engine Personal) can not be distributed for commercial purposes. For those who are planning to use Kolosal AI for commercial purpose, must contact our team at rifky@genta.tech, or you can implement your own or other inference engine on Kolosal AI, or by being a contributor to Kolosal AI. This is intended to motivate contribution by companies to the Kolosal AI community.
Genta Inference Engine Personal © 2025 by Rifky Bujana Bisri is licensed under CC BY-NC-SA 4.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-nc-sa/4.0/
Kolosal AI uses or references the following third-party projects, each licensed under their respective terms:
These projects are distributed under their own licenses, separate from Kolosal AI. We are not affiliated with nor endorsed by the above entities.
We are a small team of students passionate about addressing key concerns in AI such as energy, privacy, on-premise, and on-edge computing. Our flagship product is the Genta Inference Engine, which allows enterprises to deploy open-source models on their own servers, with 3-4x higher throughput. This can reduce operational costs by up to 80%, as a single server optimized by our engine can handle the workload of four standard servers.
KolosalDesktop
)CMakeLists.txt
, if placed in correct directories):external/imgui
)stb
, nlohmann/json
, icons
, etc.A simplified look at the important folders/files:
KolosalAI/
├─ cmake/
│ └─ ucm.cmake # Utility script for static runtime linking
├─ external/
│ ├─ curl/ # Pre-built or source for cURL
│ ├─ glad/ # GLAD loader
│ ├─ genta-personal/ # genta-personal engine includes/libs
│ ├─ imgui/ # ImGui source
│ ├─ nativefiledialog-extended # Native File Dialog Extended
│ ├─ nlohmann/ # JSON library
│ ├─ stb/ # stb (single-file) headers
│ └─ fonts/ # TrueType fonts
├─ assets/
│ ├─ logo.png
│ └─ resource.rc # Windows resource file
├─ source/
│ └─ main.cpp # Entry point for KolosalDesktop
├─ include/
│ └─ ... (additional headers)
├─ models/
│ └─ ... (model.json configuration files used by the inference engine to download, save, and load the model engine)
├─ CMakeLists.txt
├─ README.md # You are here!
└─ ...
external/openssl
and external/curl
(or anywhere you prefer, just ensure CMakeLists.txt
sees them).bash
git clone https://github.com/Genta-Technology/Kolosal.git
cd KolosalAI
bash
git submodule update --init --recursive
external
folder contains:curl
with include/
, lib/
, and bin/
(Windows).openssl
or that OpenSSL is installed system-wide.The genta-personal
engine in place if not fetched from elsewhere.
Folder structure verification:
Verify that folders like nativefiledialog-extended
, imgui
, etc., are present inside external/
.
You can perform either an in-source or out-of-source build, but out-of-source is recommended. Below is an example of an out-of-source build:
bash
mkdir build
cd build
bash
cmake -S .. -B . -DCMAKE_BUILD_TYPE=Release
or explicitly (for Visual Studio multi-config):
bash
cmake -S .. -B . -G "Visual Studio 17 2022" -A x64
-DDEBUG=ON
can be used if you want to build a debug version:
bash
cmake -S .. -B . -DCMAKE_BUILD_TYPE=Debug -DDEBUG=ON
Check for any errors during configuration, such as missing libraries or headers. Resolve them by installing or copying the required dependencies into the correct location.
After successful configuration:
.sln
file inside build/
and build the solution. Or build from the command line using:bash
cmake --build . --config Release
bash
cmake --build . --config Release
Note:
ThePOST_BUILD
commands inCMakeLists.txt
will copy the necessary DLLs, fonts, assets, and models into the final output folder (e.g.,build/Release/
orbuild/Debug/
, depending on your generator).
KolosalDesktop.exe
on Windows) in a directory such as:build/Release/
(Visual Studio).build/
(single-config generators like Make).
Check for required files:
The post-build commands should have copied:
/fonts
folder next to the exe)./assets
folder next to the exe)./models
folder next to the exe).Make sure these folders and files are present in the same directory as KolosalDesktop.exe
.
bash
cd build/Release
./KolosalDesktop.exe
external/openssl
and external/curl
respectively. OPENSSL_ROOT_DIR
or CURL_ROOT_DIR
if needed. Update CMAKE_PREFIX_PATH
if you’re placing these libraries somewhere non-standard.
InferenceEngine libraries not found
external/genta-personal/lib
actually contains InferenceEngineLib.lib
or InferenceEngineLibVulkan.lib
(on Windows). Adjust find_library
paths in CMakeLists.txt
if your structure differs.
Missing Vulkan SDK
If you plan to use the Vulkan-based inference engine, ensure Vulkan SDK is installed and available in your PATH or that CMake can find it.
ImGui not found
external/imgui
folder is not empty. If you see compilation errors referencing ImGui headers, check that target_include_directories
in CMakeLists.txt
still points to the correct path.
Resource or Icon issues on non-Windows
The assets/resource.rc
file is Windows-specific. For Linux/macOS builds, you can comment out or remove references to .rc
if they cause issues.
Runtime errors due to missing DLLs or dynamic libraries
.dll
files next to the executable. .so
/.dylib
are in the library search path or same folder.