In Greek myth the aegis was the shield of the gods: Zeus's, carried by Athena and, in the Iliad, by Apollo. The aspis was the shield of mortals, the round shield each hoplite carried in the phalanx to cover both themselves and the soldier beside them. Apollo's AEGIS was one company's operating system; ASPIS is the open one that anyone can carry.
ASPIS is an open-source operating system: a capability microkernel written in Rust for ARM64, booted by GRUB as a UEFI image (0006). It is modeled on Apollo AEGIS / Domain/OS, and keeps its single-level store, its typed objects, its network-wide namespace and its display manager (research notes).
What sets it apart is what it changes and adds. Every object is named by an ID with no clock in it (0001), and reached through versioned interfaces that work the same on a local or a remote object (0004, 0014). RPC is secured with hybrid post-quantum cryptography, and each realm is its own certificate authority (0003, 0020). Permissions live in a signed authorization tree that revokes by branch, with Cedar policies and AuthZEN decisions (0016, 0018, 0019). And a realm, the nodes that run ASPIS together with the realm's own services, acts as a virtual cloud provider for twelve-factor apps (0026).
A mockup, not a design. In dm every window is an SVG surface, and a pad's transcript mixes a program's text with the graphics it draws (0010, 0011). In pad_0001, an operator follows a release rolling out across four nodes, then reads rows from a database that an app added to the realm, mounted at a system name (0026, 0027). A second pad, pad_0002, tails the deploy's log, and the catalog browser finds the database's interfaces (0028). Here each pad has its own color, its charts use that color, and amber marks warnings. Text in the charts is real text, so it can be selected, copied and searched. The commands, pad names and colors are placeholders: ASPIS's command interpreter, and dm's commands and look, are still to be designed (design backlog, D102 and D103).
ASPIS is in its design phase, and its first code is starting. This repository holds research notes, architecture decision records (ADRs), design documents, and the code for the first milestone, M1 "First light": a UEFI boot stub and a kernel that boots on QEMU and prints to its text-as-graphics console.
- Process. Research and discussion come first, then a design session, then code. The design session is under way, and M1's decisions are settled, so M1's code has begun (build plan).
- Building.
cargo xtask buildbuildsaspis.efiandinitfs.img;cargo xtask runboots them on QEMU through GRUB;cargo xtask testruns the host tests and the QEMU tests. It needs Rust (the version inrust-toolchain.toml), QEMU, mtools, and Docker to build GRUB. CI runs the same commands on every change, and the full QEMU matrix nightly. - Decisions. ADRs 0001 to 0070 are settled. 0033 to 0042 settle the licensing questions and what the first milestone needs to build and boot, and 0046 adds what building it showed. Four records are superseded: 0030, 0043, 0044 and 0045. Their rules are now part of the records they changed. 0047 to 0061 settle the kernel, and 0062 to 0068 the call language, for the second milestone. 0069 settles the cryptography libraries, and 0070 the object ID format. The decision index gives each record's status.
- Design. Zooming in from the system context, the design session has drawn views of a realm, a node and the kernel, and eleven key flows.
- Still open. The ADRs leave many details to the design session, such as the coherence protocol for shared remote objects and the kernel specification. Each record says what it leaves open.
- Targets. QEMU
virtwith EDK2 firmware comes first, for development and CI. The Raspberry Pi 4 is the first real hardware (0007). - Scope. The architecture assumes many realms federated across the internet. The first implementation is a single realm on one LAN (0004).
- Objects, IDs and capabilities. Files, processes and every other OS fixture programs touch are objects. Their 256-bit IDs carry the minting node's UUID and a per-node sequence number. Unlike AEGIS's UIDs, they hold no clock. An ID is only a name: access comes from kernel capabilities, with seL4 as the reference model (0001, 0002).
- Network transparency, with visible failure. Naming and invocation are the same for local and remote objects. Every call that may cross the network has a deadline, and its outcome tells success, an application error, unreachable and indeterminate apart (0004).
- Single-level store. Mapping an object into an address space is the main way to reach its data. Pagers run in user space and serve page faults from local storage or from remote nodes (0005).
- Hybrid post-quantum cryptography. Key exchange pairs X25519 with ML-KEM-768, and signatures pair Ed25519 with ML-DSA-65. Each realm runs its own certificate authority with hybrid certificates, and RPC runs over TLS 1.3 on QUIC (0003, 0020).
- Versioned interfaces, IDL and ABNF. Every interaction with an object goes through one of its interfaces, versioned major.minor under DCE RPC's rule. Interfaces are written in the ASPIS IDL. The IDL compiler generates each interface's ABNF, which is normative for every RPC and IPC call on the wire (0013, 0014).
- Tokens and OpenID Connect identity. A client presents a JWT when it binds to an interface. The manager checks it once and returns a kernel capability or a session; the kernel never parses tokens. Each realm runs an OpenID Provider for its users and workloads (0015).
- The authorization tree, Cedar and AuthZEN. Every grant lives in the realm's authorization tree, a sparse Merkle tree whose roots the realm signs and every node replicates. Revoking a branch revokes everything under it. Policies are written in Cedar and kept in the tree, and object managers ask a decision point on their own node through AuthZEN (0016, 0018, 0019).
- Federation and workload identity. A realm can join one or more OpenID Federation topologies, and accepts and issues user and workload identities through them. Workload identities conform to SPIFFE and WIMSE (0017, 0022).
- Entropy before keys. A node serves no randomness until its generator is seeded with at least 384 bits of credited min-entropy. Requests wait rather than get weaker output. Long-lived keys also need a physical source, and creating a realm is an explicit ceremony (0021).
- Text as graphics, SVG and dm. The console is text drawn as graphics from the kernel's first message. SVG documents are first-class objects. Display SVG, a display server on the native SVG layer, puts them on screen, and the
dmwindow system is built on it, with pads that mix text and graphics (0009, 0010, 0011). - A POSIX personality. POSIX runs in user space on the ASPIS APIs, aiming at source compatibility with POSIX.1-2024. The kernel gains no POSIX-specific features (0012).
- Twelve-factor apps, with the realm as cloud provider. Each part of the twelve-factor contract is a native interface, with a portable POSIX form. A realm pools its nodes and acts as a virtual cloud provider for these apps, with its own builder, scheduler, router and service broker (0025, 0026).
- Applications extend the system. A native application offers its functionality as objects with versioned interfaces, to the same standard as ASPIS's own. An application such as a relational database service can then look like a core OS function, although it was added later (0027).
- Discovery and the realm catalog. Every object describes its own interfaces, and every manager can enumerate its objects. The realm runs a catalog of interfaces, types and published objects, updated in real time (0028).
Everything is in docs/, in three folders. Every diagram is Mermaid, and context diagrams use the C4 model (0024). To start, read ASPIS in context, then the founding requirements, then what ASPIS keeps and changes from AEGIS.
Apollo AEGIS / Domain/OS: research notes covers AEGIS's history, architecture and failures, platform facts for ASPIS, and what ASPIS keeps or changes.
The decision index lists the founding requirements and every ADR, with its status. Records are never renumbered. During the build phase, a record is edited in place, so it always says what is in force, and git history records each change. A record that no longer applies keeps its file, with its status changed to "Superseded".
ASPIS in context is the C4 system context: a realm, the people who use it and the systems around it. Four views zoom in from there:
- Inside a realm: the realm's services, as C4 container views;
- Inside a node: the components on each node, as C4 component views;
- Inside the kernel: what the decisions put in the kernel, and what its specification must settle;
- Key flows: eleven sequence diagrams, from boot to discovery and a fault that needs memory.
The build plan divides the build into chunks and milestones, from the first boot on QEMU to a federated realm that hosts apps. The design backlog lists the open design decisions, filed under the milestone each must be settled before.
Ten design notes came before the decisions. Each led to the records beside it:
- ASPIS code (the kernel, servers, libraries and tools) is licensed under the Mozilla Public License 2.0. The text is in LICENSE (0008).
- ASPIS's documents are licensed under Creative Commons Attribution 4.0 International (CC BY 4.0): the research, the decision records, the design notes, this README and the other Markdown, with the diagrams they contain (0033, rule 2). Anyone may copy and adapt them, with attribution.
- The license texts are in LICENSES/, following REUSE (0033, rule 3).
- Dependencies must be MPL-2.0 or permissively licensed (MIT, Apache-2.0, BSD). The kernel and core servers use no GPL-only dependencies (0008, rule 4). Fonts may also be under the SIL Open Font License 1.1: the console uses Noto Sans Mono, with Noto Sans Math and Noto Sans Symbols for a few symbols it lacks, and the SVG layer uses Noto Sans Mono and Noto Sans (0034, 0046).
- ASPIS's own files carry two SPDX tags at the top, in the REUSE format (0023, 0033). Source files carry
SPDX-FileCopyrightText: 2026 Nicole RoyandSPDX-License-Identifier: MPL-2.0. Markdown documents carry the same copyright tag andSPDX-License-Identifier: CC-BY-4.0. The one exception is CODE_OF_CONDUCT.md, adapted from the Contributor Covenant 3.0, which keeps that work's license, CC BY-SA 4.0. - A notice names its years as a range, from the year the holder first published the file to the latest year that holder changed it, such as
2026-2027 Nicole Roy(0033, rule 4). - Third-party material keeps its own notices.
Contributions come under the Developer Certificate of Origin 1.1 (0033, rule 1). Each commit carries a Signed-off-by: line with the contributor's name, and anonymous contributions aren't accepted. A contribution is licensed under the license of the files it changes or adds: MPL-2.0 for code, CC BY 4.0 for documents. Contributors keep their copyright. A contributor adds their own SPDX-FileCopyrightText line to a file when their change to it is copyrightable, and a file a contributor creates names them. ASPIS asks for no CLA and no assignment.
ASPIS accepts outside contributions. CONTRIBUTING.md says how the project works, how to build and test it, and what a pull request needs, and quotes the DCO; CI checks every commit in a pull request for a sign-off. Everyone who takes part follows the code of conduct, the Contributor Covenant 3.0. Report security vulnerabilities privately, as SECURITY.md describes.
Copyright 2026 Nicole Roy.