Seedlabs

StageFault: four-stage triage for wrong RAG answers — explainer video

A diagnostic tool that finds exactly which part of an AI's search-and-answer process caused a wrong answer.

0:50 · Scripted and voiced by GLM and Piper · 15 Nov 2026

Read the full idea →

Transcript

Enterprise RAG assistants fail in production every day, and nobody can say which stage broke. What if one replay could tell you?

Today, teams guess. They tune embeddings one sprint and rewrite prompts the next, shipping fixes for the wrong stage while users lose trust.

A 2026 survey splits the RAG pipeline into four stages: pre-retrieval, retrieval, post-retrieval, and generation. It also shows that testing each retrieved document alone predicts downstream performance better than human labels.

StageFault would replay failed conversations, test every retrieved document on its own, then tag each failure with its stage and one recommended fix lever.

Internal knowledge search, support bots, any team running RAG in production. Platform vendors like LlamaIndex, Elastic, or Pinecone could ship it as a built-in QA layer.

StageFault is an early concept with an interactive prototype. Explore the demo, and stop guessing where your pipeline breaks.

Research it builds on

  1. Corrective Retrieval Augmented Generation
  2. A Survey on Retrieval-Augmented Text Generation for Large Language Models
  3. LENS: Layers of Evaluation of Hallucination in GenAI Systems
  4. MemTrace: Tracing and Attributing Errors in Large Language Model Memory Systems
  5. What Works for 'Lost-in-the-Middle' in LLMs? A Study on GM-Extract and Mitigations