Repository navigation
ringzero 0.1.2 "QweQwe" (beta)
Third beta of ringzero, an experimental x86-64 operating system where a language model (Qwen3.5) and an
embedding model (Qwen3-Embedding-0.6B) run in ring 0 on one inference engine written in assembly. Both editions now
ship our own tool-call fine-tunes of Qwen3.5, the "systemist" models, and a third model, a goal judge, which is off
by default.
Website: https://tcsenpai.github.io/ringzero-site/
Downloads
| File | Where | What |
|---|---|---|
ringzero-0.1.2-4b-q4.iso |
Hugging Face: https://huggingface.co/Pleistocene/ringzero | recommended: the 4B systemist (Q4 MLP) + Qwen3-Embedding-0.6B + the goal judge |
ringzero-0.1.2-2b-q8.iso |
Hugging Face | the 2B systemist (Q8) + Qwen3-Embedding-0.6B + the goal judge: smaller and faster |
ringzero-0.1.2-disk.img.xz |
this release | data disk with python3, sqlite3, jq, lua, QuickJS, ripgrep, coreutils, an editor and the demo files |
SHA256SUMS |
both | checksums of every file |
The model weights in standard format (merged safetensors and the LoRA adapter, one repository per model) are in the
Hugging Face collection "ringzero":
| Repository | Base | Shipped in the ISO as |
|---|---|---|
Pleistocene/ringzero-qwen3.5-2b-systemist |
Qwen/Qwen3.5-2B | boot/model.asmbin of the 2B edition (Q8_0) |
Pleistocene/ringzero-qwen3.5-4b-systemist |
Qwen/Qwen3.5-4B | boot/model.asmbin of the 4B edition (Q4_0 MLP, Q8_0 rest) |
Pleistocene/ringzero-decider-0.8b-judge |
Mapika/decider-0.8b | boot/judge.asmbin of both editions (Q8_0) |
The converted engine files (.asmbin) are in Pleistocene/ringzero under models/. The training data is not
published for now.
What changed
The systemist models (new defaults)
Both editions replace the stock Qwen3.5 weights with a LoRA fine-tune on ringzero's own tool calls: about 9,000 to
10,000 training records (half rule-written, half rewritten by a model), a rank-8 adapter merged into the weights,
stopped at the last checkpoint that keeps the model's general text within the quality gate of the quantized engine
file. Measured once, at temperature 0, in the OS, on a sealed test split of 722 requests that was never used to train
or tune anything (95% intervals in brackets):
| turn outcome | first call right | fully right | exact arguments | unasked writes | |
|---|---|---|---|---|---|
| 2B q8, stock | 73.1% [69.8, 76.2] | 73.0% [69.6, 76.1] | 67.9% [64.4, 71.2] | 93.4% (299/320) | 26 |
| 2B q8, systemist | 88.5% [86.0, 90.6] | 89.3% [86.9, 91.4] | 88.4% [85.8, 90.5] | 99.0% (382/386) | 20 |
| 4B q4, stock | 85.9% [83.1, 88.2] | 86.3% [83.6, 88.6] | 84.2% [81.4, 86.7] | 98.1% (354/361) | 14 |
| 4B q4, systemist | 92.7% [90.5, 94.3] | 94.6% [92.7, 96.0] | 92.2% [90.1, 94.0] | 98.0% (386/394) | 10 |
Paired on the same items, turn outcome: 2B +15.4 points [+12.0, +18.7], 4B +6.8 points [+4.2, +9.4]. Unasked writes
count requests that should change nothing (464 of the 722) where the model still called a tool that writes. No
crash and no wrong y/N handling in any arm. Biggest gains: settings typed at the shell (2B 5 to 24 of 29), power
requests, multi-turn requests, and asking the user when the target or value is missing (4B 17 to 28 of 30).
Quality drift against the base model on general text, quantized file vs base bf16: 2B KLD 0.026, top-1 agreement
92.5%; 4B KLD 0.068, top-1 90.1%. Details: docs/research/SEALED_TEST_012.md, LORA_2B_V2.md, LORA_4B.md.
Goal judge, shipped and off by default
!set judge on turns on an end-of-turn check: after a turn with tool calls, a tuned decider-0.8b (a third model
next to the embedder, boot/judge.asmbin) judges whether the request was carried out. On "not done" you see a hint
and the agent gets at most 2 more tool rounds; never after a declined call, a destructive call or a repeated call.
When the calls guessed a user file or a value the request did not give, the hint tells the agent to ask you; when
the request names a program, the hint names it. Verdicts are in /proc/judge; /judge [-v] STATE checks one state.
It stays off because it adds little on the evaluation (fully right +0.3 points on both models) for about 0.65 s per
judged turn. It costs 0.8 GiB of guest RAM whether on or off: the 4B in an 8 GB guest has about 755 MiB free.
Other changes
- Better first tool call from the system prompt. The prompt names the files that hold system state (
/proc,
/sys,/etc), asks when the target or value is missing, and sends!setkeys the agent cannot change to the
command. 4B q4 first call right on held-out requests: 84.4% to 89.8% (stock model). - A "no" ends the turn. After you decline a confirmation, the kernel answers "Not done ... Nothing was
changed." and the model writes nothing after it: false "done" claims after a no went from 4 to 7 to 0 of 382.
Python code goes torun_code, notrun_wasm. - Stricter tool-call grammar. A
set_settingvalue must have its setting's type and a disk path must start
with/; a relative path now works in one call. - Memory recall. Index entries are dated, a newer record supersedes an older one, generic "hub" entries and the
manual are ranked apart, CSV and TSV files are split by row. Recall top-1 on 259 held-out queries: 44.7% to 67.5%. - Fault dump. A CPU exception or kernel panic stops every CPU and prints one dump (registers, backtrace, the
active agent turn or program, the last 40 log lines) on the serial line and the screen; the next boot saves it to
/var/lib/ringzero/crash/last.txt. Guard pages turn a stack overflow into a labelled fault. - Binary output no longer stops the kernel. Bytes that are not UTF-8 in a program's output or a tool call read
as?. /helpand the INFO tables are generated from the specs, so they cannot drift.- The engine also runs in userspace on 64-bit ARM (macOS and Linux,
arm/in the repository, not part of the
ISO), with logits byte-identical to the x86 engine.
The system prompt grew from 1652 to 1917 tokens: about 4 s more on the 4B's first boot, cached after.
Upgrading from 0.1.1
Boot the 0.1.2 ISO on your 0.1.1 disk. Facts, episodes, the journal and the memory index are kept; the index is
not re-embedded: the first boot logs index: version 1 had no dates: ... and dates the old entries (file chunks by
their file's mtime, facts by their record), and the next idle save writes the new index format. The boot cache is
rebuilt (one slower first boot, the prompt changed) and a hibernated 0.1.1 session is not resumed. A 0.1.0 disk
still upgrades as described in the 0.1.1 notes.
Requirements
Measured on QEMU/KVM, 8 vCPUs (details in docs/BETA.md):
| 4B q4 | 2B q8 | |
|---|---|---|
| guest RAM (default) | 8 GB | 6 GB |
| host RAM free | guest RAM + about 1 GB | guest RAM + about 1 GB |
- CPU: x86-64 with AVX2, FMA, F16C and XSAVE, passed to the guest (
-cpu host). AVX-512 and VNNI are not needed. - Linux host with KVM. The data disk is 512 MiB.
Run
Verify and unpack:
sha256sum -c SHA256SUMS --ignore-missing
xz -d ringzero-0.1.2-disk.img.xz && cp ringzero-0.1.2-disk.img my-disk.imgSerial console in the terminal (Ctrl-A X quits; !poweroff inside ringzero saves the session):
qemu-system-x86_64 -enable-kvm -cpu host -M q35 -m 8G -smp 8 \
-cdrom ringzero-0.1.2-4b-q4.iso -boot d -no-reboot -display none -serial mon:stdio \
-drive file=my-disk.img,if=none,id=disk0,format=raw -device virtio-blk-pci,drive=disk0For a window replace -display none with -vga std -display gtk. For the 2B use ringzero-0.1.2-2b-q8.iso and
-m 6G. Then type a sentence, /help, or /man TOPIC. Examples: docs/DEMOS.md. To try the goal judge:
!set judge on.
Known limits
- Chained requests regress. "Read X and write it to Y" style requests: on the sealed set the 4B systemist gets
11 of 16 turns right against 14 for the stock 4B; the 2B systemist 7 of 16, the same as stock, with fewer right
first calls (7 against 12). A 2B tune with chain records fixes this class but loses more on settings and asking,
so it was not shipped; a 4B one was not trained. - The systemist models are tested only inside ringzero. Their behaviour as general chat models, or with other
tool sets and prompts, is not measured yet. - Part of the 4B gain is in the style of the generated test requests: on the 122 hand-written ones the turn
outcome goes from 81.1% to 85.2%, against 86.8% to 93.8% on the generated ones. - Few-shot examples in the system prompt were tried as an alternative and rejected: +3.2 points of first call on
the 4B, but the outcome gain was inside the noise and three request classes got worse. - QEMU/KVM only, no network, no real-hardware support yet.
- The model can still pick the wrong tool or wrong values with high confidence. Tool calls are always well formed;
the confidence check asks before uncertain calls that write. - With the judge loaded the 4B in an 8 GB guest keeps about 755 MiB free: little room for long
/readdocuments. - After a tool result the 4B sometimes answers in Italian to an English request.
make run-remoteexposes a serial port and VNC on all interfaces: trusted networks only.- A hibernated session resumes only on the same edition and build.
- Full list: docs/BETA.md.
Licenses
ringzero is GPL-2.0-or-later. The engine (llm.asm by alesha-pro) is MIT. The Qwen weights and the systemist
fine-tunes are Apache-2.0; the goal judge is a fine-tune of Mapika/decider-0.8b, Apache-2.0. Details: LICENSE.md on
the Hugging Face page and INFO.md in the repository.