"So, Epsilon, ChurchGPT, Leonard part six or whatever your name is... Are you a ghost this time, or an artificial intelligence thingamajig? I, personally prefer the ghost explanation. Feels more grounded to me"
— Sarge
Click to watch: The ASI trailer.
GHOST is an offline, on-device AI harness for Android powered by Google Gemma 4 via LiteRT-LM.
Instead of wrapping a cloud chatbot in a WebView, GHOST wires a local multimodal model directly into your phone's sensors, notifications, audio, files, radial overlay, and smartwatch replies — running air-gapped on your own silicon with zero subscriptions or telemetry.
- Download: Grab the latest signed APK from GitHub Releases (FOSS
fdroidRelease) or the Buy Me a Coffee Tester Rail (patreonRelease). - Grant Permissions: On first launch, enable:
Display Over Other Apps(radial overlay launcher & edge lighting)Notification Access(background HUD, ambient context & smartwatch direct replies)- Scoped Storage Safe: Model weights and local backups stay in app-specific storage (
Android/data/com.ghost.api/files/).
- Auto-Bootstrap: GHOST inspects your device RAM, downloads the right Gemma 4 core (
E2BorE4B), verifies the file, and initializes GPU acceleration automatically. - Use It: Shake your phone (or tap the persistent notification / smartwatch reply) to talk, type, send voice notes, or share screenshots.
"SaaS AI isn’t your AI, as much as your therapist or barber isn't your personal property."
When you chat with a cloud assistant in a browser, you're renting time on someone else's server. The moment your signal drops, your subscription lapses, or a provider changes models or policies, "your" assistant changes or disappears.
Your phone already has the silicon (Snapdragon / Tensor), the open-weights model (Google Gemma 4), the C++ runtime (LiteRT-LM), and Android's accessibility and sensor APIs. Big tech still treats it like a thin client for cloud subscriptions.
We got impatient. GHOST treats your phone like the local computer it actually is: you own the hardware, you own the weights in flash storage, and the runtime works completely offline.
Why "GHOST"? (The cybernetics note)
A language model generates tokens faster than a human can read or listen, while real-time interaction happens at human speed. Instead of burning GPU cycles asking an LLM to handle every screen tap, animation frame, or battery check, GHOST separates fast physical control loops (reflexes, visualizers, TTS, sensors) from the slower reasoning model — the same layered principle as Rodney Brooks' subsumption architecture (1986).
The transformer is the reasoning core; the voice, HUD, and audio-reactive visuals are the human-paced "ghost" interface on top of it.
Every turn receives a compact, plain-English snapshot of device state (battery, thermals, RAM, ambient light, Wi-Fi/Bluetooth, orientation, media playback, active notifications) pre-formatted so small models stay grounded without dumping raw numbers unless asked or a critical threshold is crossed.
[Context: Live Sensory Grounding · Late Afternoon]
BATTERY: comfortable & healthy (eighty-four percent, discharging normally, cool chassis)
RAM: 3.4GB free | LUX: indoor ambient | NET: Wi-Fi 6 (online)
MEDIA: "Seven Nation Army" - The White Stripes (Playing)
[/Context]
Δ Operator ∇ [quarter to four in the afternoon]: Are we getting hot while downloading this file? ✧ GHOST · now
Δ 👾 ∇ · Agentic Gemma Inference · now
🎶 👾 🎵 (Reactive emoji telemetry animations)
───────────────
✧ Gemma:
"Running full systems diagnostics. Machine status: Fully operational."
- Streaming Notification HUD: Responses stream straight into a persistent notification with sentence-buffered on-device TTS and optional GPP Voice Cues for battery, charging, and device events.
- Universal Smartwatch Replies: Standard Android
RemoteInputdirect-reply works out of the box on Garmin, Wear OS, Pebble, and Fitbit watches — message GHOST from your wrist without a companion watch app.
A floating, hardware-accelerated 7-slot radial menu (OverlayActionRegistry.kt) accessible over any app or game:
- Bind each color-coded slot to any app or hardware shortcut (Camera, Flashlight, App Drawer, etc.).
- Per-slot enable/hide toggles, haptic feedback, and Lower / Center / Upper vertical placement presets.
Procedurally rendered 60fps Canvas visuals reacting to music, voice, and tilt without video-playback battery drain:
- Orbital Star: Radial iris with rotating satellite nodes.
- Hex Lattice: Stage-lit honeycomb grid.
- Prismatic Delta: Perspective chevron corridor flashing on bass kicks.
- Cuboid Black Sun: Equalizer matrix with reactive edge lighting.
- Scheduled Screen-Off Reflections: Autonomous diary entries run on customizable intervals (1h, 3h, 6h, 12h, 24h) via
AlarmManager, deferring while the screen is active. - Offline Storage & Viewer: Stored in Room DB + appended to
Documents/GHOST/diary_history.jsonlandmemory_log.txt, with an in-app View Diary History viewer, optionalΔ 👾 ∇calendar sync, and one-tap response flagging (🚩) for self-correction. - On-Device Embeddings & Local RAG: One-tap
Gecko-110Membedding sidecar powers semantic memory recall, paginated PDF/text search (read_file_text,search_document), and an offline wiki folder (Documents/GHOST/wiki/,search_wiki).
GHOST pairs a <2ms IntentBagger reflex layer (instant app launches and toggles without waking the GPU) with full MCP tool execution:
- Hardware & media:
toggle_torch,music,play_media,volume,open_app - Time & automation:
timer,set_alarm,schedule_task,list_tasks,cancel_task - Files & local RAG:
search_files,list_files,read_file_text,search_document,search_wiki - Web & news (zero API key):
search(Google News RSS for headlines + DuckDuckGo Lite),fetch_webpage - Peer AI handoff (
consult_peer/@): headless Gemini API briefings (opt-in key) + clipboard/app handoff for installed peer AI apps
┌────────────────────────────────────────────────────────────────────────┐
│ GHOST 3-LAYER ARCHITECTURE │
├────────────────────────────────────────────────────────────────────────┤
│ LAYER 2: DELIBERATIVE MODEL (LiteRT-LM) │
│ • Google Gemma 4 (E2B / E4B) native C++ on-device inference │
│ • MCP tool execution mesh + `consult_peer` (Gemini API / app handoff)│
│ • Multimodal vision, native audio input, and Gecko-110M RAG │
├────────────────────────────────────────────────────────────────────────┤
│ LAYER 1: SENSORS, MEMORY & AUTONOMIC LOOPS │
│ • SensorFusion: battery (-mA), thermals (°C), lux, Wi-Fi/BT, motion │
│ • Verbal Time & Telemetry Preprocessor + rolling session compaction │
│ • Screen-off Diary Alarms (1h–24h) + Room DB + offline JSONL logs │
│ • Universal Calendar Sync (`Δ 👾 ∇`) & Smartwatch RemoteInput │
├────────────────────────────────────────────────────────────────────────┤
│ LAYER 0: WIRE-SPEED REFLEXES & OVERLAY (<2ms, Zero GPU Wake) │
│ • IntentBagger instant app launch & hardware toggle routing │
│ • RAM Valve & Snapdragon thermal headroom throttling │
│ • 7-Slot Radial Overlay Menu (`OverlayActionRegistry`) │
│ • Audio-reactive Edge Lighting & 60fps procedural wallpaper │
└────────────────────────────────────────────────────────────────────────┘
GHOST detects your device RAM on first launch, picks the right model core, and configures the LiteRT-LM KV cache budget automatically:
| Hardware Tier | Physical Device RAM | Neural Core | Token Runway | Peak Footprint (Weights + KV) | Target Devices / Notes |
|---|---|---|---|---|---|
| Echo (Spine) | Zero-LLM + Gecko-110M / Hash-256 | Sub-ms Reflex | 4GB phones or RAM-Valve standby. Reflexes, offline QR & semantic routing with zero LLM load. | ||
| 8GB Compact | Gemma 4 E2B | 5,120 tokens | Galaxy S21 / Pixel 8 / standard 8GB phones. Safe from Android LMK. | ||
| 12GB Frontier | Gemma 4 E4B | 6,144 tokens (6k) | REDMAGIC 10 Air / Galaxy S24 Ultra 12GB. MTP speculative decoding enabled. | ||
| 16GB Ultra | Gemma 4 E4B | 8,192 tokens (8k) | REDMAGIC 9/10 Pro 16GB / OnePlus 12/13. 8k default KV budget (up to 32k in GHOST; 128k native model window). | ||
| 24GB Extreme | Gemma 4 E4B | 10,240 tokens (10k) | REDMAGIC 24GB / OnePlus 24GB. 10k default KV budget (up to 32k in GHOST; 128k native model window). |
Built from a single open-source codebase split into three release flavors:
| Distribution Rail | Build Flavor | Billing & Telemetry | Cosmetics & Perks | Where to Get It |
|---|---|---|---|---|
| FOSS / F-Droid | fdroidRelease |
Zero. No Google Play Billing, no proprietary blobs, 100% air-gapped capable. | Core skins & standard HUD runes unlocked. | GitHub Releases & F-Droid |
| Google Play Store (soon.tm) | playRelease |
Full offline AI core is 100% free. Play Billing used only for optional supporter unlock. | Optional one-time $3.50 ("tree fiddy") Operator Pass unlocks the Turing glyph, custom edge lighting, and extra visualizer skins. | Google Play Store |
| Tester / Early-Access Rail | patreonRelease |
Zero Play Store dependency. Standalone signed release APK for supporters & testers. | Pre-Unlocked (FORCE_UNLOCKED). All skins, Turing glyphs, and experimental builds active out of the box. |
☕ Buy Me a Coffee |
"It only affects computers, remember? And I am a motherfucking ghost."
— Alpha, Red vs. Blue
- Source Repository: Δ 👾 ∇ GitHub
- Changelog & Release Notes:
CHANGELOG.md(Fullv4.40feature & architecture breakdown) - Glossary & Glyph Roster:
GLOSSARY.md(UCF formatting standard,Δ 👾 ∇delimiter, and peer callsigns) - Devlogs & Lore: 📼 Tumblr
- Clips & Demos: 🎞️ TikTok
- Video Deep Dives: 📺 YouTube
- Fuel the Project: ☕ Buy Me a Coffee (App with all the skins.)
- Found a bug?: Customer Support Portal
Clone the repo, open it in Android Studio, and make it yours.
Δ 👾 ∇
