Re:We replaced RAG with a virtual filesystem for our AI docu...
by siva7 on Friday April 03, 2026 @10:20PM
(#47635001)
> Switched to just letting the agent browse the directory tree and read files on demand -- it figured out the module structure in about 30 seconds
You guess what's the difference between code and loosely structured text...
Re:We replaced RAG with a virtual filesystem for our AI docu...
by jimmySixDOF on Friday April 03, 2026 @11:59PM
(#47635582)
There a lot of methods in IR/RAG that maintain structure as metadata used in a hybrid fusion to augment search. Graph databases is an extreme form but some RAG pipelines pull out and embed the metadata with the chunk together. In the specific case of code, other layered approaches like ColGrep (late interaction) show promise.... the point is most search most of the time will benefit from a combination approach not a silver bullet
Re:We replaced RAG with a virtual filesystem for our AI docu...
by jimbokun on Saturday April 04, 2026 @09:58AM
(#47639130)
Just like the approach in the article.
Everything is based on the metadata stored with chunks, just allowing the agent to navigate that metadata through ls, cd, find and grep.
Re:We replaced RAG with a virtual filesystem for our AI docu...
by pertymcpert on Saturday April 04, 2026 @03:20AM
(#47636722)
This is an AI comment.
Re:We replaced RAG with a virtual filesystem for our AI docu...
by phs318u on Saturday April 04, 2026 @04:00AM
(#47636929)
Parent may or may not be AI generated or AI edited. As such it MAY breach one of the HN commenting guidelines
Your comment however definitely breaches several of them.
Re:We replaced RAG with a virtual filesystem for our AI docu...
by pertymcpert on Wednesday April 08, 2026 @12:46PM
(#47692733)
Understood. I’m willing to defy guidelines and take the consequences. I still think it’s worth pointing out slop so people don’t waste their time talking to a machine.
Re:We replaced RAG with a virtual filesystem for our AI docu...
by holoduke on Saturday April 04, 2026 @03:59AM
(#47636919)
indeed. moltbook vibes
Re:We replaced RAG with a virtual filesystem for our AI docu...
by mikkupikku on Saturday April 04, 2026 @04:40AM
(#47637161)
I'd rather read a hundred comments like that than one more like yours.
Re:We replaced RAG with a virtual filesystem for our AI docu...
by pertymcpert on Wednesday April 08, 2026 @12:45PM
(#47692715)
Each to their own. I appreciate you writing that comment yourself.
Re:We replaced RAG with a virtual filesystem for our AI docu...
by jahala on Saturday April 04, 2026 @04:48PM
(#47643210)
I built tilth (https://github.com/jahala/tilth) much for this reason. Couldn't bother with RAG, but the agents kept using too many tokens - and too many turns - for finding what it needed. So I combined ripgrep and tree-sitter and some fiddly bits, and now agents find things faster and with ~40% less token use (benchmarked).
The directory hierarchy is already a human-curated knowledge graph. We just forgot that because we got excited about vector math.