Repository navigation
Home
tcsenpai edited this page Dec 2, 2026
·
14 revisions
ringzero is an experimental x86-64 operating system where a language model and an embedding model run in ring 0. This wiki is the behaviour reference: what every command, tool, file and setting does, with the code it comes from. Each page is generated from the OpenSpec specs in the repository, so it always matches them.
Start with the README, the technical notes and the manual. To propose a change, see CONTRIBUTING.
| Capability | Requirements | What it covers |
|---|---|---|
| Agent Tools | 42 | The system agent's turn loop and its typed kernel tools: which tools exist, their parameters, how a call is parsed, validated and run, which calls ask the human y/N first, and the caps on rounds, answers and results. |
| Build Options | 18 | The build-time options of ringzero: Makefile variables (MODEL, QUANT, EMBED, GUEST_MEM, MANUAL_VECTORS, CONF_ASK, ROUNDS, DISK_MB and the run targets' limits) and the RINGZERO_* environment variables the kernel build reads, with their accepted values and defaults. |
| Console | 6 | What the two consoles (COM1 serial and the Limine framebuffer) show: the boot banner, how the framebuffer draws ANSI SGR escapes, the palette, and the role colors of the shell with the color setting. |
| Decoding | 19 | Baseline of how the ringzero kernel decodes Qwen3.5 output for the ring 0 agent: context limits, sampling, speculative decoding (prompt lookup and grammar drafts), the tool-call grammar, and the confidence bands that decide whether a tool call runs, runs with a notice, or asks the human first. |
| Document States | 8 |
/read PATH puts a text file into the conversation and caches the engine state of its tokens (KV rows and the DeltaNet state) on the disk, so the same file after the same context is loaded instead of prefilled, bit for bit the same state (M4.8c, T27). |
| Manual | 9 | The built-in manual: docs/MANUAL.md compiled into the kernel, indexed one entry per section, searched with /man, and handed to the model by the recall tool and the memory slot when the user asks how to do something. |
| Memory | 34 | Baseline of the agent memory owned by the kernel subsystem agentd: on-disk record stores, validated facts, the embedded memory index with hybrid search, the memory slot put in front of a new conversation, and idle-time consolidation of a session into an episode and facts. |
| Proc | 8 | The read-only virtual /proc directory (T54, the Unix design principle): which files it has, what they hold, that nothing under it can be changed, and that the shell, the agent tools and WASI programs read it through the same fs.rs path layer. |
| Programs | 23 | Baseline of how ringzero runs user programs in ring 0: WASI preview1 programs on the wasmi interpreter and MicroPython snippets, from the shell and from the agent's tools, with their budgets, limits, output caps and file access rules. |
| Settings | 24 | The runtime settings changed with !set <key> <value> (and the shortcuts !kbd, !cores, /temp, /think, plus the agent's set_setting tool): every key, the values it accepts, its default at boot, and whether it survives a poweroff. |
| Shell Commands | 28 | The ringzero shell on COM1 and PS/2: how a typed line is routed to the agent, to a machine command (!name) or to a session command (/name), and what every command takes and does. |
| Snapshots Hibernation | 21 | Baseline of the engine state snapshots (a tree of points kept in a pool of 1 MiB chunks, with undo, redo, branches, saves and eviction), the boot snapshot cache, and hibernation of the whole conversation to the disk with resume at the next boot. |
| Unix Tree | 20 | The file tree every reader sees (the shell, the agent's tools, WASI programs): one mount table for the virtual /proc, /sys, /dev and /etc files and the FAT volume, read-only rules, /etc and /tmp, ringzero's own data under /var/lib/ringzero and the migration of a disk written by ringzero 0.1. |
Generated from openspec/specs at 0221909 by tools/wiki_gen.py. Do not edit here: change the spec and regenerate.