WhoBuilt

RAG is dead, right??

Jun 9, 2026· 11 min· 36K views·Watch on YouTube

Speaker

Kuba Rogut, a deployment engineer at Turbopuffer, explains how retrieval augmented generation is evolving into iterative, tool rich search at an AI Engineer talk.

RAG and agentic search

Rogut argues that retrieval is broader than vector search: it can include BM25, grep, glob, regex, and filters. He describes agentic search as giving an agent tools to find and reason over context through repeated searches and file reads.

How Cursor indexes codebases

Rogut points to Cursor’s approach of chunking, parsing, and embedding codebases for semantic search. Cursor uses Merkle trees to identify similar codebases, reuse existing index data, and reprocess only changed files. Rogut cites Cursor’s internal benchmark, which showed roughly 12.5% to 13.5% higher answer accuracy, and an online test with nearly 2.6% higher retention in large codebases and 2.2% fewer dissatisfied requests.

Indexing as cached compute

Rogut says Claude Code’s early experiments with a local vector database did not work well, but frames embeddings and semantic search as cached computation. Repeated per-session grep and file reading can make agents rediscover the same information; upfront indexing can reduce runtime searches to lightweight queries and save tokens, time, and money.

Retrieval becomes iterative

Rogut says sophisticated systems are moving beyond a single vector search call to agents that make multiple semantic or full-text searches and fetch only what they need. He argues that staged retrieval matters even with very large context windows: systems need to narrow huge collections down to the relevant material. Turbopuffer customers, he says, store trillions of tokens and need retrieval to identify the right subset for a model.

Takeaways

  • Treat retrieval as a set of tools, including semantic, full-text, and file-based search.
  • Consider indexing repeated information once so agents do less rediscovery at runtime.
  • Use benchmark and online test results separately: internal accuracy gains do not directly predict product-wide impact.
  • Design retrieval to narrow large corpora in stages and fetch only the context needed for each task.

Mentioned in this talk

Search inside this talk

What was claimed 11

  • works at
    Deployed Engineer
    “I'm a deployment engineer at Turbopuffer.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • feature
    Turbopuffer: Full-text search and vector search database built on object storage
    “a full-text search and vector search database built from first principles on top of object storage”
    YouTube
    Unverified1 source· Talk
  • feature
    Claude Code: Uses file-system tools such as grep for iterative codebase discovery
    “it can read your files, start grepping through your file system”
    YouTube
    Unverified1 source· Talk
  • uses
    first customer
    “they're actually one of Turbopuffer's very first customers”
    YouTube
    Verified3 sources· Talk
  • feature
    Cursor: Indexes codebases by chunking, parsing, and embedding them for semantic search
    “They chunk, parse, and embed it, then make it available for semantic search.”
    YouTube
    Unverified1 source· Talk
  • uses
    “They use Merkle trees”
    YouTube
    Unverified1 source· Talk
  • metric
    Cursor: Semantic search produced an average answer accuracy increase of about 12.5% or 13.5% across models on an internal benchmark
    “an average increase in answer accuracy of about 12.5% or 13.5% across models”
    YouTube
    Unverified1 source· Talk
  • metric
    Cursor: Semantic search led to nearly 2.6% higher retention in large codebases and a 2.2% decrease in dissatisfied user requests in an online A/B test
    “nearly 2.6% higher retention in large codebases and a 2.2% decrease in dissatisfied user requests”
    YouTube
    Unverified1 source· Talk
  • metric
    Cursor: Composer had almost a 24% increase in answer accuracy before Composer 2
    “Before Composer 2, they had almost a 24% increase in answer accuracy.”
    YouTube
    Unverified1 source· Talk
  • uses
    used a local vector database in early iterations, then stopped
    “in early iterations of Claude Code, they actually used RAG in their local vector database, but they found that it didn't really work out for them”
    YouTube
    Unverified1 source· Talk
  • feature
    Staged retrieval: Narrows very large contexts to relevant subsets, such as a million tokens
    “You don’t need a trillion at once; you need the right million.”
    YouTube
    Unverified1 source· Talk

Related talks