惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
SegmentFault 最新的问题
N
Netflix TechBlog - Medium
Vercel News
Vercel News
F
Fortinet All Blogs
量子位
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
MongoDB | Blog
MongoDB | Blog
Y
Y Combinator Blog
GbyAI
GbyAI
博客园 - 三生石上(FineUI控件)
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
月光博客
月光博客
Recent Announcements
Recent Announcements
人人都是产品经理
人人都是产品经理
Hugging Face - Blog
Hugging Face - Blog
D
DataBreaches.Net
H
Help Net Security
阮一峰的网络日志
阮一峰的网络日志
D
Docker
WordPress大学
WordPress大学

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - ajay-sainy/GemOfGemma: On-device AI assistant po...
qarue · 2026-05-06 · via Hacker News - Newest: "AI"

Gem of Gemma 💎

On-Device AI Assistant for Android — Powered by Gemma 4

Android Kotlin License LiteRT-LM

An open-source Android app showcasing on-device AI inference with Gemma 4 and LiteRT-LM. Chat, understand images, and control your phone — all running locally with zero internet after the initial model download. Entirely vibe coded with GitHub Copilot.

No cloud APIs. No subscriptions. No data leaving your device. This is private, portable AI running on your phone's hardware.

Keywords: Gemma 4, on-device LLM, Android AI, LiteRT-LM, offline AI assistant, on-device inference, Jetpack Compose, function calling, multimodal AI, object detection, OCR, image captioning, visual question answering, speech to text, phone automation, Material 3, Kotlin, open source

📸 Screenshots

Gem of Gemma chat home screen with suggestion chips Gemma 4 native function calling - set alarm tool Gemma 4 thinking mode with chain of thought reasoning

On-device OCR and image understanding with Gemma 4 22 toggleable phone automation tools

What It Can Do

  • Chat — Natural conversation with real-time token streaming and visible thinking/reasoning, powered by Gemma 4 E2B running entirely on-device
  • See — Multimodal image understanding from camera or gallery: describe scenes, detect objects with bounding boxes, read text (OCR), answer visual questions
  • Control your phone — 22 toggleable tools via LiteRT-LM's native ToolSet API: send SMS, make calls, set alarms, toggle flashlight, adjust volume/brightness, navigate, control media, and more
  • Voice input — On-device speech recognition for hands-free interaction
  • Persistent conversations — Chat history saved locally, multiple conversations supported

Getting Started

git clone https://github.com/ajay-sainy/GemOfGemma.git
cd GemOfGemma
./gradlew installDebug

Requirements: Android Studio, JDK 17+, Android device with 4GB+ RAM, ~3GB storage.

On first launch, the app downloads Gemma 4 E2B from HuggingFace (~2.5 GB, one-time). After that, it runs fully offline — no internet needed.

How It Works

The app uses LiteRT-LM to run Google's Gemma 4 model directly on Android hardware. Key technical highlights:

  • Streaming inference via Conversation.sendMessageAsync() — tokens appear in real-time
  • Native function calling via LiteRT-LM's ToolSet API with @Tool annotations
  • Thinking mode with Channel("thinking") — visible chain-of-thought reasoning
  • Format-based response parsing — model outputs ```json with box_2d for object detection (following Google's official approach)
  • Multi-module architecture:app, :ui, :ai, :core, :actions, :camera, :voice, :accessibility

Model License

The Gemma model is subject to the Gemma Terms of Use. This project's source code is Apache 2.0.

Contributing

Contributions welcome — open an issue first to discuss, then submit a PR.

Acknowledgments

Google DeepMind (Gemma) · Google AI Edge (LiteRT-LM) · Jetpack Compose