OGAM

OGAM

MCP.Pizza Chef: off-grid-ai

This app turns your phone or Mac into a self-contained AI assistant that works with no internet connection. You can chat with a local language model, point your camera at something and ask questions about it, transcribe voice notes, and generate images, all processed on your own device. It can also connect to local-network AI servers like Ollama and LM Studio, and use built-in tools such as web search or a personal knowledge base made from your own documents. No account, sign-in, or key of any kind is required, and nothing leaves your device unless you connect it to an outside server yourself.

Files/PDF
Images/Design
Writing

Use This MCP server To

Chat with an AI without needing an internet connection Point my camera at something and ask questions about it Transcribe my voice notes into text, fully offline Generate original images from a simple text description Search my own PDFs and documents for quick answers Connect to AI models running on my home network Analyze a document or code file I attach to the chat

README

Off Grid AI Logo

Off Grid AI

The Swiss Army Knife of On-Device AI

Chat. Generate images. Use tools. See. Listen. All on your phone or Mac. All offline. Zero data leaves your device.

GitHub stars License: MIT Google Play App Store Platform codecov Slack Pro


BUILT BY

Wednesday Solutions



Off Grid AI Pro

A voice, personas, and actions. $69 for life, or $49/year.


Pro is an optional, additive tier. It gives the assistant a voice that talks back, personas you shape, and the tools to draft real actions you approve. One license covers your phone and your Mac. All on-device.

What Pro adds

  • Voice mode - the free app transcribes your speech; Pro adds on-device Kokoro text-to-speech, so it talks back and you run the whole thing hands-free. The voice runs in your phone's RAM.
  • Custom personas - give each assistant its own system prompt, voice, and persistent memory, so it stays in character across conversations.
  • Draft, then approve - connect Calendar, email, and MCP servers like Linear, Notion, and GitHub. It drafts the reply or files the ticket and waits. Nothing sends without your tap.
  • Sync, landing through July - your phone and your Mac merge into one picture over your own network, never a relay. Your license includes it the day it ships.

→ Get Pro access - $69 once and it is yours forever (the price climbs as more people join, never down), or $49/year.

Pair it with Off Grid AI Desktop on your Mac. One Pro license covers both.


Not just another chat app

Most "local LLM" apps give you a text chatbot and call it a day. Off Grid AI is a complete offline AI suite — text generation, image generation, vision AI, voice transcription, tool calling, and document analysis, all running natively on your phone's or Mac's hardware.


What can it do?


Onboarding

Text Generation

Image Generation

Vision AI

Attachments

Tool Calling

Text Generation — Run Qwen 3, Llama 3.2, Gemma 3, Phi-4, and any GGUF model. Streaming responses, thinking mode, markdown rendering, 15-30 tok/s on flagship devices. Bring your own .gguf files too.

GPU & NPU Acceleration — Your phone has silicon sitting idle. Off Grid uses it. Adreno GPUs via OpenCL run 20-40 tok/s on a Snapdragon 8 Gen 2+, against 15-30 on CPU; Apple Silicon uses Metal. The app detects what your device has and defaults to the fastest backend that works, and you can override it in Settings. The Hexagon NPU (Snapdragon) is there too, marked experimental because it is — it only accelerates Q4_0 and Q8_0 quants, a K-quant silently falls back to CPU, and some model architectures come out garbled on it. Models that can actually use the GPU or NPU are badged in the model list, so you pick the right quant before you download 4GB.

Remote LLM Servers — Connect to any OpenAI-compatible server on your local network (Ollama, LM Studio, LocalAI). Discover models automatically, stream responses via SSE, store API keys securely in the system keychain. Switch seamlessly between local and remote models.

Tool Calling — Models that support function calling can use built-in tools: web search, calculator, date/time, device info, and knowledge base search. Automatic tool loop with runaway prevention. Clickable links in search results.

Project Knowledge Base — Upload PDFs and text documents to a project's knowledge base. Documents are chunked, embedded on-device with a bundled MiniLM model, and retrieved via cosine similarity — all stored locally in SQLite. The search_knowledge_base tool is automatically available in project conversations.

Image Generation — On-device Stable Diffusion with real-time preview. NPU-accelerated on Snapdragon (5-10s per image), Core ML on iOS. 20+ models including Absolute Reality, DreamShaper, Anything V5.

Vision AI — Point your camera at anything and ask questions. SmolVLM, Qwen3-VL, Gemma 3n — analyze documents, describe scenes, read receipts. ~7s on flagship devices.

Voice Input — On-device Whisper speech-to-text. Hold to record, auto-transcribe. No audio ever leaves your phone.

Document Analysis — Attach PDFs, code files, CSVs, and more to your conversations. Native PDF text extraction on both platforms.

AI Prompt Enhancement — Simple prompt in, detailed Stable Diffusion prompt out. Your text model automatically enhances image generation prompts.

Memory You Can See and Control — A phone has finite RAM, and a 4GB model does not politely share it. The model manager shows you what is resident right now and what each one is costing you in RAM, with a per-model eject. Model Loading picks the policy: Lean keeps one model in memory at a time, Balanced co-resides models that fit and swaps the ones that don't, Aggressive commits a larger share of RAM so bigger models load. If a load is refused, Load Anyway overrides it — your device, your call. When a model gets evicted mid-conversation, the chat says so and offers to bring it back rather than silently failing.

Download Manager — Three downloads run at once, the rest FIFO-queue and show as Queued instead of quietly stalling. Pause, resume, retry, cancel. Downloads survive backgrounding the app.


Performance

Task Flagship Mid-range
Text generation (CPU) 15-30 tok/s 5-15 tok/s
Text generation (GPU / OpenCL) 20-40 tok/s
Image gen (NPU) 5-10s
Image gen (CPU) ~15s ~30s
Vision inference ~7s ~15s
Voice transcription Real-time Real-time

Tested on Snapdragon 8 Gen 2/3, Apple A17 Pro. Results vary by model size and quantization.


Install

Download on the App Store Get it on Google Play

Or grab the latest APK from GitHub Releases.

macOS: The iOS App Store version runs natively on Apple Silicon Macs via Mac Catalyst / iPad compatibility.

Build from source

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

Requires Node.js 20+, JDK 17 / Android SDK 36 (Android), Xcode 15+ (iOS). See full build guide.


Testing

CI codecov

Tests run across three platforms on every PR:

Platform Framework What's covered
React Native Jest + RNTL Stores, services, components, screens, contracts
Android JUnit LocalDream, DownloadManager, BroadcastReceiver
iOS XCTest PDFExtractor, CoreMLDiffusion, DownloadManager
E2E Maestro Critical path flows (launch, chat, models, downloads)
npm test              # Run all tests (Jest + Android + iOS)
npm run test:e2e      # Run Maestro E2E flows (requires running app)

This project is tested with BrowserStack.


Documentation

Document Description
Architecture & Technical Reference System architecture, design patterns, native modules, performance tuning
Codebase Guide Comprehensive code walkthrough
Design System Brutalist design philosophy, theme system, tokens
Visual Hierarchy Standard Visual hierarchy and layout standards

Community

Join the conversation on Slack — ask questions, share feedback, and connect with other Off Grid AI users and contributors.


Contributing

Contributions welcome! Fork, branch, PR. See development guidelines for code style and the codebase guide for patterns.


Acknowledgments

Built on the shoulders of giants: llama.cpp | whisper.cpp | llama.rn | whisper.rn | local-dream | ml-stable-diffusion | MNN | Hugging Face


Star History

Star History Chart

Off Grid AI — Your AI, your device, your data.

No cloud. No data harvesting. Just AI that works anywhere.

Join the Community on Slack

OGAM FAQ

Do I need an account or a key to use this?
No. Everything runs directly on your phone or Mac, so there is no sign-up, login, or key to set up. Connecting it to your own local server is entirely optional.
Which devices does this work on?
It is built for Android and iOS phones as well as Mac computers, and it automatically uses your device's chip, including the graphics processor or neural chip in newer phones, to run faster.
Can I use this to have a private conversation with an AI while offline, like on a plane or somewhere with no signal?
Yes — the whole conversation runs on your device using a downloaded model, so it works with no internet connection and nothing you type is sent anywhere.
Can I use this to ask questions about a photo or a document?
Yes — you can point your camera at something and ask what it is, or attach a PDF, image, or code file and ask questions about what's inside it.
Is this hard to set up?
You install the app from the App Store or Google Play, or download it for Mac, then pick and download a model inside the app. No coding is needed, though choosing a model that fits your device's memory can take a little trial and error.
Does my voice or my data ever get sent to a company's servers?
No. Voice transcription, image generation, and chat all happen locally on your device by default. Data only leaves your device if you deliberately connect it to your own local-network server or an outside service.
Can it create images, not just text?
Yes — it includes on-device image generation with a choice of more than twenty art styles, and it can automatically turn a simple description into a more detailed prompt before making the image.
Does it work with other AI tools I already have running on my computer?
Yes — it can connect over your home network to other AI programs you already run, such as Ollama or LM Studio, and switch between those and its own built-in models.