New: slash commands, follow-ups and file drop

AI that lives on your computer.

KaiLu is a private assistant and coding companion powered by the KaiLu models from KvcHub. It runs entirely on your device — no account, no cloud, nothing you type ever leaves it.

Free · macOS, Windows and Linux · All downloads

KaiLu App answering a request for a Python function that checks for prime numbers, with code, an explanation and follow-up suggestions.
██╗  ██╗          ██╗ ██╗               ██║ ██╔╝          ╚═╝ ██║               █████╔╝   █████╗  ██╗ ██║      ██╗   ██╗██╔═██╗  ██╔══██║ ██║ ██║      ██║   ██║██║  ██╗ ╚██████║ ██║ ███████╗ ╚██████╔╝╚═╝  ╚═╝  ╚═════╝ ╚═╝ ╚══════╝  ╚═════╝  KaiLu Code v1.0.0 · KaiLu 3 Pro · Metal ❯ /retry  › /retry                     Get a different answer to your last message    /review [file]             Find bugs and risky spots    /optimize [file]           Make code simpler and faster
0 bytesof your chats sent to any server
125 tok/sKaiLu 3 Pro on an Apple M5 Pro
1.1 GBmodel, downloaded once, verified
3 platformsmacOS, Windows and Linux

Features

Small model. Thoughtful tools.

KaiLu is built around what a compact, on-device model does well — quick answers, explanations and everyday code — with tools that make it easy to keep going.

A command for everything

Type / in the app or the terminal. Explain, review, fix, test, document, optimize or convert code. Summarize, translate or proofread text. The same commands work in both.

Private by default

Models run on your hardware and chats are saved only on your computer. KaiLu works on a plane, in a cabin, or behind the strictest firewall.

125tok/s

Fast on your machine

Metal on Apple Silicon, Vulkan on Windows and Linux. The model loads in your background while you type, so replies start in a fraction of a second.

Follow-ups that fit

Every answer ends with suggestions for what to ask next — tests for code, an example for an idea, "continue" when a reply runs long.

Bring your files

Drop a file on the window, or mention @src/app.ts in the terminal, and ask about it. /review and /tests work on it directly.

The app

Calm, quick and yours.

KaiLu App's home screen with a greeting and the message box.

KaiLu Code

The same brain, in your terminal.

A coding assistant that lives next to your code. It streams answers with syntax-highlighted code panels, suggests commands as you type, and saves code straight to files.

$ npm install -g https://huggingface.co/KvcHub/KaiLu-Downloads/resolve/main/kailu-code-1.0.0.tgz
  • kailu-code starts a session; / shows every command
  • git diff | kailu-code -p "write a commit message"
  • @file attaches a file; /save app.py writes code back
  • Needs Node.js 20 or newer · shares models with the app
  ██╗  ██╗          ██╗ ██╗                 ██║ ██╔╝          ╚═╝ ██║                 █████╔╝   █████╗  ██╗ ██║      ██╗   ██╗  ██╔═██╗  ██╔══██║ ██║ ██║      ██║   ██║  ██║  ██╗ ╚██████║ ██║ ███████╗ ╚██████╔╝  ╚═╝  ╚═╝  ╚═════╝ ╚═╝ ╚══════╝  ╚═════╝    ╭─ KaiLu Code v1.0.0 ──────────────────────────────────────────────╮  │ ◒ Your private coding assistant. Runs on this computer.          │  │                                                                  │  │ model   KaiLu 3 Pro · q8_0                                       │  │ memory  1,024 tokens                                             │  │ engine  llama.cpp · Metal · Apple M5 Pro                         │  │ folder  ~/projects/my-app                                        │  ╰──────────────────────────────────────────────────────────────────╯   @file attach  ·  /help commands  ·  """ multi-line  ·  ctrl+c stop ❯ write a python function that checks if a number is prime ◒ ╭─ python ─────────────────────────────────────────────────────────── 1  │ def is_prime(n):  │     if n < 2:  │         return False  │     for i in range(2, int(n**0.5) + 1):  │         if n % i == 0:  │             return False  │     return True  ╰──────────────────────────────────────────────────────────────────────   This function works by checking if the number n has any divisors other   than 1 and itself. If n is divisible by any number in this range, it's   not a prime number. If n is not divisible by any of these numbers, it's  a prime number.   You can use this function like this:   ╭─ python ─────────────────────────────────────────────────────────── 2  │ print(is_prime(25))  # False  │ print(is_prime(23))  # True  ╰──────────────────────────────────────────────────────────────────────  KaiLu 3 Pro · 118 tokens · 124.6 tok/s  ·  memory ▰▰▱▱▱▱▱▱▱▱ 23%  ↳ next  /explain  ·  /tests  ·  /review  ·  /doc  ·  /save <file> ❯ /tests  › /tests [file]              Write unit tests    /temp <0-2>                Set creativity (lower is more focused)

Models

Pick the KaiLu that fits.

Every model comes from KvcHub on Hugging Face and is checked against its published SHA-256 before it runs. Download once; use offline forever.

Shows its reasoning

KaiLu 2 2B

The largest KaiLu. Reasons step by step in <think> for math, code and logic. 4K context.

Parameters
1.90B
Download
1.17 GB
Memory
4,096 tokens
License
Apache-2.0
Model card on Hugging Face →
Smallest

KaiLu 3 Mini

Tiny and quick. For older or low-memory computers.

Parameters
329M
Download
351 MB
Memory
1,024 tokens
License
KaiLu 3 License
Model card on Hugging Face →
First generation

KaiLu 1

The first KaiLu, kept for comparison. Superseded by KaiLu 2 and 3.

Parameters
933M
Download
546 MB
Memory
4,096 tokens
License
Apache-2.0
Model card on Hugging Face →

These are small models. They're great for quick questions, explanations and everyday code, and they can be wrong — check anything important.

How it works

Up and running in three steps.

  1. 1

    Install KaiLu

    Download the app for your computer, or install KaiLu Code with npm.

  2. 2

    Choose a model

    KaiLu downloads it once from Hugging Face — about 1 GB — and verifies every byte.

  3. 3

    Ask away, offline

    From now on everything runs on your device. No account, no subscription, no internet needed.

Download

Get KaiLu for free.

Version 1.0.0 · Free

KaiLu Code for the terminal

Works on macOS, Windows and Linux with Node.js 20+.

$ npm install -g https://huggingface.co/KvcHub/KaiLu-Downloads/resolve/main/kailu-code-1.0.0.tgz
Or download the package

These builds aren't notarized by Apple yet. On macOS, open KaiLu App once, then go to System Settings → Privacy & Security and choose Open Anyway. On Windows, if SmartScreen appears, choose More info → Run anyway.

FAQ

Questions, answered.

Is KaiLu free?

Yes. KaiLu App and KaiLu Code are free for personal and commercial use under the KaiLu App and KaiLu Code License — just don't use them for anything malicious. Each model has its own license, shown on its card: KaiLu 2 and KaiLu 1 are Apache 2.0, and KaiLu 3 Mini is for personal, non-commercial use.

Does it need the internet?

Only once, to download a model from Hugging Face. After that KaiLu works completely offline.

Is my data private?

Yes. The model runs on your computer and chats are saved only there. KaiLu doesn't have an account system or a server to send anything to.

What computer do I need?

A Mac with Apple Silicon or Intel, or a 64-bit Windows or Linux PC, with 8 GB of memory and about 2 GB of free disk space. A GPU helps but isn't required.

How good are the answers?

KaiLu's models are small — around one to two billion parameters — so they're fast and private, and best at quick questions, explanations, short code and writing help. They can be confidently wrong, so double-check anything that matters.

What's the difference between KaiLu App and KaiLu Code?

KaiLu App is a desktop chat app. KaiLu Code is the same assistant in your terminal, made for working with code and files. They share the same models, so a model downloaded by one is ready in the other.

Your computer is smart enough.

Download KaiLu