Skip to content

adrielGGmotion/Kai

 
 

Repository files navigation

Beer

Android Platform JVM



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

Direct Downloads

Platform Format Download
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

Beer'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.

Survival Game Recipe Card EcoPulse Brainstorm Memories

Features

  • Persistent memory — Beer 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 — 24 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, Beer 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 Beer 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.

Linux Sandbox

Screenshots

Desktop

Desktop App

Mobile

Mobile Screenshot 1 Mobile Screenshot 2 Mobile Screenshot 3 Mobile Screenshot 4 Mobile Screenshot 5 Mobile Screenshot 6

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

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 · OpenAI-Compatible API · LiteRT On-Device (Android) · Free tier (no API key needed)

MCP Servers

Beer supports the Model Context Protocol for connecting to external tool servers. Go to Settings > Tools > Add MCP Server to connect to any Streamable HTTP MCP endpoint, or pick from a curated list of popular free servers:

Server Description
Fetch Fetch web content and convert HTML to markdown
DeepWiki AI-powered docs for any GitHub repo
Sequential Thinking Structured step-by-step problem-solving
Context7 Up-to-date library and framework docs
Globalping Ping, traceroute, DNS from global probes
CoinGecko Real-time crypto prices and market data
Manifold Markets Prediction market data and odds
Find-A-Domain Domain availability across 1,444+ TLDs

All popular servers are free and require no API key. MCP servers auto-reconnect on app startup.

Integrations

Splinterlands Auto-Battle (Android & Desktop)

Beer can automatically play Splinterlands Wild Ranked battles. Configure one or more LLM services in priority order, add your Hive account, and hit Start — Beer will continuously find matches, pick teams using LLM-powered strategy, and submit them on-chain. Falls back to a simple greedy picker if all LLM services fail. Available in Settings > Integrations.

Supported Languages

Afrikaans, Albanian, Amharic, Arabic, Belarusian, Bengali, Bulgarian, Chinese (Simplified), Chinese (Traditional), Croatian, Czech, Danish, Dutch, English, Estonian, Filipino, Finnish, French, German, Greek, Gujarati, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Kazakh, Korean, Latvian, Lithuanian, Malay, Marathi, Norwegian, Persian, Polish, Portuguese, Punjabi, Romanian, Romansh, Russian, Serbian, Slovak, Slovenian, Spanish, Swahili, Swedish, Tamil, Telugu, Thai, Turkish, Ukrainian, Urdu, Vietnamese, Zulu

Contributing

Screenshot Automation

Two separate screenshot pipelines exist, both using Compose screenshot tests:

README screenshots — Used for this README. CI runs this automatically on every push and auto-commits any changes.

./gradlew :screenshotTests:updateScreenshots

Store screenshots — Generates localized screenshots for the Play Store in all supported locales.

./gradlew :screenshotTests:generateStoreScreenshots

Beer UI component screenshots — Records golden images for BeerUiScreenshotTest only. Faster than recording the full suite when iterating on Beer UI components.

./gradlew :screenshotTests:recordBeerUiScreenshots

Sponsors

This project is open-source and maintained by a single developer. If you find this app useful, please consider sponsoring to help take it to the next level with more features and faster updates.

Credits

About

OpenClaw alternative in your pocket

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Kotlin 99.3%
  • Other 0.7%