Skip to Content

Technical Analysis of the Anos Operating System Prototype

23 April 2026 by
Suraj Barman
Advertisement

Overview of Anos: A Non-POSIX Operating System

The Anos operating system is described as a modern, non-POSIX software project aimed at achieving a unique computing model. While it is not yet a complete operating system, it has reached the status of a toy kernel. This kernel currently supports user-mode preemptive multitasking across up to 16 CPUs and provides foundational kernel support for running device drivers in user space. Importantly, Anos has been tested on actual hardware, which underscores its current level of functionality despite its early stage of development.

Designed specifically for x86_64 PCs and RISC-V architectures, Anos is intentionally built as a limited-scope project. Its architecture includes a microkernel called STAGE3, a user-mode SYSTEM supervisor, and a base set of servers providing core operating system services. A work-in-progress toolchain, based on Binutils, GCC 16 (experimental), and Newlib, has been developed to support Anos, along with a custom libgloss implementation. The entire project is distributed under the GPLv2 license with linkage exceptions similar to other open-source operating systems.

Microkernel Design and Features

At the heart of Anos lies the STAGE3 microkernel, which is characterized by a non-zealous design philosophy. This means it aims to include only the essential components within the kernel, such as basic drivers for hardware directly utilized by the kernel. Core functionalities include scheduling, memory management, and inter-process communication (IPC) primitives. These components are deliberately lightweight to maintain minimalism and modularity.

The microkernel employs a synchronous, zero-copy message-passing IPC mechanism for inter-process communication. This design choice prioritizes efficiency and simplicity. Additionally, Anos supports a small, targeted system call interface to minimize overhead. For x86_64 architecture, the kernel utilizes SYSCALL and SYSRET instructions for fast channel communication, while RISC-V relies on ECALL instructions.

User-Mode Supervisor and System Services

Anos introduces a user-mode SYSTEM supervisor that functions as an intermediary layer between the kernel and other user-space processes. This SYSTEM component is responsible for managing hardware drivers and coordinating the activities of various services. Basic userspace bootstrap mechanisms are also implemented here, enabling the initialization and management of user processes.

The SYSTEM supervisor provides services such as PCI and AHCI drivers via a capability-based Memory-Mapped I/O (MMIO) mechanism. This capability-based approach ensures that resources are allocated securely and efficiently. While several features of the SYSTEM supervisor are still under development, the implemented components already demonstrate a clear focus on modularity and user-space empowerment.

Experimental Toolchain and Development Practices

The Anos operating system is supported by a custom toolchain that integrates open-source components like Binutils, GCC 16 (experimental), and Newlib. This toolchain is designed to facilitate the development of software specifically for Anos, ensuring compatibility with its unique architecture. A custom libgloss implementation further extends the toolchains capabilities, offering tailored support for system-level programming.

Development of Anos prioritizes experimentation, with many architectural decisions still subject to change. By focusing on 64-bit architectures from the outset, the developers have been able to explore new design possibilities that align with modern hardware capabilities. This experimental approach enables the exploration of novel ideas without the constraints of traditional operating system paradigms.

Minimalist Philosophy and Future Directions

The Anos project embraces a minimalist philosophy, aiming to provide only the bare minimum kernel services while delegating as much functionality as possible to user-space processes. This approach mirrors the principles of traditional microkernel designs, which prioritize modularity and separation of concerns. By limiting the kernels responsibilities, Anos seeks to achieve greater flexibility and maintainability.

Future development plans remain fluid, as the project is still in its exploratory phase. However, the focus on user-mode multitasking, capability-based resource management, and robust IPC mechanisms suggests a commitment to creating a highly modular and efficient operating system. As the project evolves, it will be critical to balance innovation with practical considerations to ensure the systems usability and reliability.

Licensing and Community Involvement

As free software licensed under the GPLv2, Anos invites contributions from the open-source community. The license includes linkage exceptions, which align with those used by other major free operating systems, allowing for greater flexibility in combining Anos with various software components. This open model encourages collaboration and fosters innovation within the developer community.

The project documentation and source code comments provide detailed insights into the design and implementation of Anos. These resources are invaluable for developers seeking to understand the systems architecture and contribute to its development. By promoting transparency and collaboration, Anos has the potential to grow into a unique and versatile platform for experimentation and learning.