Description
ringzero is an innovative operating system designed from the ground up with artificial intelligence as a core component of its kernel. Unlike traditional operating systems where AI models run as applications, ringzero embeds its AI directly into ring 0, alongside the scheduler and drivers. This bare-metal x86-64 OS runs without an underlying Linux layer, utilizing a shared inference engine written in assembly to power two distinct Qwen models.
Read More
The primary AI component is Qwen3.5, which functions as the system agent. Users interact with this agent at the shell, where it interprets commands, accesses and modifies files, and executes programs through typed kernel tools. This integration allows for a conversational interface with the operating system itself, enabling natural language commands for system management.
Complementing the system agent is Qwen3-Embedding-0.6B, which provides ringzero with semantic memory. This embedding model continuously indexes text files, notes, and past conversations in the background, creating a searchable knowledge base on disk. This enables the OS to retrieve information based on meaning rather than just filenames, enhancing its ability to recall context and relevant data across reboots. The kernel intelligently selects relevant snippets for the language model's context window, keeping memory usage efficient and focused.
Key capabilities of ringzero include direct interaction with the machine through the system agent, which can manage files, memory, CPU cores, logs, and power settings, with safety prompts for destructive actions. Its built-in semantic memory allows for intelligent search and recall of information. The system also features an "undo" capability for AI interactions, allowing users to revert, redo, or retry turns, with state snapshots saved to disk. Hibernation preserves the entire conversation history, ensuring continuity across power cycles. ringzero remembers user-provided facts and session summaries, and it can answer questions about its own manual, which is indexed by the kernel.
It supports loading long documents quickly by caching model states after initial reads. Tool calls are robust, with the kernel ensuring validity against schemas, leading to zero malformed calls in tests. Unsure tool calls that modify the system prompt for confirmation. ringzero also integrates real software like Python 3.15, SQLite3, jq, Lua, QuickJS, ripgrep, coreutils, and a text editor, running in a WASI sandbox. It features a Unix-like file tree structure for familiar navigation and system access. Performance is optimized for responsiveness, with prompt reading and text output speeds tailored for efficient interaction. Users can select different Qwen3.5 model sizes (2B or 4B) and quantizations (q4 or q8) at build time, each offering a balance of performance and resource requirements. The OS requires an x86-64 CPU with AVX2, FMA, and F16C support.
- CategoryAI Coding Assistants
- Pricing ModelOpen source
- DeploymentBare x86-64, QEMU/KVM
ringzero's Core Features
AI-integrated kernel for core OS functions
Boots on bare x86-64 hardware without Linux
Runs Qwen3.5 as system agent for shell interaction
Uses Qwen3-Embedding-0.6B for semantic memory
Assembly-written inference engine in ring 0
Semantic search for files, notes, and conversations
Built-in tools for file management, memory, CPU, logs, settings
AI interaction undo/redo/retry with state snapshots
Hibernation saves full conversation history and state
Remembers user facts and session summaries across reboots
Built-in manual indexed for AI-driven answers
Fast loading of long documents with cached model states
Robust tool calls with kernel-enforced schema validation
Confirmation prompts for unsure tool calls that modify system
Includes Python3, SQLite3, Lua, QuickJS, ripgrep in WASI sandbox
Unix-like file tree (/proc, /sys, /dev, /etc, /tmp)
Configurable Qwen3.5 model sizes (2B, 4B) and quantizations (q4, q8)
How to use ringzero?
Build the OS: Set up a Linux machine with KVM and 16 GB RAM, then follow the build instructions in INFO.md.
Select Model: Choose a Qwen3.5 model (2B or 4B) and quantization (q4 or q8) at build time based on desired performance and RAM.
Boot ringzero: Boot the generated image on bare x86-64 hardware or in QEMU/KVM.
Interact with Agent: Type plain text commands at the ringzero shell prompt to interact with the Qwen3.5 system agent.
Utilize Semantic Memory: Use the /search command to find information by meaning across your indexed files and conversations.
Manage System: Issue commands to the agent to manage files, memory, CPU, and power settings.
Access Tools: Run built-in programs like python3, sqlite3, or a text editor from /bin.
Hibernate and Resume: Use commands like `echo disk > /sys/power/state` to hibernate, preserving your session for the next boot.
ringzero's Use Cases
- AI-Native Operating System Development
- Conversational System Interaction
- Semantic Information Retrieval
- Persistent AI Context Management
- Bare-Metal AI Experimentation
- Secure AI Tool Execution
- Integrated Development Environment
- Research into AI-OS Architectures






