Featured Series • 6 Parts Complete

Beyond the Model: Building a Private AI Playground

Series Overview

An in-depth 6-part engineering series exploring what it really takes to build an offline-first, on-device multimodal AI workstation for Android and iOS using Kotlin Multiplatform, C++20 / NDK, llama.cpp, and Google LiteRT.

All Published Articles

Why running language models locally matters for privacy, exploring llama.cpp and ARM NEON acceleration, and the realities of moving beyond toy chat boxes.

AndroidiOSKotlin MultiplatformOn-Device AIllama.cpp

How a simple 'attach file' button turned into an offline ingestion pipeline for 25+ formats using pure RFC 1951 Deflate and memory-mapped chunks.

AndroidiOSKotlin MultiplatformRAGOn-Device AI

Handling the hardest bugs: Android Low Memory Killer (LMK) evictions, GPU driver crashes on Vulkan, thermal throttling, and native lifecycle management.

AndroidPerformanceVulkanNDKMemory

Integrating on-device diffusion models with Google LiteRT and Bonsai Image Ternary 4B, managing dynamic feature delivery, and preventing mobile GPU overheating.

AndroidiOSDiffusion ModelsLiteRTOn-Device AI

Engineering dual-model speculative drafting for 2x decoding speed, isolating GPU driver segmentation faults in a native fork() sandbox, and streaming fault tolerance.

AndroidiOSSpeculative DecodingVulkanNDKPerformance