My on-device RAG app for iOS and macOS, built completely around Apple Intelligence/Foundation Models frameworks. It answers questions from your own files, cites the exact page every claim came from, and tells you when your files don't say it.
Answers on your device, or, on iOS and macOS 27, on Apple Private Cloud Compute after you approve what is sent.
Why: I wanted private document search that did more than produce a confident paragraph. I wanted to ask a question, inspect the evidence behind the answer, and know whether it ran on my device or used an Apple-managed route. That became OpenIntelligence: a native document workspace built around retrieval, citations, verification, and explicit execution policy.
Private Cloud Compute routing: Version 5.8 decides where final synthesis runs only after retrieval, when the evidence and real context size are known. On iOS and macOS 27 a long evidence-heavy request uses Private Cloud Compute only after you have seen how much would be sent and why, and given permission; on older systems every route resolves on-device. Retrieval and verification stay local, and every answer carries a route badge.
Local retrieval & verification: Parsing, Vision OCR, indexing, SQLite FTS5 and vector search, reranking, evidence packing, citation checks, and abstention all run on-device. The app still works in airplane mode through its on-device answer path and does not require an account or API key.
More than PDFs: The ingestion pipeline handles Office documents, spreadsheets, presentations, notes, scans, code, images, audio, and video, then keeps those different sources searchable inside the same private library.
Citations that land on the exact words: Tap a citation and the document opens at the passage with the words highlighted, in every kind of file, with a line saying whether they were found word for word, in part, or not at all. Fact Check lists each claim in an answer against its source, and a number only counts where the passage gives it to the thing the answer says it belongs to. It shows the words are in your document. Whether the answer read them correctly is still yours to check.
Search models I can ship: Search runs on two IBM Granite models, an embedding model and a reranker, both on the device through Core ML. They replaced the models I started with, whose training data was licensed for research only. Apple’s models still do all the writing.
A Mac app that works like one: On the Mac the window has a sidebar for Chat, Documents, Atlas, Database, my libraries and my conversations. Settings is its own window, Documents is a sortable table, and a menu bar item asks any library without opening the app.
Building in the Open: Since releasing it, I’ve opened up the project to the public. To manage the workflow, I set up a single-source-of-truth Notion roadmap and built custom agentic skills, meaning AI assistants can now log bugs and add features to the roadmap directly from the terminal as I build.
What I learned: The model call is the easy part. The real work is getting the right evidence, preserving source structure, handling ugly files, refusing unsupported answers, and making the whole route visible enough that a user can verify what happened.