We replaced RAG with a virtual filesystem for our AI documentation assistant
21–30 of 190 posts
Re: We replaced RAG with a virtual filesystem for our AI documentation assistant
#22I am not familiar with the tech stack they use, but from an outsider point of view, I was sort of expecting some kind of fuse solution. Could someone explain why they went through a fake shell? There has to be a reason.
Putting Chroma behind a FUSE adapter was my initial thought when I was implementing this but it was way too slow.
I think we would also need to optimize grep even if we had a FUSE mount.
This was easier in our case, because we didn’t need a 100% POSIX compatibility for our read only docs use case because the agent used only a subset of bash commands anyway to traverse the docs. This also avoids any extra infra overhead or maintenance of EC2 nodes/sandboxes that the agent would have to use.
Re: We replaced RAG with a virtual filesystem for our AI documentation assistant
#23Re: We replaced RAG with a virtual filesystem for our AI documentation assistant
#24Re: We replaced RAG with a virtual filesystem for our AI documentation assistant
#25The real thing I think people are rediscovering with file system based search is that there’s a type of semantic search that’s not embedding based retrieval. One that looks more like how a librarian organizes files into shelves based on the domain. We’re rediscovering forms of in search we’ve known about for decades. And it turns out they’re more interpretable to agents. https://softwaredoug.com/blog/2026/01/08/seman…
Re: We replaced RAG with a virtual filesystem for our AI documentation assistant
#26I think generally we are going from vector based search, to agentic tool use, and hierarchy based systems like skills.
Re: We replaced RAG with a virtual filesystem for our AI documentation assistant
#27This puts a lot of LLM in front of the information discovery. That would require far more sophisticated prompting and guardrails. I'd be curious to see how people architect an LLM->document approach with tool calling, rather than RAG->reranker->LLM. I'm also curious what the response times are like since it's more variable.
Re: We replaced RAG with a virtual filesystem for our AI documentation assistant
#28I think this is a great approach for a startup like Mintlify. I do have skepticism around how practical this would be in some of the “messier” organisations where RAG stands to add the most value. From personal experience, getting RAG to work well in places where the structure of the organisation and the information contained therein is far from hierarchical or partition-able is a very hard task.
Re: We replaced RAG with a virtual filesystem for our AI documentation assistant
#29This is definitely the way. There are good use cases for real sandboxes (if your agent is executing arbitrary code, you better it do so in an air-gapped environment). But the idea of spinning up a whole VM to use unix IO primitives is way overkill. Makes way more sense to let the agent spit our unix-like tool calls and then use whatever your prod stack uses to do IO.