r/osdev • • Jan 06 '20

A list of projects by users of /r/osdev

Thumbnail reddit.com
184 Upvotes

r/osdev • • 7h ago

Dunit Window Manager (DWM) running on bare metal on my laptop! (Dunit OS)

Post image
11 Upvotes

The system feels pretty stable so far, and USB mouse drivers work just as they should. Sitting at 134MB RAM usage with the full GUI running.


r/osdev • • 1h ago Bravo

LexiSuite ad31b74: my all-Rust local AI stack gets its own AI agent (LexiAgent, 81,000 lines), crypto that survives a broken RSA or "P=NP" (every signature doubled, a one-time-pad channel), and Qwen4-35B at 135 tok/s on one 7900 XTX, ahead of llama.cpp b13023 & New MedGemma2 support is now available

Thumbnail
github.com
1 Upvotes

I'm building a local AI platform from scratch in Rust: its own kernel (LexiKernel), OS (LexiOS), inference engine (LexiEngine) and control panel (LexiPanel), one USB image, no cloud. A new development image went out today, five days after the last post (996260c). 711 changes this time, and the biggest release so far: the code base grew by 394,000 lines to 2.51 million lines of Rust in 528 crates.

LexiAgent: an AI agent of my own, from the first line

55 crates, about 81,000 lines, 989 tests, no third-party crates. It works with the model you run yourself on LexiEngine (this machine, another one on your network, or through the Panel), not with a cloud model.

What it does:

- Carries a task from request to done: plans, keeps a task list, calls tools in order, stops on Ctrl-C together with every command it started. Helpers take sub-tasks inside limits they cannot escape.

- Reads a project: fast bounded search, and source navigation (symbols, definitions, references) without a language server. Project memory files and a digest of the project keep the context across a long session.

- Changes files safely: exact edits, new files and multi-file patches as one transaction, each undoable. It reads the patch formats models already write, the way GNU patch reads them.

- Runs commands in a real terminal with background jobs and a read-only fast lane, every command inside a sandbox.

- Git with fixed argument lists and no shell, qualified against a real repository (amend, forced reset, clean, branch delete). Off unless switched on.

- Web pages and files through my own HTTP client, from the origins you allow, treated as data.

- Model Context Protocol client for outside tool servers, every tool behind the same gate. Servers a project lists are imported for approval, never started unasked.

- Skills, slash commands, specialist definitions, hooks and plug-ins in the formats people already use, plug-ins installed into a private store pinned by digest.

Why I would let it near my own machine:

- One gate decides every call: mode (plan, ask, edit, auto), the person's rules, the person's answers. A project's settings can only narrow what you allow, never widen it. Approvals on the interactive screen are typed by a person, so the model cannot approve itself.

- On Linux every command runs under kernel-enforced confinement: it sees only what the session allows, reaches the network only through a proxy, and dies with the session. macOS has its own confinement.

- Secrets are found before a file is read and removed before the model sees them.

- A shield marks and contains whatever tools and tool servers bring back: text that tries to give orders stays data. A red-team corpus of attacks runs against the assembled session parts.

- Every decision and action goes into an append-only, chained record that can be verified afterwards.

- The Panel has a LexiAgent page: start a supervised session against a model instance you pick, answer its questions, stop it. The agent pairs with the Panel over the suite's own two-signature TLS.

- lexi-agent doctor tells you, check by check, what this build and this machine provide.

Built for the day the math breaks ("P=NP hardening")

Almost all security today rests on RSA and elliptic curves staying hard to break. If quantum computers or an AI-found shortcut toward P vs NP make them easy, everything signed with them opens. I rebuilt the suite so that no single broken assumption opens anything:

- My own Rust implementations of the new standards: ML-KEM (FIPS 203), ML-DSA (FIPS 204), SLH-DSA (FIPS 205), LMS/HSS (SP 800-208), SHA-3 and Shamir secret sharing, every parameter set checked against the official test files and an independent implementation.

- Every signature is doubled: a classical one plus one from another family (lattice, or hash-based that rests only on a hash function), and both must verify. Updates, the trust store, provenance, enrollment, image identity, licenses, evidence, release decisions, fleet actions, the Panel's certificates.

- Key exchange mixes unrelated methods: my own TLS 1.3 with the hybrid group and a pre-shared secret mixed in, one session key from several exchanges that share no math. LexiOS's SSH does the hybrid exchange first.

- LexiKernel's own boot chain now requires a hash-only signature (SLH-DSA-SHA2-256s) beside RSA on every owner-signed boot object. PC firmware itself can only check RSA on the very first loader; that one link is the firmware's.

- Vault keys are wrapped so one broken algorithm opens nothing; key backup is printed shares, 3 of 5.

- And for the owner's approvals, a one-time-pad channel made from a hardware randomness source: the one kind of encryption no computation breaks, P=NP included. The pad store was killed with SIGKILL at every step of reserve-then-use and never moved backwards.

- The release gate refuses any new use of RSA or a curve alone, so it cannot drift back.

Qwen4 on the card

- Qwen4-35B-A3B writes 99.5 tok/s after a short prompt against 92.5 on llama.cpp b13023, and 89.8 against 80.8 after 57,550 tokens of prompt.

- With the draft head built into the model file: 117.7 to 134.9 tok/s. The full model checks every drafted token, so the answer is the same token for token, only faster.

- It reads pictures on the card: on five test pictures the card wrote exactly the words of the processor path.

- Its own template, reasoning levels by the template's own names, required and named tool choices enforced (grammar on the processor, device allow-list on the card), thought kept apart from the answer on every API route.

- Attention cache in F16, Q8_0, Q6_0, Q4_1, Q4_0, rotated 4-bit or IQ4_NL, keys and values in different formats if you like.

- Found while measuring: the previous version fell from about 100 to 46 tok/s after some 30 requests (the engine reshuffled experts when the whole model was already on the card, and one evicted expert sent routing to the processor for good). Fixed: 70 requests in a row now all run at 102 to 104.

MedGemma 2 and Gemma 4

- Straight from the BF16 checkpoint to a quantized file in one pass with my own quantizer, the 26B-A4B mixture-of-experts layout on the card, picture input through the vision tower on the card, tool calls in Gemma 4's own format read as structured calls.

- MedGemma 2 E4B writes faster than llama.cpp up to about 14,000 tokens of prompt: 148.8 / 140.9 / 125.1 against 130.5 / 125.2 / 118.0 tok/s.

Pictures, video, voice and sound in the engine

- Image diffusion from a checkpoint (conditioner, DiT, VAE, scheduler on the chosen device), image editing from reference pictures, adapters merged per request, upscaling, Qwen-Image 2.1 on a Radeon card as a build option.

- Video generation (LTX stage family) into a real container, and video understanding in chat (H.264 decode and frame sampling into the prompt).

- Kokoro text to speech on my own graph library, Moonshine streaming recognition, speech from codebooks, live two-way voice sessions, sound input in chat.

- In the Panel: pictures made by LexiEngine, speech in and out, and a media model library.

Also new

- New model families on the processor: GPT-OSS, Mistral, Phi, and the diffusion text models LLaDA and diffusion Gemma. Experts read from an SSD through a signed manifest.

- My own quantizer as a Panel tool with recipes, a per-tensor table, progress and cancel. NVFP4, MXFP4 and FP8 products on Vulkan, exact NVFP4/MXFP4 import, 4-bit weights with 8-bit inputs on RDNA 3 integer dot products.

- The processor path computes exactly now (no 8-bit rounding of inputs), with fused AVX2 kernels that do it with less work.

- 21 template fixes, tokenizer fixes, Hermes-style tool calls read and written by the engine.

- LexiOS: a change authority with a TPM 2.0 anchor that cannot be rolled back, a control socket the engine reads to place itself on the right cores and memory, authenticated crash evidence.

- LexiKernel: a long list of new hardware support (NVMe recovery, xHCI, AHCI, USB4, TPM2, chipsets, Intel Macs, ARM boot, and detection of many accelerators).

- My own AMD code-object writer on my own RDNA 3 instruction encoder, and a KFD transport with a device-resident executor for my kernel IR.

- The Panel speaks 45 languages, every tab was read on a live engine and corrected, settings are offered per model family, and its gateway serves /v1/responses and /v1/messages with quotas.

- Windows installer with the Panel, the engine, the agent and six helpers, registered as services on an all-users install.

Speed, one Radeon RX 7900 XTX at 291 W, one request at a time, newest builds of the other engines on the same card and files

- Qwen4-35B-A3B: 99.5 tok/s writing, 134.9 with its draft head (llama.cpp b13023: 92.5). After 3,659 / 14,339 / 57,550 tokens: 92.6 / 91.9 / 89.8, with the draft head 120.9 / 120.3 / 117.7 (llama.cpp 90.8 / 89.6 / 80.8).

- Inkling-2-Mini against Strata 0.2.28, 8-bit cache on both (Strata's 4-bit cache is refused on this card): 4,096-token prompt read at 2,589 tok/s (2,302), then 75.6 tok/s writing (64.9). 261,632-token prompt read at 1,228 tok/s (828), then 57.9 tok/s writing (12.7).

- Qwen3.8 Flash-Next (94 GB) on the same 24 GB card: first token after 16k / 64k / 256k prompts in 36.3 / 136.4 / 572.1 s.

Things I am not hiding

- llama.cpp reads long Qwen4 prompts 1.5 to 3 times as fast (2,427 / 2,566 / 1,808 against 845 / 1,066 / 1,217 tok/s).

- On MedGemma 2 26B-A4B llama.cpp is clearly ahead (136.3 against 94.3 tok/s writing, 8 to 13 times faster reading prompts): my engine still runs that model's experts one token at a time while reading a prompt. IQ4_XS expert kernels for it are already in progress.

- At 56,123 tokens of prompt llama.cpp writes faster on MedGemma 2 E4B (97.5 against 86.4).

What it is not, yet

- No physical machine has booted this version yet; its nine Secure Boot checks and the install to a disk ran in a virtual machine.

- The Windows installer is built and tested on Linux and has not run on a Windows PC.

- LexiAgent's desktop control (screen, input, accessibility tree) is in the source with its tests but not yet in the program.

Tested: 22,536 tests passed in the full run (LexiOS with LexiKernel 8,822, the engine 7,757 including its device tests on the 7900 XTX, the Panel 5,957), nine boot checks and an 18-step install to a disk.

Links: lexipanel.com/download (about 1 GB image). Release notes, the full change list and the new LexiAgent page are in the wiki of the LexiSuite-Releases repository on GitHub.


r/osdev • • 20h ago

Dunit OS running on bare metal on my laptop!

Post image
29 Upvotes

USB liveboot for now since NVMe isn't wired up yet (only regular SATA). Really stoked that the PCI scan at least caught my NIC (1 detected, 0 supported) on modern laptop hardware.


r/osdev • • 15h ago

Milestone 3, IRIX x64 booted with 4dwm

Thumbnail
reddit.com
0 Upvotes

r/osdev • • 15h ago

Haiku compositing app_server RC1

Thumbnail looncraz.net
1 Upvotes

r/osdev • • 1d ago

Complexity ?

5 Upvotes

Why do people (especially those in this subreddit) try to complicate everything? You don't have to be an engineer to give your opinion about a hobby. Most people say "it has to be modern, it has to be sophisticated, it has to be cool.". A post from someone who manually typed a small "Hello World" is far more engaging than hundreds of thousands of lines generated by AI. When I make a post, they tell me, "You're talking like a drunk without any evidence or sources.". Or they say, "You are forcibly imposing your own beliefs and opinions on others.". I'm not forcing anyone; I'm just expressing my opinions and offering advice. Whether you follow them or not is up to you. I should also mention that creating your own operating system is not the same as making a copy of Linux. If you do what everyone else is doing or what's popular, you're going to fail. They tell me "you're posting aimlessly, you're not constructive," its ridiculous. They judge everything negatively, they approach things with prejudice; these people are fools. I also find it hilarious when people claim to have developed things like window systems, video players, and browsers in a month or so, because those are things that can only be done in 10-15 years, so their projects are AI sloping. They're only trying to appear professional to stand out and receive praise among other posts. They constantly point to the same foolish rules, saying "be constructive, don't be radical, be lenient.". But I'm none of those things anyway. I hate

Linus Torvalds' quote, ""Talk is cheap, show me the code."". OSDev is getting boring; most posts try to get praise by using a lot of complex technical terms. Why doesn't anyone care about simplicity? I can't keep up with the complexity of modern things, it's exhausting. I don't always have to do what's right and modern; maybe my operating system is risky in terms of memory security, something that doesn't meet the requirements of the modern world, but I like it that way, it's my style, and I shouldn't have to be ostracized or ignored because of it.


r/osdev • • 1d ago

CCP

2 Upvotes

I have written a modular, portable operating system.

https://github.com/darkavengr/CCP/releases/tag/CCP-v0.0.1-alpha


r/osdev • • 1d ago

Got GDT working

9 Upvotes

GDT was something else, it felt so oddly abstract and the explanation that was in the OSDev wiki didn't really hit me but I pushed and got it working


r/osdev • • 17h ago

Introducing VancOS โ€“ An Independent Operating System Project

Thumbnail
gallery
0 Upvotes

โ€“ An Independent Operating System Project

Hello everyone!

I'm the developer behind VancOS, an independent operating system project built with the goal of evolving beyond a basic experimental OS into something more practical and useful for everyday computing.

VancOS is based on PDOS and aims to take that foundation further with its own architecture, components, and development direction.

๐Ÿ’ก What is VancOS?

VancOS is an ongoing project focused on building a more complete operating system experience.

Some of the areas I'm working on include:

- VancDisplay: A dedicated display system.

- VancAPI: An API layer designed to connect system components and applications.

- VFS: Virtual File System development and filesystem management.

- System Architecture: Improving the core structure and expanding system capabilities.

- Everyday Usability: Moving toward a more practical operating system experience.

๐ŸŽฏ My Vision

My goal isn't just to create another experimental OS. I want to develop VancOS into a project with its own identity, architecture, and ecosystem.

There is still a lot of work ahead, and I'm continuously improving the project.

๐Ÿ”— GitHub Repository

https://github.com/azemyusufyildiz-crypto/vancos

I'd really appreciate feedback from developers, OS enthusiasts, and anyone interested in operating system development.

What do you think about the idea? What would you improve or add to VancOS?

Thanks for reading! โค๏ธ


r/osdev • • 1d ago

My question maybe stupid but...

0 Upvotes

Why are systems created with the help of artificial intelligence (note that I said help not request) often disliked by many?

I'm not referring to systems built through prompts like "build me a professional operating system" but rather systems where AI genuinely contributed to the development process.

For example imagine a developer who designs and builds the core architecture of their own operating system while AI assists in developing the remaining components with roughly a 50/50 contribution.

Would such a system still be considered an AI-generated project? And if so why should that necessarily be viewed negatively?


r/osdev • • 2d ago

I got nvme working on WindogeOS

Post image
16 Upvotes

It's not that bad compared to SATA this time ๐ŸฅฒโœŒ๏ธ
https://github.com/NoTheIdiot/WindogeOS


r/osdev • • 1d ago

Ounce-Core v1.0 release

0 Upvotes

What I've been building: Imagine building a miniature, software version of a modern computer chip (the same kind of ARM64 chip inside iPhones, Macs, and cloud servers) โ€” completely from scratch, in code โ€” so you can run real Linux programs inside it and prove that every single calculation matches a real physical chip down to the last bit.
That's what Ounce-Core is. Instead of just trusting that a simulator "probably works," I built three different engines inside it (a careful step-by-step engine, a faster translator, and a high-speed native compiler) and wired them up to automatically check their answers against real ARM hardware.
Why what I finished today is a big deal:
It runs real everyday Linux programs โ€” including Python. Today I got real, unmodified Ubuntu Linux tools like grep, sed, sort, awk, gzip, tar, git, and Python (running real math, JSON, and cryptography libraries) working inside my own virtual chip and Linux layer. Getting real Python to boot and run inside software you built yourself is a huge milestone.
It passed brutal, industry-standard accuracy tests. It ran Berkeley TestFloat (the gold-standard test for decimal math accuracy โ€” zero errors across 85 test suites), 5.2 billion instructions of a real hashing library (xxHash, 49,948 tests, zero mismatches), and hundreds of tests from real open-source Rust and Arm libraries โ€” matching real hardware bit-for-bit.
I taught it modern chip features and made it twice as fast. I added support for newer ARM chip instructions (including modern vector math used by compilers to speed up heavy loops) and cut the main engine's run time in half on a 3-billion-instruction physics benchmark.
It's officially ready for version 1.0.0. Everything is tested, documented, and locked down into a clean, stable 1.0.0 release โ€” website, docs, and safety checks all green โ€” ready to launch on Monday.
In short: I built a verified virtual computer chip from scratch that can run real Python and Linux programs accurately enough to match physical silicon, and I just got it across the finish line for its 1.0 release.


r/osdev • • 2d ago

looking for help with the scheduler

2 Upvotes

The scheduler is only just started: I have a header and a bit of code with the task definition. I'd also welcome help with memory management and other parts of the system.

.

Project features:

- microkernel written from scratch (USB, networking and disk drivers in the kernel)

- x86_64 (BIOS and UEFI), ARM64, RISC-V; x86 comes first

- boots via Limine

- Rust, C, Zig, C++ and Assembly

- the scheduler is written in C, Zig is also welcome

- GPLv3 with an exception for userspace programs and drivers

.

Contributing:

- no AI-generated code

- open a pull request with your changes

- I review what changed

- wait for it to be accepted

.

Repo: https://github.com/CTRL-F-0rg3/KosixOS

Website: https://kosixos.dev

.

About: the project grew out of experiments started in 2017 under the name LightOS. Kosix OS is the target system, built from a clean slate, not another experiment.

.

By the way, I didn't know that reddit supports markdown until recently, I just read about it


r/osdev • • 2d ago

ToneOS

Thumbnail
reddit.com
0 Upvotes

r/osdev • • 2d ago

Exploring Nuttx: Which Issue should I try?

Post image
4 Upvotes

r/osdev • • 2d ago

[Progress Update] 31 days building HELLCORE OS

Thumbnail reddit.com
0 Upvotes

r/osdev • • 2d ago

Custom OS

0 Upvotes

Heyo so I'm interested in starting a long-term project called (nam of OS which I haven't decided yet) OS.

My vision is to eventually build an Android-based operating system with its own UI, system-level customizations, performance optimizations and AI integration. I'm also interested in exploring the possibility of developing an independent OS in the distant future.

I currently own an Acer Iconia iM11-22M5G (MediaTek 8791T, 8GB RAM), which initially inspired this idea because of its uncertain Android update situation.

However, I want to approach this seriously rather than blindly experimenting.

I don't have sufficiently powerful hardware or the budget to afford repeated failed builds and Experiments. I'd therefore like to connect with someone experienced in:

- Android Open Source Project (AOSP)

- Linux/Ubuntu development

- Linux kernel development

- Android device trees, HALs and bootloaders

- Custom ROM development

I'm particularly interested in finding an experienced collaborator or mentor who can help evaluate the technical feasibility and guide the project.

I'm willing to contribute to research, planning, UI/UX design, documentation and development wherever I can.

I'm not expecting someone to do all the work for me. I want to learn, collaborate and build something meaningful over time.

If you've worked on Android ROMs, Linux distributions or OS development, I'd genuinely appreciate your advice.

Thanks!


r/osdev • • 3d ago

Update on the OS, Serial now works!

Post image
16 Upvotes

Now I have serial working, a minimal but working libc and libk.
So happy rn.


r/osdev • • 3d ago

Does this count๐Ÿ˜…

Thumbnail
gallery
93 Upvotes

r/osdev • • 2d ago

Rust?

0 Upvotes

Lately, many people have started using Rust in osdev(and any branch of programming) like fools. Who would use Rust when C is available? It's complete foolish.

Most of these people already know the most about osDev, which is opening Claude AI and saying "make me an OS".


r/osdev • • 3d ago

Basic OS, but with my own compiler

Thumbnail
gallery
45 Upvotes

After creating a compiler for my own custom programming language, I decided that it is only natural to try creating an operating system out of it! (The image here is from my work in `dev` branch.)

Note that I am still using i686-elf-gcc as a linker, since linker is an awful thing to make for myself :(

Github - Penux (Operating System)

Github - PP (The PP language compiler)


r/osdev • • 3d ago

Graphic Debian userspace running on Fuchsia (starnix)

Thumbnail
github.com
3 Upvotes

r/osdev • • 3d ago

Panuti 0.4: Pint rework, Install to disk, + more

2 Upvotes

github repo: https://github.com/chair1842/panuti

i feel so relieved finally releasing 0.4. this took longer than my last releases, at least that's what it felt like. i spent so much time on the pint rework, aughh gosh.

anyways:

Since 0.1 up to 0.3, Pint was untouched, a simple mount the cd and run the shell, but i knew that pint wasn't where i wanted it to be or where it was supposed to be.
Then i reworked pint, pint in it's current state is now a init + service supervisor. It gets target files from /dkr/pda/pint/targets and then builds a dependency graph.
Pint uses the graph to startup and shutdown the os. /dkr (before /cd) is mounted before startup by pint, pata first, if nonexistant, then cd.
As you can see from that, theres a bunch of text at bootup and shutdown. its pint status.
pretty cool no?

Now that /dkr was in place and the os didnt assume the os booted from a cd, i could now do install to disk.
pinstall (the install app) writes an mbr to the disk, installs grub there, formats the new partition to ext2, then copies the files in the cd environment to the disk, only the specific ones needed for panuti to boot and work properly.

pinstall uses ffs-ext2 to format the new partition to ext2, but the old version was fixed and not pwerful enough for pinstall, so i reworked ffs-ext2. now ffs-ext2 sizes the filesystem to the disk size with a new blkinfo syscall, and block size + bytes per inode can be adjusted.

And in the background are points, they are event nodes used for events or notifications. ive been thinking about these since before 0.1, but nothing needed them and i wass too lazy so not added.
Points can be waited on and activated, an activation means something happened. "activation" point
Adding the acpi power button point necessitated the addition of points so i added them.
Pint & pwerop are users of points, as pwerop activates the shutdown or restart points that pint provided so that pint can make things safely shutdown.

I added shebang to procreate, also script support for pur.
A ps/2 mouse device that i didnt even use at all this update and just there to add more stuff.
A bug made pinstall slow even if the disk image was in /tmp, so i fixed it.
Calc power operator
Nib counts, arrow keys, new motions + stuff

just take a look at the repo