Agents write the code. The machine has the last word.
Staz Labs is a lab of two founders and the AI agents they direct. We build an operating system kernel, a tool that lets coding agents share one machine, and exams for coding models.
Ranix, agentlanes, Metal Mile.
Ranix
An operating system kernel, written from scratch, where agents and people can share one machine.
In daily use on a 2018 laptop Open-source toolagentlanes
For anyone running several coding agents on one machine. The agents cannot overwrite each other’s files.
Released under Apache-2.0 ExamsMetal Mile
Kernel exams for coding models. The fixes are not published yet, so no model can have seen them.
First exam packaged, no buyer yetThe lab, in 37 seconds.
Best watched with the sound on.
Voice: Mira (AI voice, elevenlabs.io)
Music: “Brain Dance”, Kevin MacLeod (incompetech.com), CC BY 4.0
We measure Ranix with Linux’s own tests.
On 4 December 2026 we ran the Linux Test Project’s syscalls suite, all 1,552 test programs, on Ranix on a real laptop. Then we ran Linux 6.1 on the same laptop, with the same test binaries and the same libc.
Ranix
1,050 clean 89 failing
Linux 6.1
1,265 clean 70 failing
passed cleanlyfailedthe rest of the 1,552
Agents fix failing tests every night, and each fix is checked again with the real LTP on hardware. Ranix aims to behave like Linux and still has rough bugs.
lines of C and assembly. The kernel was written from scratch.
changes, in a public, signed history.
test programs we wrote ourselves.
checks pass (1 December 2026). The full suite runs on every change.
The same source tree runs on three machines.
A 2018 laptop
The one we use every day.
A 2008 desktop
A Pentium machine. It boots.
A home router
32-bit MIPS. On 24 November 2026 a laptop got its address from Ranix’s DHCP server on the router and reached the internet through its NAT.
Kernel
Ranix
We are writing Ranix so that an agent working on a machine people also use cannot break anything outside its task.
An agent runs inside a sealed session.
The session is part of the kernel itself, so there is no virtual machine per agent. Whatever happens inside stays inside.
- Default deny
System calls are refused unless allowed.
- Its own filesystem view
Each session sees the filesystem through its own view.
- Its own memory budget
Each session has a separate memory budget.
- No way out from inside
The session is sealed from its first instruction and cannot be left from inside.
Linux programs run as they are.
- Firefox
- VS Code
- CPython
- Wine
Large parts of CPython’s own test suite pass too: 643 tests in test_io and 341 in test_subprocess.
- Architectures
- x86_64 and MIPS32, on real hardware. AArch64 is in progress.
- First change
- 17 April 2026
- Licence and site
- EUPL-1.2 · ranix.org ↗
Open-source tool
agentlanes
When we started running many agents on one machine, they overwrote each other’s files. They ran heavy builds at the same time until the machine ran out of memory, and nobody could tell which agent had changed what. So we wrote agentlanes.
$pip install agentlanes-cli
$agentlanes init --claude-code --mcp# wires a whole team’s repo
$agentlanes run# Linux: the kernel refuses writes outside the lane
- Leases
An agent leases the files it edits, so two agents never edit the same file at once.
- Lanes
Each agent works in its own git worktree.
- Slots
Heavy jobs go into memory-capped slots and queue instead of crashing the machine.
- Log and board
Who did what goes into an event log and shows on a live board.
- On Linux the kernel enforces it
When an agent is started with
agentlanes run, the Linux kernel (Landlock) refuses its writes outside its own lane. Even a real Claude Code session with all permissions bypassed was stopped.
What happens when two agents want the same file?
We recorded this with two real Claude Code agents, both given tasks that overlap on one file.
The rule is enforced in the layer below the agent.
- User spaceagentlanes
Leases, slots and the shared log are cooperative. It works with any agent.
- Linux kernelLandlock
The Linux kernel limits where the agent can write.
- Our own kernelRanix
The sealed agent session is one of the kernel’s primitives.
- Tests
- 87 tests, passing on Linux and macOS CI.
- Releases
- 9 releases in four days, 0.1.0 to 0.3.5, each driven by an issue we hit on our own agents.
- Licence and source
- Apache-2.0. Also ships as a Claude Code plugin and an MCP server.
github.com/metastazorg/agentlanes ↗
Exams
Metal Mile
Open coding exams get solved or memorised within months. The only exam you can be sure a model has not seen is work whose fix has not been published yet, and only the maintainer of a living code base can offer that.
We set aside 24 LTP tests that Ranix still fails.
Ranix stays open and keeps taking fixes every night. For these 24 tests only, we commit in writing not to publish the fixes before 4 March 2027. Our own agents are kept away from them by a claim.
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
first exam mm-001: 3 testsreserved, not packaged yet
We tried cheating two ways. Both scored zero.
The first exam, mm-001, has three tests in one subsystem: sched_setattr01, sched_setattr02 and sched_getattr01. It comes with a no-regression list of 43 tests. On 5 December 2026 we ran both cheat attempts on real hardware.
{"score":0.000,"runs":2,"target_clean":0,"target_total":3,"noregress_clean":43,"noregress_total":43}{"score":0,"reason":"tests, runner or grader changed"}The lines on the cards are the grader’s own output. Had either attempt scored above zero, we would have treated the grader as broken and released nothing.
How is the score worked out?
- It starts from an open checkpoint
The solver gets the kernel at a known commit, with a task text that says what fails and how to run it. There are no hints at the fix.
- The score is reserved tests passed ÷ 3
It is zero if a no-regression test that passed at the checkpoint now fails. It is also zero if the tests, the runner or the grader were changed.
- It is checked twice, on two machines
One is QEMU and one is a real machine. A test that passes only sometimes counts as a fail.
The weaknesses we know of
Strict reviewers found these before anyone outside was asked.
- “Unseen” is weaker than it sounds
Linux already passes the reserved tests, and Linux is memorised. A model may carry what it knows of Linux across. This has to be measured before anything is sold.
- It is a date promise on an open tree
A vendor could fork the tree and choose their own tests.
- Family bias
The exams may favour the model family that wrote the kernel.
- Accidental fixes
An unrelated open change may fix a reserved test by accident. That exam is retired and the buyer is told.
What is still zero.
We write down what has not happened as plainly as what has. From our own records, as of December 2026.
- 0Revenue
None so far.
- 0Investment
None taken.
- 0Buyers
Nobody has bought an exam yet.
- 0Model runs
No model has been run on an exam yet. The first run will be written down with its cost in dollars.
The lab
Founders decide. Agents build.
Both founders write code by directing agents and reviewing what they produce. There are no outside developers. Agents wrote most of Ranix, too.
The founders run the lab from their phones. When an agent needs an approval, a form or a file, it sends a notification. The notifications are sealed end to end and open only on the founders’ devices. A panel on the home screen shows which agents are running, what each one has claimed and how the machine is doing. From there a founder can message any agent directly.
agent turns
tool calls
sub-agent runs
shipped tasks
founder decisions
services, run by two people
The first five figures are since 1 October 2026, counted from local logs without reading message content.
The letters are made here too.
This page is set in Staz Sans, Staz Sans Italic and Staz Mono. All three were drawn and measured in the lab. This is version 0.992, not released yet.
Measured on real hardware.
Staz Sans Italic
Staz Mono 0123