AI-OS is an experimental, intent-driven, bare-metal operating system built entirely from scratch using Rust. Designed to be lightweight and futuristic, this OS explores the possibilities of integrating AI operations at the kernel level.
Currently, it successfully boots on x86_64 architectures using QEMU, featuring a custom panic handler and direct VGA buffer text rendering.
- Bare-Metal Rust Engine: Built in a
no_stdandno_mainenvironment, running directly on hardware without an underlying OS. - Custom Bootloader Integration: Uses the Rust
bootloadercrate to safely map memory and load the kernel. - Direct VGA Text Rendering: Interacts directly with the
0xb8000memory address to render colored text on the screen. - Safe Error Handling: Implements a custom hardware-level
panic_handler.
To build and run this OS, you need the following tools installed:
- Rust (Nightly Toolchain): Specifically, the
2023-10-31build for compatibility. - QEMU: For hardware emulation and testing.
- Bootimage: To compile the kernel and bootloader into a bootable disk image.
git clone [https://github.com/thejanubandarigoda/ai_os.git](https://github.com/thejanubandarigoda/ai_os.git)
cd ai_os