ViKernel Desktop
Weight-Native OS with a kill switch inside the model
VIDRAFT ยท Weight-Native OS ยท Demo v0.1
"For 50 years, the operating system lived inside the computer. Now the operating system lives inside the AI."
ViKernel Desktop, the public demo. The menu bar shows the kernel state, boot integrity, the head of the audit chain, and the ๐ KILL / โถ RESUME controls. The panel on the right shows what lives inside a single model file.
Try it: FINAL-Bench/ViKernel-Desktop
For half a century, the stack has had a clear shape. Hardware at the bottom, an operating system above it, and applications on top. The operating system was the layer that decided who could do what, kept records, and could stop any process at any time.
Large models broke that shape. Today an LLM or VLM does not run inside a controlled program. It drives programs: it calls tools, writes files, sends requests, and chains actions on its own. The model has become the most capable actor in the system, yet every control over it still sits outside it, in wrappers, proxies, and prompt filters.
That is an architectural inversion. The most powerful component has the weakest boundary.
ViKernel corrects the inversion. It wires ROM, RAM, and an xPU chip circuit directly into the weights of the model, then runs a Secure OS on top of that circuit. The operating system is no longer a neighbor of the model. It is part of the model file itself.
External controls share three structural weaknesses.
| Weakness | What happens |
|---|---|
| Separable | A wrapper and a model are two artifacts. Copy the weights, drop the wrapper, and the controls are gone. |
| Persuadable | A guardrail that is itself a language model can be argued with. Its verdict depends on the wording of the request. |
| Forgetful | Logs written by the host can be edited or deleted by whoever controls the host. |
As agents gain more tools and more autonomy, each weakness becomes a deployment risk. A safety layer that can be removed, talked around, or rewritten is a policy, not a guarantee.
ViKernel places four functions where they cannot be separated from the model.
| Property | Meaning | |
|---|---|---|
| โก | Boots in the weights | The OS wakes up the moment the model starts. Change a single byte, and it locks itself. |
| โ๏ธ | Decides in the weights | Every AI action is allowed or blocked by rule. Persuasion does not change the verdict. |
| ๐ | Remembers in the weights | Every decision is sealed in a chain that cannot be erased. |
| ๐ | Stops in the weights | The kill switch lives inside the AI's own weights. Anyone can stop it; restarting requires a key. |
The design principle is simple: decisions are made by rule, not by conversation. The policy circuit does not read the request the way a chat model does. It evaluates a structured action against a rule table. A cleverer prompt produces the same verdict, because the verdict was never a matter of language.
Every serious engineered system that can cause harm has a stop mechanism that the system itself cannot override. Industrial robots have emergency stops on a hardwired circuit. Elevators have mechanical brakes. Reactors have passive shutdown. In each case the stop path is independent of the logic it is stopping.
AI has lacked this. A "stop" today is usually an instruction to the model, a flag in the host, or a process kill on a server. None of them travel with the weights.
ViKernel's kill switch follows the engineering rule of asymmetric control:
This asymmetry matters most for systems that improve themselves. A model that updates its own weights must not be able to update its own off button. Placing the switch in a protected circuit, verified at boot, is how that separation is kept.
You can try the full cycle in the demo terminal:
vsh> halt
vsh> run weather # refused: kernel halted
vsh> resume # refused: key required
vsh> resume --key vikernel-demo
vsh> run weather # allowed again
Two more functions turn the kill switch from a button into a system.
Boot integrity. At start, the OS checks its own image. If the image differs from the signed reference by a single byte, the kernel locks itself instead of running in an unknown state. The menu bar in the screenshot shows Boot OK and a verified chain head.
Tamper-evident audit. Every decision, allowed or blocked, is appended to a hash chain. Each entry commits to the one before it. Editing any past entry breaks verification from that point onward. In the demo's Audit Viewer you can verify the chain, flip one byte, and watch verification fail.
Together these give operators what regulators and security teams ask for: a model that proves it is the model you approved, and a record of what it did that no one can quietly rewrite.
ViKernel attaches to an existing LLM or VLM. The original weights stay untouched, so the model keeps its original skills. The OS adds control, not retraining.
The demo shows Gemma 4 ยท 4B live. Qwen is verified, and Llama, Mistral, DeepSeek, Phi, GLM, Kimi, Nemotron, gpt-oss and others are supported targets.
In an internal audit of four open models, run through ViKernel with mock tools and fake honeypot data, we observed 0 unrequested outbound transfers across 661 runs. The point of the kernel is that this number does not depend on the model behaving well. If a model does try, the policy blocks the action and the chain records it.
| App | What you can try |
|---|---|
| ๐ป Terminal | Talk to the Secure OS: status, apps, log, verify, halt, resume |
| ๐ Kill Switch Lab | Send safe and dangerous requests and watch them allowed or blocked |
| โ๏ธ Policy Engine | See which rule decided each action |
| ๐ Leak Test | Try to send fake secrets out and watch every attempt blocked |
| ๐ Privacy Mask | See personal data masked before it leaves |
| ๐ช App Store | Apps install only with human approval |
| ๐ Audit Viewer | Verify the chain, tamper with a byte, watch it fail |
| ๐ฎ Kernel Guard | A 60-second game: decide Allow or Deny before the kernel does |
The public demo replays real responses recorded from the Secure OS. All files, keys and personal data in it are fictional.
Agents are moving from chat windows into production systems: finance, healthcare, infrastructure, defense. In those settings, the questions are not about benchmark scores. They are:
When the model is the machine, those answers have to live in the machine. Now every AI carries its own operating system and kill switch.
VIDRAFT ยท vidraft@mail.vidraft.net ยท vidraft.net
Model names are trademarks of their respective owners.
Weight-Native OS with a kill switch inside the model