The term Operating System (OS) is bandied about frequently in combination with Artificial Intelligence (AI) these days. Even accounting for my observation bias as the Product Manager of a Linux OS, I find the term used to the point of losing meaning. So, I am putting my notes down on what an OS actually means and providing a framework to understand the ways the OS actually combines with AI.

For simplicity, I am being reductive but accurate, leaving the nuance for discussion between myself and anyone who cares enough to be pedantic. The likelihood is any nuance in the framework below would be irrelevant to you.

There are four ways in which the OS and AI combine.

Each of these is a matter of degrees.

The AI builds the OS

The lightest weight form of this interaction is that the developer working on an Operating System leverages AI for research and suggestions, still writing all code by hand. At the extreme, the AI is doing all development work from spec up based on the needs of the builder, up to the point of creating a custom OS for the explicit use case, even going so far as to create a net new kernel.

In practice, we’re more often getting a combination of AI-assisted coding, AI-detected bugs, and AI-generated patches. This is not black and white. Gentoo and NetBSD banned LLM-generated contributions back in 2024, and a newer wave including COSMIC, Redox OS, SDL, and OpenJDK has followed, with Codeberg going so far as to refuse hosting projects that are mostly machine-written. Meanwhile, the Linux kernel is dropping even its Assisted-by disclosure tag, with Linus comparing rules against AI tools to banning compilers, which is about as close to encouragement as the kernel gets. The funny part is that a distribution can ban LLM code in its own tree and still ship it, since Gentoo packages the upstream kernel like everyone else. Others, like Omarchy, have leaned in to being entirely agentically built.

Where these diverge is a matter of stability and trust. The OS is the foundation of your entire stack, what allows you to turn a hunk of sand and metal and plastic into compute. If you are an individual, you can accept rough edges. If you are an enterprise, you cannot afford outages and you need to ensure your stack is supported, often certified on your hardware and chosen software. For the individual, or for a highly focused workload in an enterprise, customization is actively useful. When you are running mission-critical workloads on tens of thousands of servers and an outage or hack can cost tens of millions of dollars, you want to use the OS which has been tested, certified by vendors, and has a throat to choke behind it.

This is the most hotly debated aspect of AI and OS, though it is absolutely not the one people think of when they say ‘AI OS’.

The AI runs the OS

This is a newer concept for most, having the AI run the OS. The lightest form is the AI guides the user on how to install, modify, fix, or enhance their OS. At the extreme, the OS is installed, customized, and run entirely by the AI with the human only supplying natural language desires and acting as a ‘meat proxy’ for shuttling around USB sticks or clicking download buttons or supplying their finger for authentication.

I, like many others, have had an LLM ‘running’ my systems for well over a year. There was a point at which the combination of models, tool use, memory management, and governance converged such that you could give the LLM keys to a lab and it would perform reasonably well. It only occasionally deleted your databases, but that’s what backups are for. Over the past year the LLMs and harnesses have improved immensely.

This intersection is recently popularized by Omarchy, though even enterprise vendors have taken a swipe: RHEL gives advice to users with Lightspeed and has an MCP server in preview, and SUSE ships a native MCP host in SLES 16.

Typically, the user would need to not just navigate a GUI, but also enter commands in a terminal which can be exceedingly esoteric. The AI is far better than the average user at knowing, navigating, and executing actions within the OS, including customizing. The major risk is that your combination of model and harness and context and prompt will not be able to utilize good judgement or accurately interpret the desires of the user, especially when the user does not know what they want or actively asks for something bad. Linux gives the user complete freedom to do stupid things, and if the user delegates that authority to the LLM, you could easily brick your environment or at least open yourself up to vulnerabilities.

Most people will engage with AI in this interaction and it will be, for all intents and purposes, their ‘AI OS’, though it is really just a regular OS with a new interface.

The OS runs the AI

AI is a bunch of weights. Being reductive, a model is an extremely complicated and massively large spreadsheet.

AI weights run on hardware.

An Operating System, like Linux, macOS, or Windows, is mandatory for running AI.

Model weights are dumb data, literally inert numbers, and require a model runtime, an inference engine, like vLLM or llama.cpp which gives you an API endpoint you send data (text, images, videos) to and get data (text, images, videos) out. Models are big and complicated, so they need to be loaded into memory (RAM), particularly VRAM from GPUs like the NVIDIA Blackwell, so they go fast. A model in regular RAM will not run as quickly as a model in VRAM. Those GPUs need a kernel driver, which is part of the OS, plus a GPU runtime like CUDA or ROCm to schedule work on them. Both the GPU runtime and model runtimes need libraries and interpreters, schedulers, orchestrators, and other software viscera that sit on top of a kernel; that’s the operating system. Individuals may use Windows or macOS, while enterprise uses Linux as their OS of choice to sit in. The OS is the necessary muscle, nerves, blood, and organs which sit on top of the hardware skeleton and turn it from an inanimate object into an Olympic sprinter.

The OS builds the AI

An OS is necessary to build an AI, as the OS is how you run the hardware, manage the data, and execute the training software to create a Large Language Model. Then, you need to build the ‘AI Infrastructure’ to run that model. You may need to fine tune the model. All of this requires hardware that only runs with an OS and software that needs an OS to launch.

It’s hard to say whether there will be fewer people building an OS or building an AI in the future, but this is still a small number of individuals, as it generally requires obscenely expensive hardware to build a model worth using, even if the expertise could be obtained or abstracted away to the AI.

In the lightest form, the OS is needed to boot the expensive servers, ensuring the fancy NVIDIA or AMD GPUs are working well and the software stack you install can do a training run.

At scale, this turns into a turnkey model training system with the training stack pre-baked, tuned for the specific HPC cluster to maximize performance, and all you bring is the data and your objectives. These days it is something in between, as an extremely tiny number of organizations are actually training the models used by nearly all workloads.

So what?

Now when someone talks about an ‘AI OS’, you can ask which one they mean. And the vibecoded applications and LLM skill repos that borrow the name are a good sign of how much people want the AI to feel like home base, but they still run on top of an OS doing the unglamorous work underneath.