pdf2okf·

Wiki

A sovereign alternative to GPT4All for documents

GPT4All is already local, so what's left to compare?

If you've used GPT4All, you already know the appeal. Download one app, pick a model, and you're chatting with an open LLM on your own laptop in minutes: no API key, no account, no cloud. Nomic AI built it to run quantized open-weight models on Windows, macOS, and Linux, on plain CPUs or with GPU acceleration, and the promise on the box is exactly what it delivers: "no data leaves your machine."

It also ships LocalDocs, a built-in way to chat with your own files. Point it at a folder, and GPT4All uses Nomic's on-device embedding models to index the contents into snippets, each stored with an embedding vector. When you ask a question, it finds the snippets that are semantically closest to your query and slips them into the prompt, with a Sources panel showing which files it drew from. It's a clean, genuinely private implementation of RAG, and for a lot of people it's all they need.

So this isn't a "cloud vs. local" comparison. GPT4All is already local, and that's a good thing. The real question is narrower: once your documents matter enough to query seriously, does an embedding index serve you, or get in your way?

Where the LocalDocs approach starts to cost you

LocalDocs is built on a vector database. That choice is invisible when it works, and it has three consequences worth knowing before you lean on it.

The index has to be maintained. Embeddings are a snapshot. Add a file, edit a contract, drop in this quarter's report, and that content isn't searchable until it's been embedded. Change your chunking or embedding settings and GPT4All asks you to rebuild the collection, re-embedding everything. For a stable folder that's fine; for documents that change, you're quietly maintaining an index in the background.

The index is tied to the install. A LocalDocs collection lives inside your GPT4All installation, bound to the embedding model and settings you built it with. There's no clean artifact to hand a colleague, drop in a git repo, or move to another machine and trust to behave identically. The work you put into indexing stays on the one computer that did it.

Retrieval is fuzzy by design. Semantic search returns the top-k snippets that resemble your question. That's powerful for "what does this say about X," but it's the wrong tool for exactness. Ask "how many invoices are over €10,000" and an embedding search hands the model a handful of similar-looking passages, not a count. The model then estimates from whatever made the cut. For an honest look at why this happens to every embedding pipeline, see RAG without a vector database.

pdf2okf takes a different route

pdf2okf isn't trying to be a better desktop chat app. It's trying to produce a better document artifact. Instead of embedding your files into a vector store, it converts them into an OKF-compatible knowledge bundle: structured Markdown, organized so an agent can read and search it directly. (OKF is Google's Open Knowledge Format, published in June 2026; pdf2okf is compatible with it, not its author.)

That single design choice changes the same three points:

No vector database, no embedding index to maintain. An agent greps the Markdown directly. There's no snapshot to go stale and nothing to re-embed when a file changes. You rebuild the bundle and the new content is simply there.

The bundle is portable. An OKFZ workspace is a file you own. Build it once, then version it in git, move it between machines, or share it with a teammate. The same bundle is read identically wherever it lands, because the knowledge isn't trapped inside one app's index.

Answers can be exact and cited. Because the content is structured text rather than fuzzy vectors, an agent can count what's actually there, and report exact numbers an auditor can trace back to the source, instead of inferring from top-k snippets. pdf2okf also extracts both the prose and the figures from tables, not just paragraphs. And like GPT4All it runs on-device, or against your own key if you'd rather use BYOK with a hosted model.

It pairs naturally with the same local stacks: see the best open model for documents and, on Apple Silicon, local AI on Mac with MLX.

When to pick which

This isn't a case where one tool wins everything.

Pick GPT4All when you want the fastest path to running a local model and casually chatting with a folder of files. It's a polished, friendly desktop app; LocalDocs is genuinely private; and if you don't need to share, version, or audit the results, there's little reason to add steps. As a way to get an open model talking to your documents on one machine, it's hard to beat.

Pick pdf2okf when the document bundle itself is the deliverable: when you need answers that are exact and cited, a workspace you can move and share, and content an agent can read from wherever it lives rather than from inside one desktop app. If you're equipping a team or a regulated workflow rather than chatting solo, that portability and auditability is the whole point.

You can even use both: GPT4All to run the model, pdf2okf to prepare the documents it reads.

pdf2okf is in private build, so join the waitlist for early access to the CLI and the OKFZ bundle format.

Sources

pdf2okf.com

Be there when it opens.

pdf2okf is in private build, self-hosted, sovereign. Leave an email and you'll be first in.