RAG is dead!

  • rag
  • knowledge management
  • claude code
  • claude cowork
  • ai agents

Claude Code quietly removed its vector database. If you sponsored an AI knowledge base, someone will ask you why yours still has one.

As late as 2025, I was preaching RAG in customer meetings. Sitting out AI wasn’t an option, and RAG was seen as the way to connect it to company data. Projects launched everywhere. Then the feedback started coming in: systems fell short of expectations, and companies reported spending millions with little to show for it.

By the end of this post you will have a five-question test you can run on your own knowledge, and a way to answer the question before it lands on your desk.

First, what RAG actually is

An AI model only knows what it was trained on, not your documents. RAG (Retrieval Augmented Generation) turns the exam into an open book. Your documents are cut into small snippets and filed in a special search library, called a vector database, that finds snippets by meaning rather than exact words. When someone asks a question, the system pulls out the most relevant snippets and hands them to the AI along with the prompt.

The reframe: default RAG is dead. “Cut up every document, file the pieces in a vector database, and let the AI look things up” used to be the first answer. Today it should be the last.

Why did so little money come back?

Nobody knows how much went in. Three analyst firms put the 2025 RAG market at USD 0.85 billion (Intel Market Research), USD 1.94 billion (MarketsandMarkets) and USD 4.0 billion (Meticulous Research). That is a 5x spread on one year.

What I saw first-hand: the spend was large and the return was thin. The model was rarely the problem. The data was. Documents were messy, permissions were unclear, and nobody owned the content. Gartner predicts that through 2026, organizations will abandon 60% of AI projects that are not supported by AI-ready data. A vector database does not fix that. It files the mess neatly.

The design was the second problem. Basic RAG gets one search and one answer. Your real questions are longer and messier than that.

What changed: three arguments hide inside “RAG is dead”

When someone says it, they usually mean one of three things.

  • “Context windows are huge now, just paste everything in.” Models can now read hundreds of thousands of words at once. For a limited set of documents, that removes the whole setup, including the lookup step that can silently miss the right page.
  • “One search is not enough.” Agents now search, read, notice what is missing and search again. That is how a human researches.
  • “You do not need a vector database.” Boris Cherny has said early Claude Code used RAG with a local vector database, and agentic search worked better. It now searches your files directly, the way a person would, and reads the live file. A vector database is a copy of your documents, and copies go stale.

Claude Cowork brings the same idea to knowledge workers. It runs in the Claude desktop app, and you give it access to specific folders on your computer. It reads your actual files, not just file names, and produces the finished output, such as a report. It can also use connectors to apps like Gmail, Google Drive and Notion. No special library to build. No overnight job to keep it up to date.

The idea that changes the maths: let the AI write the study notes

In April 2026, Andrej Karpathy (a well-known AI researcher, former head of AI at Tesla and a co-founder of OpenAI) shared an idea he calls the LLM Wiki. He published it as an “idea file”, a description of the approach rather than a software product.

Here is the plain-language version. RAG is a student who re-reads the whole textbook before every exam question. It finds the right page, answers, and then forgets everything. Ask a similar question tomorrow and it starts from scratch.

The wiki approach is a student who keeps study notes. The AI reads each new document once, writes a clear summary page, links it to related pages, and updates older pages when new information arrives. The notes are ordinary text files that you can open and read. When you ask a question, the AI answers from its notes, not from a pile of raw documents.

Karpathy reports running this on one research topic. It grew to roughly 100 articles and 400,000 words, written and maintained almost entirely by the AI.

What you gain compared with RAG:

  • Knowledge builds up. Every document you add makes the whole set smarter, instead of just adding another pile to search.
  • Connections are made in advance. The link between a contract in one folder and a policy in another is written down once, not rediscovered on every question.
  • You can read it. The notes are plain text, so a person can check what the AI believes and fix it. A vector database is a black box.
  • Less machinery. No special database, no embedding pipeline, no overnight refresh.
  • Cheaper questions. The AI reads a few clean pages, not a stack of raw documents.

What you give up: a wiki is only as good as the notes the AI writes. A wrong summary can quietly stay wrong until someone checks it. And it was designed for a person or a small team, not for thousands of employees with different access rights.

“But I already spent millions on it”

If you sponsored a RAG project, you do not need to defend it or kill it. Run the test, keep RAG where it earns its place, and move the rest. The money is not all lost: the data cleaning, the clear ownership and the access rules you put in place are exactly what any agent or wiki approach needs too. Re-scoping a project is a much easier sentence to say in a board meeting than “we were wrong”, and it is better to say it before someone asks.

The 5-bucket test for your knowledge base

Sort every knowledge source you own into one bucket:

  1. Fits in context. A policy manual, a price list, a client file. Hand it to the model directly. A RAG setup here is overhead.
  2. Findable by search. A folder of contracts, notes and reports where names, clauses and codes matter. Let an agent search the live files, as Claude Cowork does.
  3. Worth compiling. Knowledge you return to again and again: a market, a client, a research topic. Let the AI build and maintain a wiki, Karpathy style, so understanding accumulates.
  4. Needs search by meaning, at scale. Terabytes of documents, or users who describe things differently from your documents. A customer writes “my card keeps getting declined” and the answer sits in a page titled “payment authorization failures”. This is where RAG still earns its place.
  5. Needs governance. Different users must see different documents, with citations and audit trails. RAG can fit here, but the access control is the real product, not the search technology.

The line to remember: the question is no longer “how do we build RAG?” It is “which bucket is this knowledge in?”

“But RAG is still needed, isn’t it?”

Yes, in certain places. Paste your whole knowledge base into every question and the AI reads about 200 times more text than if it were given a handful of relevant pages. At 10,000 questions a day, that gap becomes a budget meeting. Caching helps, but only while the content stays unchanged. Enterprise data is measured in terabytes and changes daily, so something has to narrow it down.

The best setups combine methods. Cursor, a coding tool, uses exact-word search together with search by meaning, and reports better accuracy from the mix. “RAG” never required a vector database. It means look things up first, then answer. An agent searching your files is RAG with a different way of looking things up.

Want this working in your business?

We help Singapore SMEs and executives turn AI into measurable results.

Book a conversation