NHacker Next on Rails
  • top
  • new
  • best
  • ask
  • show
  • jobs
login
GuidelinesFAQListsAPISecurityLegalApply to YCContact

Hacker News on Rails, powered by React on Rails Pro. Open the source on GitHub by ShakaCode.

Commit 06fc0df

Rendered at 17:31:52 GMT+0000 (Coordinated Universal Time) with Rails + React on Rails RSC.

LayerFS: The filesystem for AI coding agents (layerfs.ai)

62 points by l2dy 4h ago | 32 comments

compsciphd 3h ago
Been there (16 years ago), done that (15 year ago), patented it (13 years ago) :) almost the same name too.

https://www.usenix.org/conference/usenix-atc-10/apiary-easy-...

https://www.usenix.org/legacy/event/lisa11/tech/full_papers/...

https://patents.google.com/patent/US8589947B2/

amelius 53m ago
I wonder why their AI coding agent didn't flag the patent.
russfink 2h ago
Would you mind ELI5’ing the similarities? I’m seeing only high level concepts that sound the same.
compsciphd 2h ago
so you're right its not exactly the same (and it might not even be a very similar implementation ala how docker is), but the bullet points are the same.

ephemeral, instant boot strap, append only (I'm pretty sure I was the first person to use ephemeral computing this way, at the time I couldn't find anything that touched it. People used containers, ala ZFS/Zones, but they were generally meant for long term computing and not for bringing up an environment for a very small period of time and then tearing it down.)

This paper with bellovin applied it to system administration - https://www.usenix.org/legacy/event/lisa09/tech/full_papers/...

though we also approached recording and forking your computation at will - https://dl.acm.org/doi/10.1145/1323293.1294289 (I'm proud of coining the name), though it strongly relates to Microsoft's recall so it would probably be viewed less positively today (in fact, this might be closer in implementation to what they are doing than the above).

with that said, it was a bit more tongue in cheek than anything.

as an aside, I sort of wonder in the age of AI and the ability to reproduce anything easily, we might have to expand patents (related to comment below that got downvoted), but dont have strong thoughts on this yet.

nico 4h ago
Here’s an alternative that runs on your browser: https://nicobrenner.github.io/lossy-git/demo.html

PS: it’s just a fun play on memory/storage and AI. Hope you enjoy :)

trollbridge 4h ago
This was more interesting/amusing than the OP!
evandena 3h ago
Dumb javascript is preventing me from seeing the footer, by scrolling back up to some content it thinks I shiould see.
avadodin 3h ago
ShowHN: WoolJ.ai the virtual wool jersey tailor-made for your most special coding agents
toddmorey 2h ago
How is it v1 with an architecture page coming soon? I'm really having a hard time gauging the maturity of software & services these days.
mtford 2h ago
This website behaves very strangely... scroll hijack. Also everything is suuuuuper stretched out.
gcr 1h ago
If you scroll down enough, you can't scroll up anymore!

EDIT: If you scroll down to the commit graph and have your mouse inside the big commit graph rectangle, you can't scroll up anymore!

shayonj 3h ago
Kudos. We did/built something internally to solve similar-ish problems https://www.shayon.dev/post/2026/283/versioned-filesystem-fo...
mpalmer 1h ago
The evergreen observation; The most self-promote-y among us are mostly using AI to reinvent solutions and disguise them as new designs. These address solved problems, which are themselves disguised as new agentic problems.

Celebrating and promoting this stuff does not help us get better at discovering and building actually new things; change my mind.

Rapzid 2h ago
UnionFS and overlay2, and the concept of layer filesystems existing makes this naming unfortunate and confusing.
pizzafeelsright 2h ago
We went from copy/paste this | sudo bash --> Copy this large prompt that installs stuff | AI Agent
alchemist1e9 1h ago
~245k lines of Rust the LLMs coded. So my question is other than DSH does the author(s) have any advice on setup that made creating this possible? or other have tips for best setup that can produce a project like this.

Even those bashing for being AI generated have to admit it’s technically impressive and reflective of where software engineering is headed.

tamimio 1h ago
I have to try it but I am very well interested in the decentralized agents mentioned there, I am tired of scattered agents and sessions across multiple OSes and harnesses I have, I just need one say an LXC that I can self host and automatically sync (or rather async like push/pull) all my harnesses, regardless wherever the previous session was.
Sathwickp 3h ago
Nice website, but that's about it
robofanatic 2h ago
> Nice website

I disagree. Its full of AI slop. Too much animation (cute but distracting) I literally tried for 20 minutes and couldn't focus on reading. I just couldnt comprehend anything.

jiaosdjf 2h ago
I'm so glad someone else couldn't focus I thought I was losing my mind here.
trollbridge 4h ago
How is this any different than something like btrfs?
fnordpiglet 57m ago
It is more content aware and tuned towards versioned data vs block aware among other things. There’s a benchmark as to how it impacts things in the site

https://layerfs.ai/benchmarks/dsh-dedup/

I think it’s actually a fairly useful thing but I worry about something so obviously vibe coded hitting 1.0.0 and without a track record but the ideas seem pretty useful. I’ve certainly found the work tree semantics most agents and harnesses follow at scale to be obnoxious at best and it seems to tackle issues head on.

jauntywundrkind 43m ago
Nice benchmarks, impressive numbers. 20x less space than btrfs for the deep seek harness.

They even have some explanations. Files writes in btrfs snapshots recreatethe contents as opposed to storing what's changed. Btrfs has no dedupe, if multiple snapshots happen to have the same data. And small files store metadata twice in btrfs for reasons.

I do think their use case is a bit pathological, checking out the same harness at every commit. Most of these btrfs gotchas don't feel like they would be super impactful to me. But really cool results none the less.

rvz 4h ago
The difference is this one (layerfs) was vibe coded™ and the other (btrfs) is battle tested in mission critical systems for years in the Linux kernel and used by many companies in the SNP 500.

Do not be fooled by the "vibes" of the website design which many here are. If it is too good to be true, it most likely is.

0x457 1h ago
"btrfs is battle tested"

Only in a sense that i went to a battle and lost all of its data to corruption. Should be removed from in-tree so people don't accidently use it.

trollbridge 4h ago
That's what I was concerned about. An unstable filesystem is worse than no filesystem at all; I'd really like to switch to bcachefs but it simply needs to have a few more years under its belt before I'll be comfortable with it (particularly for some of its best use cases, where it becomes responsible for backups).
ryan-c 4h ago
I would not trust btrfs with anything mission critical.
ikidd 2h ago
It's fine if you stay away from it's raid5/6. And realize it isn't going to let you know when you have a mirror fail until you try to boot it and it won't come up.
otabdeveloper4 3h ago
> is battle tested in mission critical systems for years

And still crashes and corrupts filesystems all the time.

(I have one server platform where just doing `insmod btrfs` immediately locks up the server, hard, without even any kernel panic or log message.)

teiferer 3h ago
How recent is that code?
totetsu 4h ago
Or this https://arxiv.org/html/2602.08199v1
weddpros 3h ago
ho yes please hack my browser scroll so I can't read your site (MacOS Safari)