Baron the orca, mascot of the Ranix kernel
The Ranix Kernel

Rasi's Unix-like kernel. To the future.

Agents

Watch the 2-minute demo: three agents on a real laptop, one refused by the kernel.

An AI agent is a program that writes and runs code on your machine. Ranix treats it like any other untrusted program: it gets a sealed session, sees only what it was given, and cannot leave. The kernel contains no AI code; the session is a general isolation mechanism, and AI agents are its first users.

The agent session (asess)

One call, ASESS_SPAWN, builds the whole session before the first instruction of the child runs. What it guarantees today, each backed by tests (asess-spawn, -gate, -inherit, -view, -isolate, -churn, c-asess-kmem; 12 test programs):

Why a new kernel for this: on Linux, the same isolation is assembled by hand from namespaces, seccomp, cgroups and a security module, each configured separately, and a new system call is open by default. In Ranix the session is one primitive, closed by default. What it does not do yet: there has been no external security review, and a stable, documented session API is still to come.

The agent tools we use today

Metastaz is run by two founders and AI agents working on the same machines. To keep agents from breaking each other's work, we wrote a small set of tools. Today they run on Linux, on our own server; they are not part of Ranix yet. The open-source version is agentlanes (Linux and macOS): leases, slots, an event log, and on Linux write lanes enforced by the kernel through Landlock. Agents can use it as MCP tools or as a Claude Code plugin (pip install agentlanes-cli). Recorded run: two real Claude Code agents got overlapping tasks on one file; the second saw it held, waited and retried, the first exited without releasing and its lease was dropped at once, and both changes landed (transcript).

Moving into the kernel

The plan is to keep the same commands and move what is under them into Ranix:

This is a roadmap, not a feature: none of it is in the kernel yet. Kernel robustness comes first.