An AI assistant that remembers you and runs Linux in your pocket
An open-source AI assistant built in Kotlin that remembers context across chats, draws interactive screens, and runs a sandboxed Linux distro on your phone.

What it does
Kai 9000 is a cross-platform AI assistant — Android, iOS, desktop, and web — written in Kotlin Multiplatform. It chats, remembers facts and preferences across sessions, and can generate interactive screens like quizzes or dashboards rather than forcing you to scroll through text walls. On Android, it also drops a sandboxed Alpine Linux environment (via proot) onto your device so the AI can install packages and run shell commands without root.
The interesting bit
The memory system is unusually concrete: facts that get recalled five or more times are automatically promoted into the system prompt, permanently shaping the AI’s personality. A background “heartbeat” checks every thirty minutes to see if anything needs your attention, turning the assistant from a passive chatbot into something closer to an autonomous agent. Plus, with LiteRT on-device inference, it can run entirely offline on Android.
Key highlights
- Generates interactive UI screens (recipes, games, dashboards) instead of plain text replies
- Persistent memory with automatic promotion of frequently-used facts into the system prompt
- 24 LLM providers with automatic failover, plus local on-device inference via LiteRT
- Android-only Linux sandbox: Alpine Linux userland, installable packages, no root required
- Autonomous heartbeat self-checks (8am–10pm) that notify you when something needs action
Verdict
Worth a look if you want a privacy-friendly, open-source alternative to commercial AI assistants with actual long-term memory and offline capability. Skip it if you just need a quick ChatGPT wrapper; this is closer to a personal agent framework.
Frequently asked
- What is SimonSchubert/Kai?
- An open-source AI assistant built in Kotlin that remembers context across chats, draws interactive screens, and runs a sandboxed Linux distro on your phone.
- Is Kai open source?
- Yes — SimonSchubert/Kai is open source, released under the Apache-2.0 license.
- What language is Kai written in?
- SimonSchubert/Kai is primarily written in Kotlin.
- How popular is Kai?
- SimonSchubert/Kai has 1.1k stars on GitHub.
- Where can I find Kai?
- SimonSchubert/Kai is on GitHub at https://github.com/SimonSchubert/Kai.