A high-performance operating system for fast, concurrent systems.
Arachne is a modular real-time operating system (RTOS) designed for AI-native workloads. It is built from scratch to support compiler-aware OS design and efficient on-device machine learning.
- Modular, preemptive kernel
- Deterministic task scheduling for real-time AI inference
- Compiler-aware runtime hooks
- Lightweight threading and message-passing
- Real-time memory management for concurrent workloads
- Simulated peripheral support (UART, timers, GPIO)
- Languages: C++, x86-64 Assembly
- Platform: Bare-metal, QEMU-compatible x86
- Build System: Make, NASM, LD
- Architecture: Modular design supporting multiple architectures (currently x86_64)
- GCC/G++ compiler (
gcc,g++) - NASM assembler
- GNU Linker (
ld) - GRUB utilities (
grub-mkrescue,grub-pc-bin) - xorriso (for ISO creation)
- QEMU (
qemu-system-i386orqemu-system-x86_64)
# Clone the repository
git clone https://github.com/harris2001/Arachne
cd Arachne
# Build for default architecture (x86_64)
make
# Or specify architecture explicitly
make ARCH=x86_64
# Run in QEMU (opens graphical window)
make run
vncviewer localhost:5900
# Run in headless mode with serial output
make run-headless
# View build configuration
make info
# Clean build artifacts
make clean- x86_64 (default) - 32-bit protected mode, i686 target
- More architectures coming soon: ARM, RISC-V
# Run automated CI test
make test-ciArachne/
├── build/ # Build artifacts
├── devs/ # Developers setup (if you want to contribute)
├── icons/ # Project icons and logos
├── src/ # Source code
│ ├── impl/ # Architecture-specific code
│ │ └── x86_64 # x86_64 implementation
│ └── common/ # Architecture-independent code
├── targets/ # Build targets and configurations
│ └── x86_64/ # x86_64 target configuration
├── kernel/ # Scheduler, memory, syscalls
├── drivers/ # Basic device drivers
├── libs/ # Standard libraries and helpers
├── user/ # User-space test programs
├── tests/ # Unit and integration tests
├── docs/ # Design documentation
├── Makefile # Build script
└── README.md # Project overview
Architecture notes and design documents are available in the docs/ directory.
Contributions are welcome! Please fork the repository and submit a pull request. For larger changes, please open an issue first to discuss your ideas.
This project is licensed under the MIT License.