Earlier quoted context omitted.
In RAG, you operate on embeddings and perform vector search, so if you search for fat lady, it might also retrieve text like huge queen, because they're semantically similar. Grep on the other hand, only matches exact strings, so it would not find it.
R in RAG is for retrieval… of any kind. It doesn’t have to be vector search.
The RAG Obituary: Killed by agents, buried by context windows
121–130 of 185 posts
Re: The RAG Obituary: Killed by agents, buried by context windows
#122Earlier quoted context omitted.
We always suspected find+grep+xargs was Turing-complete, and now Claude is proving it.
That's one of the most nonsensical comments on all of hackernews. A Markov change could have wrote it. What do you mean Turing complete? Obviously all 3 programs are running on a Turing complete machine. Xargs is a runner for other commands, obviously those commands can be Turing complete. I haven't heard of anybody working on a _proof_ for the Turing completeness of xargs, and I think the only conference willing to…
Re: The RAG Obituary: Killed by agents, buried by context windows
#123This glosses over a fundamental scaling problem that undermines the entire argument. The author's main example is Claude Code searching through local codebases with grep and ripgrep, then extrapolates this to claim RAG is dead for all document retrieval. That's a massive logical leap. Grep works great when you have thousands of files on a local filesystem that you can scan in milliseconds. But most enterprise RAG use…
Re: The RAG Obituary: Killed by agents, buried by context windows
#124This reads like someone AI-generated prose to defend something they want to invest in and decry something it competes with. It does not come off as honest, written by a human, or useful to anyone outside of the specific, narrow contexts the "author" sees for the technologies mentioned. Frankly, reading through this at makes me feel as though I am a business analyst or engineering manager being presented with a projec…
Re: The RAG Obituary: Killed by agents, buried by context windows
#125This glosses over a fundamental scaling problem that undermines the entire argument. The author's main example is Claude Code searching through local codebases with grep and ripgrep, then extrapolates this to claim RAG is dead for all document retrieval. That's a massive logical leap. Grep works great when you have thousands of files on a local filesystem that you can scan in milliseconds. But most enterprise RAG use…
RAG doesn’t just mean word vectors but can include keyword search. Claude using grep is a form of RAG.
It bugs me, because the acronym should encompass any form of retrieval - but in practice, people use RAG to specifically refer to embedding-vector-lookups, hence it making sense to say that it's "dying" now that other forms of retrieval are better.
Re: The RAG Obituary: Killed by agents, buried by context windows
#126RAG isn't dead, RAG is just fiddly, you need to tune retrieval to the task. Also, grep is a form of RAG, it just doesn't use embeddings.
Saying grep is also RAG is like saying ext4 + grep is a database.
Re: The RAG Obituary: Killed by agents, buried by context windows
#127Earlier quoted context omitted.
> Grep works great when you have thousands of files on a local filesystem that you can scan in milliseconds. But most enterprise RAG use cases involve millions of documents across distributed systems Great point, but this grep in a loop probably falls apart (i.e. becomes non-performant) at 1000s of docs, not millions and 10s of simultaneous users
Why does grep in a loop fall apart? It’s expensive, sure, but LLM costs are trending toward zero. With Sonnet 4.5, we’ve seen models get better at parallelization and memory management (compacting conversations and highlighting findings).
And if you think those deals are bogus, like I do, you still need to explain surging electricity prices.
Re: The RAG Obituary: Killed by agents, buried by context windows
#128Earlier quoted context omitted.
I don't see how it can trend to zero when none of the vendors are profitable. Uber and doordash et. al. increased in price over time. The era of "free" LLM usage can't be permanent
Google’s inference is profitable
Re: The RAG Obituary: Killed by agents, buried by context windows
#129Earlier quoted context omitted.
That's what I used to use as a human, but then I finally overcame my laziness in setting up integration between my editor and compiler (and similar) and got 'jump to definition' working. (Well, I didn't overcome my laziness directly. I just switched from being lazy and not setting up vim and Emacs with the integrations, to trying out vscode where this was trivial or already built in.)
Do you trust 'jump to definition'. Obviously it depends on the language server, but it's best effort. I'm often frustrated when it doesn't work, because I broke the code in some way. Or it jumps to a specific definition, but there are multiple. If I was as quick at opening and reading files as claude code, I'd prefer grep with context around the searched term.
Re: The RAG Obituary: Killed by agents, buried by context windows
#130This glosses over a fundamental scaling problem that undermines the entire argument. The author's main example is Claude Code searching through local codebases with grep and ripgrep, then extrapolates this to claim RAG is dead for all document retrieval. That's a massive logical leap. Grep works great when you have thousands of files on a local filesystem that you can scan in milliseconds. But most enterprise RAG use…