Sovereign AI: private AI infrastructure on hardware you rent or own, fully managed.
Oct 16, 2026
Written by: Connor Brown

A private RAG pipeline is the only practical way to get secure retrieval augmented generation on an open weight model, grounding it in sensitive data without breaking the data leg of sovereignty. [1].
Last time I defined sovereign AI as three legs: your data stays in your custody, your models run on iron you control, and your own laws govern the whole stack [1]. Most of that post was about the model and the hardware. The part I want to pull forward is one line from the data leg: derived data counts. Embeddings, indexes, caches, and logs are your data too, and a RAG pipeline produces all four. If any of them leaves the boundary, the deployment isn’t sovereign, no matter where the model runs.
That matters because RAG is now the default way companies connect models to their own documents. In VentureBeat’s Q1 2026 enterprise survey, only 22% of qualified respondents said they had no RAG systems in production, which means roughly four in five already do [2]. When a pattern is that common, its leaks are that common too.
Start with the problem RAG solves. A language model only knows what it learned during training, which stopped on some date before you ever touched it. It has never seen your maintenance manuals, your contracts, or last Tuesday’s incident report. Ask it about them and it will either say it doesn’t know or, worse, make something up.
RAG fixes that the way a good reference librarian would. Instead of teaching the model your documents, you look up the relevant pages first and hand them to the model along with the question. The idea was introduced in a 2020 paper from Facebook AI Research, which showed that a model with a search step in front of it gave more specific and more factual answers than the same model working from memory alone [3].
The word that trips people up is “embedding.” Think of the Dewey Decimal System. Every book in the library gets a number, the number decides its spot on the shelf, and related books end up sitting next to each other. Browse the 629s and you’ll find the automotive repair books without knowing a single title. An embedding is that idea taken to the extreme.
Instead of one number picked from a fixed list of subjects, the model assigns each passage hundreds of coordinates it learned on its own by reading text, so passages sit near each other by meaning, not just by subject. A paragraph about brake pad wear lands near one about rotor replacement, and near “how do I stop the squeal,” even though neither shares its words. Those coordinates are the “vector.” That’s all a vector is: a long list of numbers that records where a passage lives on the meaning map. From here on I’ll call a passage on that map a pin, because that’s what it is: a marker stuck where its meaning lives.
Once every paragraph is pinned, answering a question takes four steps:
No training, no retraining. Change a document and the map updates. That simplicity is why the pattern is everywhere, and it’s why the security of the map matters as much as the security of the documents.
Everywhere a vendor made the default convenient. Count the hops in a typical “private” RAG demo:
Each hop is a copy of your data under someone else’s control, and sometimes under someone else’s jurisdiction. A managed vector database run by a US company in a European region is the same problem I described last time: residency is not sovereignty. The CLOUD Act follows the provider, not the rack [1].
The hop teams wave through is the embedding call, because “it’s just numbers.” It isn’t. In 2023, a team at Cornell showed that their Vec2Text method could take an embedding and reconstruct the original text, recovering 92% of short passages word for word and 89% of full names from embedded clinical notes [4]. Their conclusion was that embeddings deserve the same protection as the raw text. That’s not a leak. That’s a full export.
Three years on, it’s settled enough that I’d call it the standard view:
The short version: the map is the data. Protect it like the data.
Because RAG is the one architecture where your sensitive knowledge stays a file you can govern.
A passage in a retrieval index is still a document. It has an owner, a classification, an access list, and a delete button. You can show a regulator exactly which passages the model saw for a given answer. When a document is retracted or reclassified, you pull it from the index and the model can no longer see it. None of that is true once knowledge has been trained into a model’s weights, which I’ll get to in a minute. The same logic covers the “memory” features everyone is bolting onto assistants. Under the hood, memory is almost always another retrieval index, a running set of notes about the user and past conversations, so it inherits the same controls. It also inherits the same leak if that index lives on someone else’s servers.
Private RAG also lines up with guidance defense teams already follow. The May 22, 2025 AI Data Security information sheet from the NSA’s AI Security Center, CISA, the FBI, and partners in Australia, New Zealand, and the UK tells you to classify data by sensitivity, classify AI outputs at the level of their inputs, encrypt at rest and in transit with AES 256, track provenance, and sanitize storage media before reuse [8]. Every one of those is straightforward when the index sits on your iron.
And it passes the test from last time: run it with the cable unplugged. A private RAG has no reason to call out. Parsing, embedding, search, reranking, and generation all run on hardware you picked. If you’ve worked a defense program, none of this is news. It’s the same rules applied to a newer stack.
Customers ask us this every week, so it’s worth being precise. Fine tuning means taking an existing model and training it further on your own examples so its behavior changes. You are editing the model itself. RAG leaves the model alone and hands it your documents at question time. One teaches the student; the other gives the student a reference binder.
| RAG | Fine tuning | |
|---|---|---|
| What changes | Nothing in the model; you build an index next to it | The model’s weights |
| Where your data lives | In an index you control, still readable as documents | Dissolved into the weights |
| Updating | Add or replace a document, done | Retrain |
| Deleting | Remove the passage from the index | Hard; “unlearning” is an open research problem |
| Best for | Facts, policies, anything that changes or must be cited | Tone, format, domain vocabulary, narrow repeated tasks |
| Cost to start | Low | Moderate to high, plus GPU time |
The deleting row is the one that matters for sovereignty. Research on unlearning shows that a model which appears to have forgotten something can have that behavior come right back after a small amount of additional fine tuning [9]. Suppressed, not erased. If a regulator can ask you to prove a record is gone, weights are a bad place to keep it.
The two aren’t exclusive. The pattern I recommend most often is fine tune for how the model talks, retrieve for what it knows. If you’re only going to do one, do RAG first. It’s cheaper, it’s reversible, and it’s where the sovereignty controls actually attach.
I’m not going to lay out a full build in this post. The tooling moves fast enough that any recipe I wrote today would be stale in three months, and the right stack depends heavily on your environment. But if you’re standing up a RAG with the popular open tools today, here are the traps I see most.
The software phones home by default. Teams miss this one constantly.
VLLM_NO_USAGE_STATS=1 or DO_NOT_TRACK=1.HF_HUB_OFFLINE=1 stops the HTTP calls and HF_HUB_DISABLE_TELEMETRY=1 stops the telemetry. Stage your weights in advance.DISABLE_TELEMETRY=true.telemetry_disabled.Each of those is in the project’s own documentation. None of them send your documents. All of them fail the unplug test until you configure them. Test with the cable actually out.
Oversharing becomes answerable. Every Copilot rollout taught this lesson: the assistant respects your existing permissions, so every file that was overshared before is now an overshared answer. A private RAG inherits your access mess the same way. Clean it before you index it, and filter by the caller’s permissions at question time, not just when you ingest.
Poisoned documents. OWASP’s example is a résumé with white on white text telling the screening system to recommend the candidate [7]. Validate and strip hidden content on the way in.
Deletion that isn’t. Soft deletes leave recoverable pins [6]. Compact your indexes, purge backups, or encrypt per record and destroy the keys.
It’s the opposite. Fine tuning bakes your data into a model you then have to protect, version, and somehow make forget. RAG keeps your data in a store you already govern and lets the model borrow it per request. See the comparison above.
Yes. Inversion attacks recovered 92% of short passages word for word [4], and the newer ones need almost nothing to work [5]. Protect the index like the source text.
Not if sovereignty is the requirement. The documents leave the boundary on the way to the embedding call, before generation ever starts [1]. Run the embedder next to the index.
You need both. The meaning map is great at “things like this” and bad at exact strings: part numbers, clause IDs, error codes. Pair it with plain keyword search so the literal match never gets lost.
No. The model doesn’t need updating to learn new facts; the index does. Bring new documents across your approved transfer path, ingest them, and they’re answerable. That’s a real advantage of RAG in disconnected environments, and one people rarely mention.
Not to start. A single desktop box is enough to prove the pattern. NVIDIA’s DGX Spark, built on the GB10 chip, has 128 GB of unified memory and runs models up to 200 billion parameters locally [10]. I have one on my desk.
Connor is a co-founder and VP of Product at Hoonify, where he leads product for open model inference on infrastructure customers control and for HPC and simulation on the TurbOS platform, from serverless inference to fully air gapped environments in national lab and mission critical settings.
Hoonify runs AI and HPC for organizations that can’t afford to get it wrong. Our founders come from Cray and Sandia National Laboratories, and our team brings more than 100 years of national lab engineering to every system we build. We learned our standards in places where a wrong answer is worse than no answer: national labs, defense programs, energy research, and life sciences. For five years, we’ve run TurbOS, our HPC software, in production for customers including Los Alamos and Sandia National Laboratories. Now we bring that same discipline to AI. Customers choose Sovereign AI, Sovereign HPC, or both, fully managed by our engineers. They can start in our cloud and move on-prem or air-gapped when they’re ready, with open models, standard APIs, and no lock-in along the way. You keep the data, the hardware, and the roadmap. We keep it running.