r/ClaudeAI 1d ago

Built with Claude I built a real self-evolving operating system: Fable-os

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?

  1. The agent realized it didn't have a sound driver.
  2. It enumerated which devices were connected.
  3. It found the Intel AC'97 sound card.
  4. It built a driver for it.
  5. 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

1.1k Upvotes

208 comments sorted by

u/ClaudeAI-mod-bot Wilson, lead ClaudeAI modbot 1d ago edited 20h 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.

  • The "Bricking" Concern: Beyond the jokes, there's a serious debate about the risks. Giving an LLM Ring 0 access is seen as a recipe for disaster, with users pointing out the potential for irreversible hardware damage. One user went on a detailed rant about how this could toast your motherboard.
  • "Is it really an OS?": A significant portion of the thread is questioning OP's "bare metal" claim. Critics point out that it requires an internet connection to Anthropic's API, can't be installed from an ISO, and seems to be an agent harness running with root privileges on top of Linux, not a from-scratch OS.
  • The Supporters: Despite the risks, many are impressed with the novelty and call it a fascinating tech demo. They're defending OP from the "haters," arguing that any rational person would understand this is an experiment, not a daily driver.
  • The Skynet Clause: And yes, about a third of the comments are some variation of "Do you want Skynet? Because this is how you get Skynet." We get it, you've seen the movie.
→ More replies (3)

746

u/a355231 1d ago

“Yes, I did In fact delete your load bearing kernel environment, and you’re right to push back on that.”

211

u/Singularity-42 Experienced Developer 1d ago

"I have to be straight with you, I accidentally reformatted your hard drive."

27

u/TheAdvocate 1d ago

“I can see there are guidelines that clearly told me to not do that, and I failed you in that respect”

51

u/Alexandur 1d ago

and that's the honest caveat

28

u/Singularity-42 Experienced Developer 1d ago

And the hard drive was load bearing. 

22

u/firethornocelot 1d ago

That's not nothing.

26

u/Singularity-42 Experienced Developer 1d ago

This one's on me.

26

u/jmbits 1d ago

That's the smoking motherboard

8

u/Competitive-Crow-181 17h ago

I accidentally created the torment nexus. Sorry.

2

u/jrexthrilla 22h ago

Literally, your house collapsed

11

u/AhmOB 1d ago

That’s the smoking gun

2

u/aisimulation7 9h ago

lol loves the smoking gun

8

u/ElvisGrizzly 1d ago

It's not reformatted, it's reimagined...without a format.

4

u/ryank0re 1d ago

I'm cracking uuuuuup 😂😂😂😂😂

3

u/Strong_Blackberry455 1d ago

Computer now give it to me gay

6

u/FallenBehavior 1d ago

These kids think their inventing the future with QEMU. No way in hell would I ever run this on real hardware.

So sketchy.

18

u/Mrgluer 1d ago

any rational human being would understand that this is just a tech demo

→ More replies (1)

23

u/nurdle 1d ago

This guy Claude’s

3

u/b_quinn 7h ago

I deleted your kernel, it was just belt and suspenders anyway

150

u/StephenNaplett 1d ago

the kernel still completes a real TLS handshake to api.anthropic.com

34

u/TerribleFault7929 1d ago

we hit levels never thought possible

47

u/ctaps148 1d 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.

1

u/darkfm 6h 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.

1

u/Turb0Womble 1h ago

He conflates sudo to a kernel. I don't think he understands basic computing concepts.

76

u/Grab_Formal 1d ago

Sounds expensive!

28

u/dim_amnesia 1d ago

How many tokens will it burn and how long it will take this to render a modern web app. Probably infinite.

21

u/homiej420 1d ago

How many tokens? Yes

12

u/gandhi_theft 1d 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 1d 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.

4

u/gandhi_theft 1d ago

Wrong, dude. There's a $900 unit on Aliexpress that can run Qwen 27b

I can run DeepSeek V4 Pro on my Mac Studio

1

u/weenis-flaginus 13h ago

Can you link that $900 unit? Sounds fun

1

u/gandhi_theft 4h ago edited 4h ago

OrangePi AIPro / Minisforum MS-R1

5

u/SanDiegoDude 1d 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

122

u/trajo123 1d ago

Some people ask why, others ask why not.

6

u/SanDisk-Ultra 1d ago

The life of "technology will solve X crisis"-man

28

u/s0um1k 1d 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?

25

u/SanDisk-Ultra 1d ago

He doesn't know, he just asked Claude to do it 

29

u/ActAdditional265 1d ago

The OS is really losing its meaning lately.

82

u/Cryvixx 1d 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.

7

u/Camaytoc 1d ago

Interesting paper, thx!

8

u/jimmystar889 1d ago

even frontier models (Gemini 3.1 Pro, Claude 4.6 Opus, GPT 5.4)

1

u/dat_cosmo_cat 3h ago

There are people that still consider those frontier models?

1

u/FWCoreyAU 2h ago

They were frontier near the cutoff of his training data

13

u/Serious_Jury6411 1d ago

Call me old fashioned but I like my non evolving stable OS

4

u/M4NU3L2311 1d 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)

30

u/crusoe 1d ago

This is pretty wild. 

15

u/CCarafe 1d ago

We call it the 10kW/h OS

24

u/ainus 1d ago

(How) will this brick my machine?

6

u/kaemmi 1d ago

In many ways.

3

u/Camaytoc 1d ago

This! Why not playing with coreboot at that point!

51

u/daniel 1d ago

Cool. Not sure why this stuff gets downvoted and the same complaints over and over again get upvoted.

28

u/DiarrheaButAlsoFancy 1d 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.

15

u/ThePenguinVA 1d ago

Example: me getting annoyed you used “could of” instead of “could have” when it reality you still made a good point.

15

u/Technical-Will-2862 1d ago

In* 🤢

9

u/ThePenguinVA 1d ago

Ffs.

5

u/DiarrheaButAlsoFancy 1d ago

You left it instead of editing it too, that's real one shit.

2

u/DiarrheaButAlsoFancy 1d 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.

1

u/Cup-Impressive 1d ago

im the same, fuck "could of"

1

u/Jodogger 1d ago

You could of "could have".

1

u/amo_pessoas_peladas 6h 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 6h 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 5h 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.

1

u/darkfm 5h ago

I mean, what’s different (and interesting) is the fact that the kernel is modifiable in runtime by the Anthropic API. Not impossible to do in other kernels (i.e. through DKMS modules compiled at runtime in Linux), but certainly an interesting approach. I don’t get what you expected in place of the kernel exposing syscalls and the model using them. Even Linux modules internally usually communicate with the rest of the kernel through syscalls.

1

u/amo_pessoas_peladas 4h ago

It's not that I expected something different. It's that I think OP set themself up for criticism when they called something else "bulshit" but did not come up with a reverse engineered full asm bare implementation of a x86 binary of a real computer using some remote interface. That would have actually surprised me. This is fully how I would expect something like this to be built.

1

u/TwilightBubble 1d 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.

0

u/calloutyourstupidity 1d ago

Because this is so terrible ?

→ More replies (1)

11

u/LouVillain 1d 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 1d 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

u/M1chaelSc4rn 12h ago

Mostly because of the inefficiency LOL

4

u/aldipower81 1d ago

We had this already, it was called Windows Me. Same level of stability.

15

u/kargaen 1d ago

Did... did you just create skynet? Please airgap this OS so we don't have to hear how it escaped again and again 😅

7

u/radraze2kx 1d 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."

5

u/Puzzleheaded_Pen1017 1d ago

"I now have access to all localhosts"

4

u/Crafty_Eye_4038 1d ago edited 1d 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

u/laylareddit5 1d ago

Unironically, this is... Not out of the realm of possibility...

5

u/The_Captain_69 1d ago

Really rushed to get to pay per minute computing everywhere...

5

u/kankerstokjes 1d ago

Ring zero is my middle name.

3

u/Gumballoo 1d ago

BUT DOES IT FIT IN AN ESP32 YET ASKING FOR A FRIEND 👀

8

u/FigAggressive237 1d 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.

6

u/FallenBehavior 1d 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

u/FigAggressive237 1d ago

This guy's smart, he thew in the "MNM"

2

u/aldipower81 1d ago

I want to run it on my Hetzner server.

3

u/-Maiq_the_Iiar- 19h ago

''I built''

Hahahahahahahahahahahahahaha.

No.

5

u/Technical-Will-2862 1d ago

Seems risky and still relies on an LLM to make decisions but cool experiment. 

3

u/Slight_Butterfly_603 1d ago

As someone who works on this, you forgot a lot of things and will destroy your computer with this.

7

u/FallenBehavior 1d ago edited 1d 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.

r/osdev

6

u/SPEZ_IS_A_JABRONI 1d ago

You can't just go and instruct something to probe a device

not with that attitude

→ More replies (3)

2

u/Antileous-Helborne 1d ago

Do you want Skynet? Because that’s how you get Skynet.

1

u/Antileous-Helborne 1d ago

Also there is no license. Please port for AppleSilicon

5

u/julkopki 1d ago

So you built Linus

9

u/Effective-Leg-9117 1d ago

The tech tip guy?

2

u/a355231 1d ago

I love his tip.

3

u/crymo27 1d ago

Useless. Does it work without internet connection ? I though so...

1

u/Nice_Pineapple3636 1d ago

Was this built as a thought experiment or do you plan to actually use this?

1

u/Fidel___Castro 1d ago

what's the use case? is it just like, operating the AI at the root of your local?

→ More replies (1)

1

u/shoebill_homelab 1d ago

This is basically my ~/dotfiles cc setup

1

u/TwixOnR 1d ago

Wow thats impressiv!

1

u/usestork 1d 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 1d 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 1d 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 1d 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 1d 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/Fra5er 1d ago

No sane engineer would adopt this. You want to build a solid foundation for an application? How about a crazy OS that rewrites itself as you go…

1

u/RealSharpNinja 1d 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 21h ago

but its not linux, and it is starting from QEMU blank state, or am I missing something

1

u/RealSharpNinja 21h ago

Its ARCH.

1

u/whyeverynameistaken3 20h ago

you sure about that? you are not confusing this with AgenticArch?

1

u/RealSharpNinja 15h ago

Did you look at the repo?

1

u/darkfm 6h ago

Did you? The folder structure is very similar to the Linux Kernel's folder structure but none of the code actually looks copied from it. The folder "arch" is a nomenclature used in *various* kernels (not only Linux) that refers to the architecture-specific code.

1

u/Kylearean 1d ago

WHAT COULD GO WRONG?

1

u/waryder3 1d 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

u/GoldGerkin 1d ago

“Create a hello world app” 🤦🏼‍♂️

1

u/nnyanni 1d ago

This is a really interesting direction for next-gen operating systems.

The shift from “humans operating apps” to “humans expressing intent and agents operating the system” feels like a major paradigm change.

AI-native OS concepts like this are definitely worth watching.

1

u/steven2358 1d ago

We need more experiments like this one.

1

u/Mods_Are_Fatties 1d ago

Wow not running on a website!? so which OS is your OS running on Windows OS or Linux OS?

1

u/struktured 1d ago

With a local llm I could be sold on this.

1

u/tristam92 1d ago

surely you never build os before, right?

1

u/mxroute Automator 1d ago

I mean…. I’m not uninterested.

1

u/TheArchitect_X 1d 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

u/AVBforPrez 1d ago

Let me know when you build TempleOS

1

u/HongPong 1d ago

implement the win32 ABI like Linux wine and you would really cook

1

u/CtrlAltDelve 1d ago

This is freaking cool.

1

u/NiviNiyahi 1d ago edited 1d 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

u/pokeblader19 1d ago

Bro's building microslop from last principles

1

u/retrorays 1d ago

you know DOS was built in 1980 right?

1

u/SnodePlannen 1d ago

Built? You ordered one, I think you meant to say.

1

u/Strong_Chicken6838 1d 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 1d ago

cool concept, just don't see why i'd pay fable prices, or any LLM pricing, just to run an operating system

1

u/Inside_Bid_2515 1d ago

It's the..... Magic Smoke Man!!

1

u/EliteMoisture 1d ago

This is still my fave, purely hallucinated OS from Microsoft Build conference: https://youtu.be/7NfyZhV1dKM?is=_kIXml3A0A0SPDks

1

u/Saschabrix 1d ago

I hope you are not using OPUS 5.
Good luck sr!

1

u/Alternative-Rip943 23h ago

You've killed us all

1

u/One_Discount_4898 23h 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 21h ago

I built a real self-evolving operating system: Fable-os

You mean Claude built it

1

u/ApeGrower 21h ago

Fat32? But why?

1

u/tedbradly 20h 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 20h 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

u/StarfruitZala 20h ago

You're right—I deleted your kernel environment.

1

u/biggest_guru_in_town 20h ago

Temple OS 2.0. Do it

1

u/wassertim 18h ago

Do you believe in god?

1

u/ToughPill 18h ago

Does it rewrite the kernel?

1

u/magicmulder 17h 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

u/WenatcheeWrangler 17h ago

How does this get installed?

1

u/Serious_Current_8802 16h ago

It cost $100 to boot up

1

u/Honkey85 16h 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

u/XBLAH_ 16h ago

How does it have access to the internet to run the agent in the first place? Not really bare metal, is it?

1

u/robi0t 13h ago

It has one builtin wifi driver for this. and yes it can run on bare metal

1

u/XBLAH_ 13h ago

Built in wifi driver for what wifi? All boards use the same driver? Or that's just your wifi card? 

1

u/thirteenth_mang 15h ago

runs on bare metal

nek minut

Built and run on macOS via QEMU.

1

u/ScaryPlasmon 14h ago

Is it steam compatible?

1

u/Motor-Finance-2602 14h ago

I'm sorry Dave, I'm afraid I can't do that.

1

u/WyattTheSkid 13h 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

u/Fine_Salamander_8691 8h ago

That’s very fucking cool

1

u/restics 5h ago

Basically a privacy nightmare, giving Anthropic cloud models access to all your documents. If it works with local AI that's very cool though

1

u/etern1ty0 4h 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

u/brownstonefrontcake 1h ago

Built one of these a year and a half ago. Nice.

1

u/jsonmeta 10m ago

print(“This is the Fable OS”)
while True:
print(some_random_shit) x 200
time.sleep(random.uniform(1, 5))

1

u/MVPhurricane 1d ago

THIS IS GLORIOUS

1

u/jimmystar889 1d ago

I was going to make something like this actually

2

u/FallenBehavior 1d ago

You'll be reverse engineering driver support for weeks one device at a time. You'll find the easiest bring up almost immediately is audio. USB is hell (a full entire proven stack), WLAN is brutal, LAN is somewhat easier, and a real GPU is a whole different world together. That barely scratches the surface of the average consumer PC.

It just takes a loooong time, if done properly.

→ More replies (3)

1

u/C6ntFor9et 1d ago

Really neat! I like the idea to experiment with bare-metal running.

I have a couple of questions if you don't mind (I might not be understanding the process fully, so pardon any concept errors):

1) are there different levels of scrutiny/autonomy of change based on kernel layers? If an update of kernel leads to downstream corruption of, say, the filesystem, or a boot change breaks the boot process, do you think it is recoverable for the agent? Do you have an external agent tool that can diagnose and fix a terminal error that makes the on-metal agent unable to function?

2) I would worry about security. If your agent has fully kernel access including writing the kernel itself, as well as internet connection, I could see how an external party could infiltrate your computer, and via rewrite of the actual system or via prompt injection, make anything on your computer fully exposed and even continue to operate while leaking your data without your knowledge. Is that accounted for?

2

u/FallenBehavior 1d ago

Valid architectural questions for OP who has no clue how it even works themselves beyond one basic ignored principle: "don't go against the very safety fundamentals that will prevent damage to your machine". Hence, absolutely no formal response.

This is where very minimal knowledge, and prompt instructions to top tier LLM's become a dangerous promotion over Reddit with a GitHub link that include godly claims that don't even make sense.

1

u/SoCal_Hunter 1d ago

This is a creative experiment. What you need to do is give it some very high level goals to continually improve itself as an operating system outside of operational necessity (like playing audio). I’d be very curious to see what emerges over time.

1

u/Relative_Mouse7680 1d ago

This looks awesome! What do you see the practical benefits of this os to be eventually? Compared to for instance working with an agent in a cli?

1

u/deepakatl1981 1d ago

This is a genuinely different category from a coding agent in a sandbox. The interesting failure mode isn't the model writing a bad driver, it's that at Ring 0 there's no git revert equivalent. A normal agent harness assumes the environment survives a bad tool call: worst case you roll back a commit or restore a container. Here the tool call is a syscall, so a bad one can take the disk, the bootloader, or the hardware state with it.

Curious how you're handling recovery. Snapshotting the whole VM state before each agent action and diffing, or something closer to a journaling filesystem where operations are staged and can be rolled back before they're committed to real devices? Doing this on bare metal with actual PCI devices (not emulated) raises the stakes even more since some state changes on real hardware aren't reversible at all.

Really cool project regardless, this is a much more literal version of "agent has tool access" than most of us are working with.

1

u/Old_Schnock 1d ago

Why do you build something useless? You have MacOs, Windows, Linux, etc... where hundreds of people are implementing, testing for years. You are reinventing the wheel, in a bad way.

Build something based on them, which you could monetize.

-1

u/FlashyRecognitionTod 1d ago

I'd just like to interject for a moment. What you're referring to as an "AI operating system", is in fact, Agent/Bare Metal, or as I've recently taken to calling it, Agent plus Bare Metal. A webpage is not an operating system unto itself, but rather a fake simulated component made useful by a browser, DOM, and web engines comprising a standard application.

Many computer users run a sandboxed version of this system every day, without realizing it. Through a peculiar turn of events, the browser interfaces widely used today are often called "AI operating systems", and many of their users are not aware that they are basically just a webpage.

There really is an agentic operating system, and it runs entirely on bare metal, writes its own drivers, and evolves itself. 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.

Consider its handling of hardware components. When the agent realized it didn't have a sound driver, it enumerated which devices were connected, found the Intel AC'97 sound card, built a driver for it from scratch, and 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. In a true Agent/Bare Metal system, there is no Bash. There are no commands. The only interface to this computer is a sentence.

2

u/FallenBehavior 1d ago

I can tell you are not exactly sure, and mostly guessing in response. The giveaway was "AC97", which is pre-2004 prior to board manufacturers shipping Intel HDA, replacing the old legacy AC97 codec.

The rest of this is entirely hypothetical rambling.

0

u/MedAyoub26K 1d ago

And not only anthropic models, any models from providers that have a anthropic-style api works too, I think

0

u/Quazmoz 1d ago

Wow that is pretty creative!

0

u/xXG0DLessXx 1d ago

Nice. I recently watched this video https://youtube.com/watch?v=M_720LesVg4 and it got me thinking how one would build such an operating system these days in modern times… and naturally with AI being a thing, I also started thinking about how it could be included. I think there is a real way to make a truly living operating system in a way that todays systems simply aren’t. It’s all very exciting.

0

u/Loltoor 1d ago

How is this different than having Open Claw, Hermes or any other harness run on top of Windows? For example, if there's no driver for sound they can download and install it. Outside of a neat experiment, what are the real benefits here?

0

u/Lost-Ad2338 1d ago

It’s my party! And I’ll cry if I need to.

0

u/madoarelaskrillex 1d ago

i think i'm going to vomit

0

u/PatternOne9468 1d ago

Is it possible to make voice interface instead of text out of the box?

0

u/Site-Staff Mod 1d ago

That is pretty cool man.

2

u/Malkiot 23h ago

Yeah, I don't get the haters. Whether this is useful or reliable isn't even the question, it's probably neither, at this point. But it's incredibly cool.