← Back to Leaderboard
Ooff-grid-ai

off-grid-ai/OGAM

React Native AI chat with on-device GGUF inference and optional LAN offload

Engineering Health (Methodology)
A+ · 94/100
Maintenance Activity
● Updated today
Latest Release
v0.0.129
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption19/25
Release Cadence20/20
License Clarity20/20
Local AISelf-HostedGPU
Total Stars
★ 3,746
24h Growth
+3
7d Growth
+101
Forks
379

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

off-grid-ai/OGAM Star History (2026-02-05 - 2026-12-04) ALL-TIME STAR HISTORY (2026-02 – 2026-12) +3.7k in 302d · avg +12/day 4k 2k 0 2026-02-05: ★ 12026-02-28: ★ 6832026-03-21: ★ 1,0542026-04-11: ★ 1,4302026-05-02: ★ 1,8772026-05-23: ★ 2,1452026-06-13: ★ 2,3992026-07-04: ★ 2,6092026-07-25: ★ 2,7632026-08-15: ★ 2,8912026-09-05: ★ 3,0222026-09-26: ★ 3,1452026-10-17: ★ 3,2292026-11-05: ★ 3,3302026-12-04: ★ 3,746 ★ 3.7k 2026-02 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

OGAM is a TypeScript/React Native end-user app with React entrypoints in index.js and App.tsx and separate android/, ios/, and native/ trees. The on-device path runs GGUF models through a llama.cpp-based stack, with CPU execution and hardware backends selected for the device. Project retrieval is a separate local pipeline: documents are chunked, embedded with bundled MiniLM, stored in SQLite, and ranked by cosine similarity. The manifest includes @offgrid/rag and @op-engineering/op-sqlite.

The remote path makes OGAM a client of an OpenAI-compatible server rather than a server deployment of its own. It supports model discovery, SSE response streaming, and system-keychain storage for API keys. Tool calling depends on model support: built-ins run in a loop with runaway prevention, while MCP is an integration protocol for connected services, reflected in the @modelcontextprotocol/sdk dependency. Remote inference and external tool calls are distinct from the local inference path and have different data boundaries.

Key Capabilities & Differentiators

The chat path supports streaming text, thinking mode, Markdown rendering, and imported GGUF weights, with Qwen 3, Llama 3.2, Gemma 3, and Phi-4 among the listed families. Beyond chat, OGAM supports vision, Whisper transcription, and on-device Stable Diffusion with live previews. Diffusion uses Core ML on iOS and can use Snapdragon NPU acceleration. Project conversations automatically expose search_knowledge_base to function-calling models, so document retrieval can be invoked from the conversation.

Performance examples from Snapdragon 8 Gen 2/3 and Apple A17 Pro testing list flagship CPU text generation at 15–30 tokens/s and mid-range CPU generation at 5–15 tokens/s. The flagship Adreno OpenCL example is 20–40 tokens/s, and Snapdragon NPU image generation is listed at 5–10 seconds. These are reference figures, not guarantees for arbitrary weights or workloads. Model size and quantization affect results, and a backend that accelerates text generation does not necessarily accelerate the media pipelines.

Trade-offs & Limitations

Compared with ChatGPT, OGAM lets users choose between keeping inference on the device and sending it to a server they operate. That control is useful offline and for sensitive material, but the operator takes on model selection, weight storage, compatibility testing, and device sizing. Compared with Ollama or LM Studio, OGAM is primarily a mobile interface and local runtime, not a replacement for the model server when inference is offloaded. Web search, remote inference, and connected services should not be treated as part of an offline-only workflow; analytics and crash reporting are opt-in.

Backend support matters as much as nominal device capacity. Experimental Hexagon acceleration is limited to Q4_0 and Q8_0; K-quants silently fall back to CPU on that backend, and some architectures can produce garbled output. Verify both output quality and throughput on the exact device and quantization you intend to use. The code is MIT-licensed, but check weight licenses independently and account for the optional Pro tier if you need spoken replies, custom personas, approval-gated actions, or Personal Mesh sync.

Hardware & Deployment Guide

Android users can install the release APK; Apple Silicon Mac users can run the distributed iOS app through the Catalyst/iPad compatibility route. Source builds require Node.js 20+, with JDK 17 and Android SDK 36 on Android and CocoaPods setup on iOS. The general iOS build guidance lists Xcode 15+, but v0.0.128-beta.1 moves iOS builds to Xcode 26 because its Background Assets downloader extension requires the iOS 26 SDK. Match the toolchain to the tag you build.

With model assets on the device, core inference can run without a hosted API. For self-hosted inference, run Ollama, LM Studio, LocalAI, or another compatible server separately on the LAN; OGAM connects as a client. Stable v0.0.127 adds checks around image and video generation, including blurred video previews pending review. The subsequent v0.0.128-beta.2 improves the remote model picker by indicating image, tool, and thinking capabilities.

Model portability: Import your own .gguf files and switch between device inference and an OpenAI-compatible LAN server.
Acceleration: Use Adreno OpenCL or Apple Metal where supported; experimental Hexagon offload is limited to Q4_0 and Q8_0.
Document retrieval: Chunk PDFs and text files, embed them with bundled MiniLM, and search project-local SQLite data by cosine similarity.
Media pipelines: Combine image-aware chat and Whisper transcription with Stable Diffusion using Core ML on iOS or Snapdragon NPU acceleration.
Tool controls: Function-calling models can invoke built-in tools through a bounded loop; Pro drafts supported external actions for user approval.
Personal sync: Pro Personal Mesh syncs chats, files, and settings over the user’s own network without a relay.
Best For

Mobile and Apple Silicon Mac users who want offline chat, document retrieval, and media tools, with the option to use a model server on their own LAN.

Skip If

You want a managed ChatGPT-style service, a headless inference server, or predictable large-model performance without testing the actual device and quantization.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releases · Newer release v0.0.129 (2026-12-02) shipped after this reviewMethodology

Quick Start & Installation

Local AISelf-HostedGPU
git clone https://github.com/off-grid-ai/OGAM.git
cd OGAM
npm install

# Android
cd android && ./gradlew clean && cd ..
npm run android

# iOS
cd ios && pod install && cd ..
npm run ios

Comparison vs. Top Chat UI & AI Apps Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
OGAM ★3.7k+101TypeScriptMITReact Native AI chat with on-device GGUF inference and optional LAN offload
cherry-studio54.1k+204TypeScriptAGPL-3.0Electron AI workspace for comparing cloud and local models, running agents, and
ODS8k+88PythonApache-2.0A Docker Compose stack for private AI chat and inference on your own hardware
LocalAI50.7k+102GoMITA Go-based, self-hosted chat workspace and API server for local models

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/off-grid-ai/OGAM.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

off-grid-ai/OGAM Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about OGAM

How does OGAM connect to Ollama or LM Studio?

OGAM is the client; Ollama or LM Studio runs the model. Point the app at the server’s OpenAI-compatible endpoint on your LAN. OGAM discovers available models, streams responses via SSE, and can store an API key in the system keychain. Requests in this mode are processed by the server, not by the phone.

How much memory do I need for local inference?

There is no universal RAM or VRAM requirement, and 16 GB is not a guarantee that a given workload will fit. Start with a smaller quantized GGUF and test at your intended context length on the target device. Budget for model weights, context cache, and the app and OS; also test sustained generation for thermal throttling. On Snapdragon, experimental Hexagon acceleration supports Q4_0 and Q8_0, while K-quants fall back to CPU on that backend.

What should a commercial deployment check for licensing and data handling?

The repository is MIT-licensed; preserve its copyright and license notices when redistributing the software. Check model-weight licenses separately, especially before bundling weights for commercial use. Core on-device inference does not require a hosted API, but optional Pro features are commercially licensed. For compliance, assess remote inference and any connected tools separately from the offline path.

When should I choose OGAM over ChatGPT, Ollama, or LM Studio?

Choose OGAM over ChatGPT when offline access and control over model execution matter more than a managed cloud experience. Choose it alongside Ollama or LM Studio when you want a phone-first interface that can switch between native inference and your LAN host. If you only need a model-serving endpoint, OGAM’s end-user interface is not a substitute for that server.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining off-grid-ai/OGAM? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature off-grid-ai/OGAM on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare