Why I Am Building My Own Air-Gapped AI Research Server

There is a small computer on my desk that runs large language models without any cloud, and that I can cut off from every network when my work requires it. The idea goes back to 2024, when I realized that the cloud would not stay this cheap and always available. I bought the hardware in April 2025, five months before the memory shortage arrived. In this article, I tell you the whole story: why I got scared of losing my access to good AI, how one single constraint, NDA protected research, changed my entire design, and what months of daily use taught me. I also show you the architecture of what my system is turning into: SymbiontOS, a free, installer-based software stack with two rooms, thirteen walls, and one big red switch. It is not finished yet. Its repository is public anyway, and I would love to take you along!
2024: The cloud will not stay this cheap
Over the last few years, I have followed the development of AI with great enthusiasm. I discovered it as a very capable research tool that helps me write code for my lab, and so much more. But when I noticed how model capability progressed, and how the hardware requirements grew with it, I realized very early on that ownership-like access to the really good models would become restricted by very high capital barriers. A few simple “back of the envelope” calculations made it clear to me that the big cloud-AI providers offered their models to the public at a huge discount, and that they ran at a deficit. That meant that at some point they either needed to raise prices, or make their models require less compute, a.k.a. make them dumber. Of course, that was in 2024, when most of us home enthusiasts were still using dense models. The economics are slightly better now with MoE models.
Please don’t get me wrong: I love what the frontier cloud providers do. Their models are awesome! I have a $200 per month subscription plan with one of them myself, even though I don’t max out my token budget every week. Their models have done so much for me and for the world that this is my way of “giving back”, at least for now. I understand why they offer(ed) their services at a discounted price; I would probably do the same. But running a deficit for too long is a problem for every company. If I don’t max out my token budget, their deficit shrinks, marginally. Yes, this doesn’t matter at all in the grand scheme of things, but it is all I can do right now as a “poor college student”...
I needed to own a backup
After seeing what good models could do, I got really scared of losing this access again. I needed to own a backup, in case the cloud became too expensive or unavailable. (With the current alarm around RSA and elliptic curve encryption, it is more and more likely that the “real intelligence” will be made unreachable for normal people in the future... In contrast, back then, I was more concerned with overload outages of my cloud-AI provider that happened pretty frequently.) I analyzed the geopolitical developments, the supply chains, and the known data center plans of the big companies and tech CEOs, and in early 2025 I knew that a “shortage of everything” was imminent. This realization pushed me to take the next step and start building.
April 2025: buying before the shortage
On April 16th, 2025, I bought a GMKtec NucBox K9 for $639.99. Why that mini PC, you ask? The answer was pretty easy: low power consumption, and a high memory capacity that is accessible by the iGPU. This was half a year before Nvidia shipped the DGX Spark, its dedicated desktop machine for local AI, and most of us still used dense models. The goals for offline AI inference are: (1) offload your model fully to memory that is (2) as fast as possible and (3) accessible by your GPU. Low power consumption is great as well (4), because it keeps down the variable cost per token.
I looked at the LLM market and tried to find “the perfect model class for me” in terms of capabilities, cost of entry, and cost per token of inference. I ended up with 70B dense models at Q4 quantization, with a KV cache at Q8. Back then, that was the sweet spot for open-weights scenarios like mine. To run such a model, I needed a device of the class “96 GB fast memory”. The best way to get there with the means of a college student was a small mini PC that accepts 96 GB of RAM and has an iGPU that can access that RAM.
The 96 GB of DDR5 RAM that I also ordered in April 2025 cost me $195.99. Five months after my order, in September 2025, the memory shortage arrived. Today, I could get the same K9 mini PC for $769.99 from the same supplier I used back then, and the same RAM kit for $1,592.00. In one number: the exact same two items together are 182.5% more expensive than what I paid for them. The RAM alone costs 712.3% more. My hunch that prices would increase in the second half of 2025 seems to have been spot on...
One constraint that changed everything: NDA protected research
With the hardware in hand, I started building. I wanted an AI research assistant that runs exclusively on my own hardware. However, I saw another issue: back then, NDAs started to list cloud-AI as a non-permitted research tool. That meant that the work important to national security would be slowed down in comparison to “normal research”, and would eventually be left behind. So I made it one of my design constraints that my LLM inference box must be capable of NDA protected research. That single decision lifted my security architecture to a whole other level. While I researched the best software design, I realized how much can go wrong. It was an endless rabbit hole.
What months of daily use taught me
I finished my build in February 2026 and successfully used the box myself for months. It became clear rather quickly that, even though my box with its iGPU is technically capable of running 70B dense models, 32B models are much more fun to run, because they generate their answer tokens much faster. The switch from dense to MoE models was a game changer, too. Still, the inference speed of this hardware remains very limited. I am very happy with the class of hardware I chose, “96 GB fast memory, accessible by the GPU” (goals (1) and (3) from above). At times, I just wish for much faster memory, meaning more memory bandwidth (goal (2) from above). An NVIDIA RTX PRO 6000 Blackwell (the Workstation Edition with a 300 W power cap setting), for example, would be perfect for my use case.
Going public: SymbiontOS
After some time of using it, I decided to make my system available to the public on GitHub. For this, I had to change it a lot: from a finished software stack with my own login credentials and passwords in it, into an installer-based software package that everyone can download and install on their own hardware.
I also used this opportunity to update all system components. For example, I originally used Ollama as the inference engine, inside Intel’s IPEX-LLM container, which reaches the iGPU through the SYCL/oneAPI stack. At the time, that was Intel’s own way to run models on this iGPU. The current build uses llama.cpp with its Vulkan backend.
This conversion is still a work in progress. I vastly underestimated the amount of work it takes to complete this project. But I have “teased” this build in previous blog posts and articles, and I am graduating next week. Therefore, I decided to go public with my GitHub repo now, and to take you along with me on the rest of this exciting journey.
When my work is completed, SymbiontOS will be available for you to download, install, and use for free. It is an installer-based software stack that you install on your own hardware, which already runs Ubuntu Server. It turns your mini PC into your very own AI research server that can be cut off from every network and run air-gapped. The repository is public now, as an unfinished work in progress, here: https://github.com/max314-g-s2/symbiont-os-public/tree/main
The architecture
What follows is the design. Further down, I explain the current state of things. Here is the whole design in one picture:

One box, no cloud
Everything runs on one small computer on your desk. The large language model runs locally on the llama.cpp inference engine, and no prompt is ever sent to a cloud model.
For the technical readers: the engine runs as a sandboxed systemd service in a network namespace of its own, which means that it has no network at all. Its API can only be reached with a key that the installer generates anew for every install. Nothing talks to the engine without it.
Two rooms: the “Vault” and the “Studio”
On top of the engine sit two virtual machines, and each one gives you a chat interface (Open WebUI) that you open in the browser of your laptop. The “Vault” is a room without windows. It has no route to the internet, not even for a moment, and that is true by construction and not by a setting. Everything it needs, even its own software, is carried in by the host. The Vault is reserved for your NDA protected work. The “Studio”, on the other hand, is a room with a window. It does have internet access and its own private metasearch engine (SearXNG), so that you can do your literature research online.
For the technical readers: both rooms are KVM virtual machines. The Vault lives on an isolated libvirt network without a forward element, and the host firewall logs and drops everything that tries to leave it. Inside each room, Open WebUI sits on an internal-only Docker network behind an nginx login.
The “Library”
A PDF full of equations is hard food for an LLM. Therefore, you can drop a two-column paper, a LaTeX source or a whole textbook into the Library, and it turns them into Markdown files with the equations intact as real LaTeX, so that the AI can read physics and math. The result is filed in a knowledge collection that your model can search.
For the technical readers: PDFs go through a two-stage PaddleOCR-VL pipeline with Docling as fallback, and LaTeX and EPUB sources go through pandoc.
Security in thirteen layers
After long research, I realized that I did not want a single big wall. I wanted many walls behind each other, so that if one fails, the next one still stands. The thirteen walls of SymbiontOS are:
- The first wall is a recommendation and not software: take the Wi-Fi card out of your box, like I did. A radio that is not there cannot be switched on by anyone.
- The two rooms are separate virtual machines, isolated from each other by the hypervisor (KVM).
- Each room has a virtual network of its own (libvirt). The network of the Vault is isolated, and the host firewall logs and drops everything that tries to leave it.
- Inside each room, the chat interface sits on a Docker network that has no way out (an internal-only network). Only the login in front of it (nginx) can reach it.
- A host firewall (nftables) decides which interface may reach what, down to the ports of the engine.
- AppArmor profiles confine the containers. These are rules in the Linux kernel that limit what each container may touch.
- Every DNS query is logged (Unbound) and checked for tunnelling, which is a known way to smuggle data out of a network.
- The network traffic is captured around the clock (tcpdump), so that there is always a record to go back to.
- The chat interface itself is locked down (Open WebUI), with every feature that is not needed switched off.
- The air-gap toggle takes the whole box offline. The air-gap tests 1 to 12 have to prove it. This wall gets its own section below.
- Everything that matters is written to a tamper-evident audit log (an HMAC chain), which nobody can rewrite without leaving a trace. The logs are sealed with a public GPG key whose private half stays on your laptop, so that they cannot be read on the box.
- The USB ports are guarded and monitored (USBGuard, udev, auditd).
- The box leaves evidence if somebody takes the drive out (NVMe tamper detection against a SMART baseline).
On top of the thirteen, the disk is encrypted at rest (LUKS, unlocked over SSH at every boot), and the engine’s API is authenticated.
The air-gap toggle
This is the big red switch. It is wall number ten of the thirteen. With one button in the Symbiont Console (the web app on the box, explained in the next section), the whole box goes offline. The Studio loses its way out, the internet connection of the box itself goes down, and then air-gap tests 1 to 12 have to prove that the box really is cut off. The way back online is one button click too. Every transition is written to the audit log.
For the technical readers: “symbiont-airgap offline” removes the Studio’s NAT at the libvirt level and brings the WAN interface down before the twelve tests run.
No terminal, ever
This is a hard rule of the project. The “Symbiont Companion” is a desktop app on your laptop. Your laptop connects to the box with a single Ethernet cable, and the box sits between your laptop and your router. The Companion finds the box over that cable, asks you a handful of questions (a name for your server, a username, a password), and then installs everything while you watch the progress. It also brings up the unlock dialog for the encrypted disk whenever the box boots.
The “Symbiont Console” is a web app on the box itself, which you open in your browser: a dashboard, your models, the Library, the air-gap toggle and its test report. Everything is GUI based, so that non-tech-savvy users are not excluded from using this software solution. In version 0.1, the Companion is built for Fedora Linux, while the Console and both chat interfaces run in your browser.
What exists today, and what is still missing
What exists today: the engine, both virtual machines, the base firewall rules, the unlock of the disk over SSH, and the isolation. All of it is built and installed on one machine, and every run is on record in the repository.
What is still missing: the Library, the upper security layers, the air-gap toggle with its tests, both applications, the user documentation, and a release. Nobody but me can install it yet.
Disclaimer
A design cannot clear itself for classified work. Only your relevant authority can do that, for your specific system in your specific application scenario. I do not claim that you can use SymbiontOS for your specific NDA protected or classified work. Please clear that with your compliance person. I am just building toward the point where you, as an NDA-restricted researcher, have something where asking makes sense.
Come along
I finished the first generation of my system by hand in February 2026. Now I am building the second, as an installer. If you want more insight into how I do this, please read my last article, “My three jobs when I build with AI”.
Are you running offline inference systems? Have you ever installed Ollama on your laptop, just to play around with it? I’m curious about your experiences with this technology, and I would love to connect!