Schrödinger’s Companion for the Operating System of the Future
Nyx is an experimental open-source operating system built from the ground up for the intersection of:
- Classical computing
- Quantum computing
- AI-driven system intelligence
It is designed as a next-generation OS platform where classical programs, quantum circuits, and machine intelligence coexist natively.
Core design principles:
- Memory safety
- Security-first architecture
- High performance
- Low energy footprint
- Future-ready computing
⚠️ Nyx is currently Pre-Alpha and under active development.
Nyx aims to become a unified computing platform where:
- Classical programs
- Quantum circuits
- AI-driven system intelligence
run together as first-class citizens.
Instead of relying on external simulators or toolchains, Nyx integrates quantum execution directly into the operating system architecture.
QCLang programs compile into kernel-integrated quantum operations.
- Quantum simulation backend (current)
- Native hardware support (future)
Adaptive kernel behavior driven by machine learning:
- Predictive scheduling
- Dynamic resource allocation
- Entropy-aware system tuning
Experimental filesystem designed for hybrid workloads:
- Quantum metadata support
- Fractal-inspired storage layout
- Built-in lossless compression primitives
Entire stack built with Rust:
- Kernel
- Userspace
- Compiler toolchain
Benefits:
- Memory safety
- High performance
- Reduced system vulnerabilities
Security features include:
- Capability-based permissions
- Post-quantum cryptography
- Memory safety guarantees
Development workflow built around QEMU simulation for rapid iteration and testing.
Pre-Alpha (March 2026)
Progress:
| Component | Status |
|---|---|
| QCLang Compiler | Most mature |
| Kernel (nyx-kernel) | Active development |
| Userspace | Early stage |
| Runtime Libraries | Early stage |
| Quantum Simulation Backend | Prototype |
Capabilities:
- Boots in QEMU
- Partial real hardware boot
- Early DRM/Nouveau handshake work
nyx/
├── .devcontainer/ # Dev Containers config
├── .github/workflows/ # CI pipelines
├── compiler/ # QCLang compiler
├── nyx-kernel/ # Rust monolithic kernel
├── nyx-user/ # Userspace binaries
├── runtime/ # Runtime libraries & syscalls
├── runner/ # QEMU runner and disk images
├── script/ # Build scripts and helpers
├── Build.sh # One-command build script
├── Cargo.toml # Rust workspace
├── SYNTAX.md # QCLang language spec
├── CLI.md # CLI reference
├── CONTRIBUTING.md # Contribution guide
- Rust (nightly toolchain)
- QEMU
git clone https://github.com/Asmodeus14/Nyx.git
cd Nyx./Build.shThis builds the entire Rust workspace and prepares QEMU disk images.
./runner/run-qemu.shSee CLI.md for advanced options and debugging flags.
fn main() -> int {
// Affine quantum register
qreg q[2] = |00>;
// Create superposition
H(q[0]);
// Entangle qubits
CNOT(q[0], q[1]);
let r1: cbit = measure(q[0]);
let r2: cbit = measure(q[1]);
// r1 == r2 due to entanglement
return 0;
}Full language specification available in:
SYNTAX.md
Nyx welcomes contributions from developers interested in:
- Operating systems
- Rust kernel development
- Quantum programming languages
- Quantum simulation
- AI-driven systems
- Security engineering
Ways to contribute:
- Bug reports
- Documentation improvements
- QCLang language features
- Kernel enhancements
- QEMU testing infrastructure
Please read:
CONTRIBUTING.mdCODE_OF_CONDUCT.md
before submitting pull requests.
Licensed under Apache License 2.0.
See:
LICENSENOTICE.md
for full details.
Nyx — because every great OS needs a bit of mystery and entanglement.
Let's build the future, one qubit at a time. 🖤