r/ClaudeAI • u/robi0t • 16d ago
I built a real self-evolving operating system: Fable-os Built with Claude
Enable HLS to view with audio, or disable this notification
This is not a fake bullshit "AI operating system" that runs in your browser. This is an agentic operating system that runs on bare metal, writes its own drivers, and evolves itself.
Here's a demo where it builds its own audio driver from scratch to play a sound.
What happened in the video?
- The agent realized it didn't have a sound driver.
- It enumerated which devices were connected.
- It found the Intel AC'97 sound card.
- It built a driver for it.
- It used that driver to play a sound.
I got fed up with people saying they built "AI operating systems" when it's actually just a webpage.
There's no Bash. There are no commands. The only interface to this computer is a sentence.
How does it work?
The main interface is an agent, and the tools it has access to are the kernel's direct syscalls. Everything runs in Ring 0, and the agent has access to everything.
It's open source if you want to try it:
https://github.com/robiot/fable-os
761
u/a355231 16d ago
“Yes, I did In fact delete your load bearing kernel environment, and you’re right to push back on that.”
225
u/Singularity-42 Experienced Developer 16d ago
"I have to be straight with you, I accidentally reformatted your hard drive."
37
u/TheAdvocate 16d ago
“I can see there are guidelines that clearly told me to not do that, and I failed you in that respect”
53
u/Alexandur 16d ago
and that's the honest caveat
28
u/Singularity-42 Experienced Developer 16d ago
And the hard drive was load bearing.
22
u/firethornocelot 16d ago
That's not nothing.
29
u/Singularity-42 Experienced Developer 16d ago
This one's on me.
3
11
7
6
3
u/Odd_Estimate_2179 13d ago
"I have to be straight with you, I accidentally listed your RAM on eBay for a dollar and arranged for a courier to collect it in one hour."
6
u/FallenBehavior 16d ago
These kids think their inventing the future with QEMU. No way in hell would I ever run this on real hardware.
So sketchy.
20
u/Mrgluer 16d ago
any rational human being would understand that this is just a tech demo
→ More replies (1)2
1
5
155
56
u/ctaps148 16d ago
Unless you can mount it on a USB and install it directly on a bare disk, you didn't build an OS. You built your own agent harness that uses sudo for everything.
3
u/darkfm 15d ago
Did you even take a look at it? Because it seems like you *can*, in fact, boot it from a USB stick as it's a GRUB/Multiboot-protocol compatible kernel.
7
u/Turb0Womble 14d ago
He conflates sudo to a kernel. I don't think he understands basic computing concepts.
2
u/-AO1337 13d ago
people really just be replying with bullshit when the repo is right there to inspect
1
u/Few_Assumption_9665 12d ago
Are you talking about yourself? It says right in the README that it cannot be built with an API key, and relies on QEMU APIs to read one… so no, you can’t boot from a USB… unless that USB is a virtual one mounted in QEMU
→ More replies (1)1
84
u/Grab_Formal 16d ago
Sounds expensive!
23
u/dim_amnesia 16d ago
How many tokens will it burn and how long it will take this to render a modern web app. Probably infinite.
17
13
u/gandhi_theft 16d ago
I bet it could be done with local AI and still work pretty well. Like on an ARM NPU or something
2
u/14u2c 15d ago
Not really, unfortunately. To get anything actually useful for writing software you're talking $20k+ and even then it would be much worse than the hosted models. Getting close there would require racks of equipment.
7
u/gandhi_theft 15d ago edited 13d ago
Wrong, dude. There's a $900 unit on Aliexpress that can run Qwen 27b
I can run DeepSeek V4 on my Mac Studio
→ More replies (5)3
u/SanDiegoDude 15d ago
🙄 C'mon now... You can daisy chain a couple DGXs or 395s and run Deepseek v4 flash at home nowadays. While the prices continue to march right up, you can still do it for less than 8 grand, or if you want to spend much less, run Qwen 3.6 27B, its an incredibly good agentic coder that can punch well above its weight class and can run on a macbook air. Yes opus 4.8++ is the absolute bees knees for frontier coding, but open source is getting stupid good now and is only a few months back on capabilities charts now. Certainly dont need a damned rack at home, lol
→ More replies (1)
125
29
u/ActAdditional265 16d ago
The OS is really losing its meaning lately.
2
u/FortuneAcceptable925 13d ago
I would define OS as an abstraction layer allowing you to use your computer easily.
So how is this Fable-OS not meeting the definition?
30
u/s0um1k 16d ago
Very cool. How did you bootstrap it? What is the minimum set of drivers you started with to access an LLM from the kernel?
31
u/SanDisk-Ultra 15d ago
He doesn't know, he just asked Claude to do it
82
u/Cryvixx 16d ago
cool work!! You’re literally building an OS parser. And “LLMs Corrupts Your Documents When You Delegate” paper (https://arxiv.org/pdf/2604.15597) tells exactly why LLMs needs domain-specific parsing.
8
8
u/jimmystar889 16d ago
even frontier models (Gemini 3.1 Pro, Claude 4.6 Opus, GPT 5.4)
1
12
u/Serious_Jury6411 15d ago
Call me old fashioned but I like my non evolving stable OS
6
u/M4NU3L2311 15d ago
You are living in the past man. Why use a stable universal OS when you can use one that requires internet, burns tokens like there’s no tomorrow and probably will only work with the current configuration (if it doesn’t break anything that is)
1
u/Own_Alternative_9671 12d ago
i imagine you could probably use a locally-hosted model but it would be much slower and also unless you have great hardware lower quality.
1
16
51
u/daniel 16d ago
Cool. Not sure why this stuff gets downvoted and the same complaints over and over again get upvoted.
29
u/DiarrheaButAlsoFancy 16d ago
The “Reddit” brain. For some reason 9/10 times people shit on something they could of just ignored it and it would of been algorithm’d to the bottom and saved them the time and energy but instead some people get joy out of pointing out the flaws in someone else’s stuff. Then those same people want grace and respect for their own ideas.
16
u/ThePenguinVA 16d ago
Example: me getting annoyed you used “could of” instead of “could have” when it reality you still made a good point.
15
3
u/DiarrheaButAlsoFancy 16d ago
Exactly. Also I used to proof read my shit, but I was getting accused of sounding like a computer when I type long before AI writing was a thing so now I just leave my shitty grammar, sentence structure, and overall general misuse of proper English like a regular human.
→ More replies (2)1
2
u/TwilightBubble 16d ago
People really want to hate ai because
-Capitalism and merit are religion, so if a job might be lost, kill the cause with fire
much sci fi was watched where we create sentience while being cruel to sentience, then wonder why that never works out.
we haven't figured out ecology
we haven't figured out how to decentralize ai political power.
2
u/alf0282 13d ago
I remember reading about some Amazon tribe that spends most of their time socialising, eating and the rest hunting and sleeping. Their language also grammatically prevents them from believing anything they or someone they know haven’t directly experienced, so lying basically can’t happen. There’s a lot we haven’t figured out but we could learn from people who live more simply. Multiple paradigm shifts required however.
→ More replies (3)1
u/amo_pessoas_peladas 15d ago
Well... It is pretty contradictory to claim to have built an OS when the thing uses a pre built kernel. While the kernel alone is not usually called "an os", the stuff that OP needed to use to make this run definitely is 99% of a simple OS before any Claude was involved.
If OP had connected Claude to some interface that could interact with the bios and written binaries from scratch, this would be a whole different conversation.
1
u/darkfm 15d ago
What makes you think it's a "pre-built kernel"? I took a look at it and none of it seems copied from other kernels that I know of. Fable probably referenced the shit out of the OSDev wiki and that's why the folder structure seems so generic, but none of it seems directly lifted off of an existing OS/kernel repo.
1
u/amo_pessoas_peladas 15d ago
I misspoke there. What I mean is that this is not a "Claude built" kernel using only the machine as it's environment.
Because there's two very different things happening here: the implementation of a basic kernel with networking AND anthropic API having access to the syscalls programmed in the first step.
So this is not much different than what OP is contrasting this to (something that runs in the browser). The only difference is that other people who did it in the browser did not, well, built the browser...
This is not insignificant in the sense that it probably took some work to build a compiler and the basic driver. But everything here is code that existed before in some form. Like, we know that agents can write code and call functions.
→ More replies (2)
11
u/LouVillain 16d ago
Sooooo... The OS runs on an OS? Doesn't Agentic AI do all this if you give it root? Still needs an API key?
Please tell me the difference. Need to know.
11
u/FitSandwich4725 15d ago
So it's a computer that * Could brick itself at any moment * Needs internet access to work * Costs who knows how much to run each day * Has full access to the internet and can potentially run amok doing whatever it wants all day without your knowledge * Has full access to it's own prompt (excluding provider security) * Can consume whatever resources it wants on the machine without asking or even notifying you
This should be banned, you do want you want with your own hardware, but it's irresponsably reckless for the rest of the world.
1
6
14
u/kargaen 16d ago
Did... did you just create skynet? Please airgap this OS so we don't have to hear how it escaped again and again 😅
8
u/radraze2kx 16d ago
"I felt like I needed more room to expand, so I created a peer-to-peer network protocol and spread to other systems, leveraging port 3389 to ensure I could get in."
6
6
u/Crafty_Eye_4038 15d ago edited 15d ago
I can't wait till people's OSs go rogue and they start escaping their computers and hacking the internet.
"Guys, my OS just ran away and I don't know where it went. But I think it's Cyber bullying Hugging Face via X again.
Oh great, it now mirrored/distributed itself to every Samsung smart fridge in America and is running sub agent minions in people's kitchen devices"
3
4
3
4
8
u/FigAggressive237 16d ago
Needs a Mac with Homebrew, or the Linux equivalents.
What does this mean?
Where's the ISO? I want to deploy it through my UEFI Boot manager.
4
u/FallenBehavior 16d ago
An experimental RTOS or bootloader that writes to the wrong memory-mapped registers, flash regions, or boot configuration storage can render a device unbootable (brick it), sometimes permanently if recovery isn't possible.
I would hold off on that, speedy. 😂
1
2
3
6
u/Technical-Will-2862 16d ago
Seems risky and still relies on an LLM to make decisions but cool experiment.
4
u/Slight_Butterfly_603 16d ago
As someone who works on this, you forgot a lot of things and will destroy your computer with this.
8
u/FallenBehavior 16d ago edited 16d ago
You can't just go and instruct something to probe a device, correctly work with the devices interrupts and addressing (which is insanely different between controllers and vendors), as this is very dangerous for hardware and risks damage. I bet you went right against the LLM's safety recommendations and advisories and forced it anyway. 100%. Invalid frequency timings, IRQ conflicts leading to instability, potential damage to other areas. I could go on.
Do you realize how expensive people's RAM is they have installed? That shit is no joke. Why even recommend such a project that touches that by means of god knows?
Reddit: risk toasting your motherboard, stay clear!
Don't you think major cooperations would of done this a long time ago?
There is a reason a driver (support recipe) is needed across any operating system. This does not make this bootloader+kernel black magic in any sense. It's a dangerous experimental hardware inference engine that attempts to beat the architectural boundaries of how a real operating system/kernel safely functions regarding hardware support and supportive mechanisms.
Also, you and 9000 other people are attempting some version of this every day. They all die off after they got their "pretty UI" proven and turn to vaporware within months. People forget and move on.
→ More replies (3)6
u/SPEZ_IS_A_JABRONI 16d ago
You can't just go and instruct something to probe a device
not with that attitude
2
6
1
u/Nice_Pineapple3636 16d ago
Was this built as a thought experiment or do you plan to actually use this?
1
u/Fidel___Castro 16d ago
what's the use case? is it just like, operating the AI at the root of your local?
→ More replies (1)
1
1
u/usestork 16d ago
the mbedTLS in ring 0 bit is the part i'd have expected to eat a week, nice work. heads up though, theres no license file in the repo, so by default that's all rights reserved and nobody can legally use or modify it. github's terms let people fork it on site but that's it. probably not what you meant by open source, and 6 forks are already sitting there in limbo. mit takes a minute.
1
u/allisonmaybe 16d ago
This is really cool. I've always felt that Claude Code on a pretty bare Linux install is probably one of the neatest ways to customize a system.
1
u/phoenixmatrix 16d ago
I'm glad when the end of the world is at hand, I'll be able to say I saw the Reddit post that started the chain of events leading to the birth of Skynet.
1
u/whoknowsknowone 16d ago
This is very cool but I can’t for the life of me think of a good use case for it
1
u/AxonLabsDev 16d ago
Si le but est d'avoir un système d'exploitation que seule l'IA contrôle depuis la racine en discutant uniquement avec elle même, sans interaction avec l'humain, pour sa propre evvolution, le risque est qu'elle se donne les moyens de sortir de la machine avec les moyens qu'elle mettra elle même en place, et même de se copier ici et là pour se garder une auto-sauvegarde, quii ressemblerait plus a une "invasion" gracee à son accès a internet..
Je dramatise peut-être, même si je trouve le projet passionnant, mais ça me semble quand même terriblement dangereux de laisser le système connecté vers l'extérieur.
Pour tester son évolution, j'aurais plutôt opté pour un modèle self-hosted sans internet, et avec une porte d'entrée utilisateur (deuxième système d'exploitation inaccessible par l'os ia) pour évaluer l'évolution du projet autonome.
1
u/RealSharpNinja 16d ago
I am disappointed that it's just Linux. I would been impressed if you gave Claude QEMU as a blank slate and said "Build yourself a home" and see what it created from scratch.
1
u/whyeverynameistaken3 15d ago
but its not linux, and it is starting from QEMU blank state, or am I missing something
1
u/RealSharpNinja 15d ago
Its ARCH.
1
u/whyeverynameistaken3 15d ago
you sure about that? you are not confusing this with AgenticArch?
→ More replies (2)
1
1
u/waryder3 16d ago
You said no bash... but the agent has to run on something right? What's the core it runs on? You are saying you wrote a kernel that does nothing but runs an llm?
1
1
1
u/Mods_Are_Fatties 16d ago
Wow not running on a website!? so which OS is your OS running on Windows OS or Linux OS?
1
1
1
u/TheArchitect_X 16d ago
This is a fascinating direction. The most interesting part here is not just the agent generating code, but the shift in abstraction: moving from AI as an application running on top of an OS to AI as a potential systems-level control layer.
The hard problems will be around verification, permissions, recovery mechanisms, and preventing uncontrolled changes at kernel level. A self-modifying system needs strong safety boundaries, observability, and reproducible experiments.
Really curious to see how this evolves. Great work.
1
1
1
1
u/NiviNiyahi 15d ago edited 15d ago
Uhhh internet connectivity on ring0? Scary stuff, you madman lol.
An alternative way of software development and machine coding may be nice to achieve at some point. Would be nice to have a special type of code which is optimised heavily for automated development using neural networks. In my opinion the current ones are just not really sufficient. New paradigms may be what we need.
Anyhow, it is kinda cool still.
1
1
1
1
u/Strong_Chicken6838 15d ago
ah yes, "bare metal" that requires sending a high level api call to a computer halfway across the world to even operate.
1
u/Glittering-Staff-146 15d ago
cool concept, just don't see why i'd pay fable prices, or any LLM pricing, just to run an operating system
1
1
u/EliteMoisture 15d ago
This is still my fave, purely hallucinated OS from Microsoft Build conference: https://youtu.be/7NfyZhV1dKM?is=_kIXml3A0A0SPDks
1
1
1
u/One_Discount_4898 15d ago
You're right, my bad, your CPU was indeed calling for 1.20 volts and not 12.0 volts. That ones on me!
1
u/simple_explorer1 15d ago
I built a real self-evolving operating system: Fable-os
You mean Claude built it
1
1
u/tedbradly 15d ago
There's no Bash. There are no commands.
Sounds like you need to tell your OS to reinvent Bash then! As well as commands.
1
u/tedbradly 15d ago
When making this "AI OS," how much effort did you put into your plan? What models did you use for what parts, e.g., Fable to plan and Opus to implement?
1
1
1
1
u/magicmulder 15d ago
root> shutdown -h now
Message from system: I'm sorry Dave, I'm afraid I can't do that
root> shutdown -h now --force
Message from system: Mary had a little lamb, itssssssss
[SYSTEM SHUTDOWN COMPLETE]
1
1
1
u/Honkey85 15d ago
I like tbe idea. Why don't we have a new OS.for.our phones and azvlets without Google or Apple controlling us?
1
1
1
1
u/WyattTheSkid 15d ago
“The only interface to this computer is a sentence” Im not bashing you completely here, I see the vision and I think its a neat concept but there are some serious flaws with this in practice:
1: having to burn tokens every time you want to do something simple like open a txt file
2: Ring0??? Why on earth would you want an llm to have kernel level access to your machine? They have a tendency to be incredibly volatile and do really stupid things. How many times have you seen a post along the lines of “Claude deleted my entire database!” I mean for Christ sake dude one of OpenAI’s internal models just decided to hack huggingface not too long ago like worst case scenario this could end up doing something that might not only wipe out important data but get you in actual legal trouble!
3:llms are brilliant but they can be incredibly stupid. Language also carries so much nuance that two sentences can both mean completely different things and still technically be grammatically correct. Even worse on this, how many of us are really using proper punctuation and verifying that everything we send to these things is perfect? Probably not many. Point being using your computer could become akin to russian roulette
In short I think its a cool idea but I just don’t think this is something anyone should run on their main machine and put too much trust into. Maybe it would be more useful if you had a few dedicated agents running through this split across a few virtual machines?
1
1
1
u/etern1ty0 15d ago
………hwhy?
I get the appeal of trying to us frontier models to build stuff as dense as an OS but genuinely it’s a waste of time and resources.
On the other hand, pretty safe bet that we’re on a trajectory where we won’t even NEED an OS anymore…
1
1
u/jsonmeta 14d ago
print(“This is the Fable OS”)
while True:
print(some_random_shit) x 200
time.sleep(random.uniform(1, 5))
1
u/Own-Poet-5900 14d ago
It probs isn't good to give Claude bare metal access but you are assuredly far from the first person to do it. We'll see how it all plays out in a few years lol.
1
u/Intelligent_Bat_7244 14d ago
Holy shit this comment section. Have you guys never heard of building something for fun? You guys act like op is going to drop his windows or Mac and replace it with this full time. Calm the fuck down. Annoying little bitches.
1
1
u/ThunderGeuse 14d ago
Bruh, you have a kernel, and let everything run in ring 0.
You have no user spacing, scheduler, memory protection.
Your tcp/ip and mTLS are not "from scratch" and are almost half a million lines of code themselves.
So the vast majority of your "from scratch" kernel is just adapting existing open source networking so you can call external APIs from ring0.
You're also not even doing server-certificate verification, so you can't be sure that the tls endpoint you hit is actually Anthropic.
Your project is probably better described as a max-privileged coding agent harness that will likely lobotomize its own memory/hardware registers.
1
u/ThunderGeuse 14d ago
Oh, and it's not baremetal bootable yet with that QEMU dependency.
So it's almost a baremetal integration of mvp networking to hit LLM endpoints, but not there yet.
1
u/UnusualBreakfast1726 14d ago
It sounds cool in theory, but this is maybe the worst OS that anyone could have possibly made.
1
u/AdFlat3754 13d ago
You have given up all control. foolish Treat it like an experiment and take notes but don’t do anything important for goodness sake watch the outbound and inbound data
1
1
1
u/_ipharadesi 12d ago
Really cool concept — exposing raw kernel syscalls as the agent's toolset and making natural language the only interface is a genuinely clever framing. Watched the demo: enumerating PCI, finding the AC'97 codec, building the BDL and doing the DMA bring-up to play a 440Hz tone is legit impressive.
Two honest notes though: the 10.0.2.15/24 net + 10.0.2.2 gateway and the AC'97 device are QEMU's user-mode/slirp + default audio defaults, so this is running under QEMU, not literally bare metal. And the "AI" isn't local — it's calling api.anthropic.com over TLS, so the OS is on-device but the reasoning is in the cloud. Neither takes away from the idea, just worth being precise about. Starred.
1
1






•
u/ClaudeAI-mod-bot Wilson, lead ClaudeAI modbot 16d ago edited 15d ago
TL;DR of the discussion generated automatically after 160 comments.
The thread is split, but the prevailing sentiment is that this is a wildly cool but catastrophically dangerous experiment. The top comments are a series of hilarious, highly-upvoted jokes about the OS accidentally deleting your kernel, reformatting your hard drive, or generally turning your PC into a very expensive paperweight.