RAG Without the Lag: Interactive Debugging for Retrieval-Augmented Generation Pipelines
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Retrieval-augmented generation (RAG) pipelines have become the de-facto approach for building AI assistants with access to external, domain-specific knowledge. Given a user query, RAG pipelines typically first retrieve (R) relevant information from external sources, before invoking a Large Language Model (LLM), augmented (A) with this information, to generate (G) responses. Modern RAG pipelines frequently chain multiple retrieval and generation components, in any order. However, developing effective RAG pipelines is challenging because retrieval and generation components are intertwined, making it hard to identify which component(s) cause errors in the eventual output. The parameters with the greatest impact on output quality often require hours of pre-processing after each change, creating prohibitively slow feedback cycles. To address these challenges, we present RAGGY, a developer tool that combines a Python library of composable RAG primitives with an interactive interface for real-time debugging. We contribute the design and implementation of RAGGY, insights into expert debugging patterns through a qualitative study with 12 engineers, and design implications for future RAG tools that better align with developers' natural workflows.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 22 of its 62 references that are in the map. First posted on arXiv 18 Apr 2025.
Builds on
22 of 62 references.
Closest ancestors · 6
Same direction, newest first
- 2025RAGVA: Engineering Retrieval Augmented Generation-based Virtual Assistants in Practice20 Feb
- 2024Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAG8 Oct
- 2024RAGProbe: An Automated Approach for Evaluating RAG Applications24 Sep
- 2024FACTS About Building Retrieval Augmented Generation-based Chatbots10 Jul
- 2024Telco-RAG: Navigating the Challenges of Retrieval-Augmented Language Models for Telecommunications24 Apr
- 2024Seven Failure Points When Engineering a Retrieval Augmented Generation System11 Jan
Other references · 16
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
- 2024RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrievalcited by 519
- 2019The What-If Tool: Interactive Probing of Machine Learning Modelscited by 207
- 2022PromptChainer: Chaining Large Language Model Prompts through Visual Programmingcited by 134
- 2025Interactive Debugging and Steering of Multi-Agent AI Systemscited by 68
- 2017ActiVis: Visual Exploration of Industry-Scale Deep Neural Network Modelscited by 56
- 2018Visual Analytics for Explainable Deep Learningcited by 39
- 2024RAGGED: Towards Informed Design of Scalable and Stable RAG Systemscited by 24
- 2021Whither AutoML? Understanding the Role of Automation in Machine Learning Workflowscited by 22
4 more
- 2023Prompting for Discovery: Flexible Sense-Making for AI Art-Making with Dreamsheetscited by 22
- 2020PipelineProfiler: A Visual Analytics Tool for the Exploration of AutoML Pipelinescited by 19
- 2022Symphony: Composing Interactive Interfaces for Machine Learningcited by 18
- 2024Talaria: Interactively Optimizing Machine Learning Models for Efficient Inferencecited by 6
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025RAGVUE: A Diagnostic View for Explainable and Automated Evaluation of Retrieval-Augmented Generation
- 2024XRAG: eXamining the Core -- Benchmarking Foundational Components in Advanced Retrieval-Augmented Generation
- 2024Retrieval-Augmented Test Generation: How Far Are We?
- 2025EncouRAGe: Evaluating RAG Local, Fast, and Reliable
- 2024Retrieval Augmented Generation Systems: Automatic Dataset Creation, Evaluation and Boolean Agent Setup
- 2024InspectorRAGet: An Introspection Platform for RAG Evaluation
- 2026RAGPerf: An End-to-End Benchmarking Framework for Retrieval-Augmented Generation Systems
- 2026Mapping the RAG Landscape: A Four Axis Taxonomy of Efficiency, Defense, Interactivity, and Reasoning