Kai is a free, open source ai interaction & interfaces project written in Kotlin and released under Apache-2.0. It has 1,253 GitHub stars, 182 forks and 127 open issues, and was last pushed 31 hours ago. On this registry it ranks #94 of 113 tracked projects in AI Interaction & Interfaces, with 5 head-to-head comparisons available.

Kai 9000

Web Android iOS Platform JVM




An open-source AI assistant with persistent memory that runs on Android, iOS, Windows, Mac, Linux, and Web.

Website - Documentation


Sponsor: Atlas Cloud

Atlas Cloud

Installation

App Store Play Store F-Droid Web

Homebrew (macOS):

brew install --cask simonschubert/tap/kai

AUR (Arch Linux):

yay -S kai-bin

Winget (Windows):

winget install SimonSchubert.Kai

Direct Downloads

Platform Format Download
Android APK GitHub Releases
macOS DMG GitHub Releases
Windows MSI GitHub Releases
Linux DEB GitHub Releases
Linux RPM GitHub Releases
Linux AppImage GitHub Releases

AI That Builds Screens, Not Just Text

Kai 9000's Interactive UI lets the AI generate full interactive screens — quizzes, dashboards, recipes, brainstorms, and more. Navigate by tapping buttons instead of scrolling through chat.

Features

  • Persistent memory — Kai remembers important details across conversations and uses them automatically
  • Customizable soul — Define the AI's personality and behavior with an editable system prompt
  • Multi-service fallback — 29 LLM providers with automatic failover
  • On-device inference — Run AI models locally on Android using LiteRT, no internet needed
  • Tool execution — Web search, notifications, calendar events, shell commands, and more
  • MCP server support — Connect to remote tool servers via the Model Context Protocol
  • Autonomous heartbeat — Periodic self-checks that surface anything needing attention
  • Settings export/import — Backup and restore all settings as a JSON file
  • Encrypted storage — Conversations stored locally with encryption
  • Text to speech — Listen to AI responses
  • Linux Sandbox — On Android, the AI can run shell commands, scripts, and tools in a secure sandboxed Linux environment
  • Image attachments — Attach images to any conversation

Linux Sandbox (Android)

On Android, Kai includes a built-in Linux environment that the AI can use to execute shell commands, run scripts, and operate tools on your behalf. This turns Kai from a chat-only assistant into one that can take real action — installing packages, processing data, running Python scripts, and more.

  • Powered by Alpine Linux — A lightweight ~3 MB download sets up a full Linux userland via proot, no root required
  • Optional packages — One tap installs bash, curl, wget, git, jq, python3, pip, and Node.js
  • Interactive terminal — A built-in terminal lets you run commands manually alongside the AI
  • Secure — Everything runs sandboxed inside the app with no access to the host system

Enable it in Settings > Linux Sandbox.

Screenshots

Desktop

Web

Mobile

How It Works

                        ┌────────┐
                        │  User  │
                        └───┬────┘
                            │ message
                            ▼
               ┌─────────────────────────┐
               │          Chat           │
               │                         │
               │  prompt + memories      │
               │        │                │
               │        ▼                │
               │    ┌────────┐           │
               │    │   AI   │◀─┐        │
               │    └───┬────┘  │        │
               │        │   tool calls   │
               │        │   & results    │
               │        ▼      │        │
               │    ┌────────┐ │        │
               │    │ Tools  │─┘        │
               │    └───┬────┘          │
               │        │               │
               └────────┼───────────────┘
                        │ store / recall
                        ▼
               ┌─────────────────┐    hitCount >= 5
               │     Memory      │───────────────────┐
               │                 │                   │
               │  facts, prefs,  │                   ▼
               │  learnings      │          ┌────────────────┐
               │                 │◀─delete──│ Promote into   │
               └─────────────────┘          │ System Prompt  │
                        ▲                   └────────────────┘
                        │ reviews
                        │
               ┌─────────────────┐
               │    Heartbeat    │
               │                 │
               │  autonomous     │
               │  self-check     │
               │  every 30 min   │
               │  (8am–10pm)     │
               │                 │
               │  all good?      │
               │  → stays silent │
               │  needs action?  │
               │  → notifies user│
               └─────────────────┘
  • Chat — User sends a message. The AI responds, calling tools (memory, web search, shell, etc.) in a loop until it has a final answer.
  • Memory — The AI stores and recalls facts, preferences, and learnings. Memories that prove useful (5+ hits) can be promoted into the system prompt permanently.
  • Heartbeat — A background self-check runs every 30 minutes. It reviews memories, pending tasks, and emails. If something needs attention, it notifies the user. Otherwise, it stays silent.

Supported Services

Atlas Cloud · Anthropic · OpenAI · Gemini · DeepSeek · Mistral · xAI · OpenRouter · Groq · NVIDIA · Cerebras · Ollama Cloud · LongCat · Together AI · Hugging Face · Venice AI · Moonshot AI · Z.AI · MiniMax · AIHubMix · Deep Infra · Fireworks AI · OpenCode · AI Horde · Perplexity · OpenAI-Compatible API · LiteRT On-

readme truncated — read the full docs on github

Frequently asked questions

Is Kai free to use?

Kai is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does Kai do?

OpenClaw alternative in your pocket

What is Kai written in?

Kai is primarily written in Kotlin. Its source is publicly available at https://github.com/SimonSchubert/Kai, and it has 1,253 GitHub stars.