AionOS – self-healing microkernel in Zig (boots on real hardware)

rodancz1 pts0 comments

GitHub - rodancz/aion: Aion — AI self-healing microkernel. Detects crashes, analyzes them via AI, hot-patches the kernel in under 2 seconds. · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

rodancz

aion

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

master

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>20 Commits<br>20 Commits

.zig-cache

.zig-cache

iso

iso

src

src

.gitignore

.gitignore

README.md

README.md

build.zig

build.zig

install.sh

install.sh

run.sh

run.sh

run_qemu.sh

run_qemu.sh

View all files

Repository files navigation

AionOS — AI Self-Healing Microkernel

A self-healing operating system written in Zig. Layer 3 can crash — the microkernel's AI daemon analyzes the fault and hot-patches the running kernel in under 2 seconds. No reboot required.

Alpha v0.1.0 — ~6000 lines of Zig.

Architecture

Microkernel (stable, never crashes)<br>├── VMM (4-level paging)<br>├── PMM (bitmap allocator)<br>├── kmalloc (slab allocator)<br>├── Watchdog (heartbeat monitor)<br>├── AI Daemon (crash analysis + rebuild)<br>├── ATA PIO driver (disk read/write)<br>├── FAT32 driver (real filesystem)<br>├── Virtual filesystem (ramfs)<br>├── Network stack (e1000, DHCP, TCP, UDP, DNS, HTTP, TLS)<br>├── Crypto (SHA-256, AES-128, RSA-2048, TLS 1.2 client)<br>└── Layer 3 (modifiable, can crash)<br>├── Shell (20+ commands)<br>├── Text editor<br>├── VFS (ramfs)<br>└── IPC queue">CPU -> Microkernel (stable, never crashes)<br>├── VMM (4-level paging)<br>├── PMM (bitmap allocator)<br>├── kmalloc (slab allocator)<br>├── Watchdog (heartbeat monitor)<br>├── AI Daemon (crash analysis + rebuild)<br>├── ATA PIO driver (disk read/write)<br>├── FAT32 driver (real filesystem)<br>├── Virtual filesystem (ramfs)<br>├── Network stack (e1000, DHCP, TCP, UDP, DNS, HTTP, TLS)<br>├── Crypto (SHA-256, AES-128, RSA-2048, TLS 1.2 client)<br>└── Layer 3 (modifiable, can crash)<br>├── Shell (20+ commands)<br>├── Text editor<br>├── VFS (ramfs)<br>└── IPC queue

Features

Category<br>What

Self-healing<br>crash kills Layer 3, AI rebuilds in

Filesystem<br>VFS (RAM) + FAT32 (real disk) read/write

Editor<br>Built-in text editor (/s save, /dN delete, /iN insert)

Persistence<br>save to FAT32 disk, load back, survives reboots

Network<br>e1000 NIC, DHCP, TCP stack, DNS resolver

Crypto<br>SHA-256, AES-128-CBC, RSA-2048, TLS 1.2

Shell<br>cd, ls, mkdir, cat, write, rm, edit, ip, ai, +more

Display<br>VGA text mode + GOP framebuffer

Keyboard<br>PS/2 with IRQ + polling fallback

Commands

FILES: ls cd mkdir cat write rm edit<br>DISK: storage save load<br>SYS: info who mem uptime ver clear logo reboot<br>NET: net ip ai<br>DEMO: crash rebuild

Building

# Requires: Zig 0.15+, NASM, grub-mkrescue<br>zig build # Build kernel<br>./run.sh # Create aion.iso<br>./run_qemu.sh # Test in QEMU

Install

sudo dd if=aion.iso of=/dev/sdX bs=1M status=progress && sync<br># Or use the installer:<br>sudo ./install.sh

Boot from USB in UEFI mode (disable Secure Boot).

License

MIT — built by anon.

About

Aion — AI self-healing microkernel. Detects crashes, analyzes them via AI, hot-patches the kernel in under 2 seconds.

Resources

Readme

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

stars

Watchers

watching

Forks

forks

Report repository

Releases

No releases published

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

Zig<br>96.3%

Assembly<br>2.5%

Other<br>1.2%

You can’t perform that action at this time.

microkernel crash self healing aion reload

Related Articles