Debugging, evaluating, and tracing retrieval-augmented generation systems.
RAG systems rarely fail in just one place. They drift across ingestion, chunking, retrieval, reranking, prompting, evaluation, tracing, and infrastructure.
This list curates practical open-source tools and reference resources for finding those failures faster. It focuses on debugging value, not on collecting every RAG-related repository.
This list generally prioritizes repositories with 100+ GitHub stars, active maintenance, and clear practical value for diagnosing or fixing broken RAG behavior. GitHub star badges update automatically over time.
- Failure Maps & Root-Cause Guides
- Observability & Tracing
- Evaluation & Test Generation
- Retrieval Quality & Reranking
- Vector Databases & Indexing
- Guardrails & Prompt Defense
- Related Awesome Lists
Resources that help name the failure before you try to fix it.
- WFGY
- Reasoning engine repository that includes a structured problem map for recurrent RAG and AI pipeline failures.
Tools for traces, spans, evaluation runs, prompt inspection, and production debugging visibility.
- Phoenix
- AI observability and evaluation platform for tracing, experimentation, and troubleshooting LLM applications.
- Langfuse
- Open-source LLM engineering platform for traces, evals, prompts, datasets, and debugging workflows.
- OpenLIT
- OpenTelemetry-native observability platform for LLM and agent systems with evaluation and guardrail hooks.
- Weave
- Toolkit for developing AI applications with logging, tracing, and evaluation support.
- MLflow
- Experiment tracking and observability platform with support for modern LLM and agent workflows.
Frameworks for measuring answer quality, retrieval quality, hallucination risk, and regression over time.
- Promptfoo
- Evaluation and red-teaming framework for prompts, agents, and RAG applications.
- DeepEval
- LLM evaluation framework for testing outputs, workflows, and application behavior.
- Ragas
- Evaluation toolkit for LLM applications with strong support for RAG metrics and test generation.
- TruLens
- Instrumentation and evaluation toolkit for identifying failure modes in LLM applications.
- Giskard
- Evaluation and testing framework for AI systems, including quality, bias, and security checks.
Projects that help diagnose retrieval misses, ranking weakness, and document processing problems.
- RAGatouille
- Retrieval toolkit built around late-interaction methods such as ColBERT for stronger ranking quality.
- Haystack
- Transparent AI orchestration framework for retrieval pipelines, search systems, and modular RAG workflows.
- Unstructured
- Document ingestion and preprocessing toolkit for turning messy source files into cleaner RAG-ready inputs.
Core retrieval stores and indexing layers that commonly affect recall, latency, filtering, and ranking behavior.
- Qdrant
- Vector database focused on similarity search with filtering and production-ready APIs.
- Milvus
- Cloud-native vector database built for large-scale ANN search and AI retrieval workloads.
- Weaviate
- Vector database that combines semantic search, keyword filtering, and reranking in one query layer.
- Chroma
- Open-source search and retrieval engine for AI applications.
- LanceDB
- Embedded retrieval database for vector search and multimodal AI workloads.
Projects that help detect or reduce unsafe context handling, injection, and policy failures around RAG systems.
- Guardrails
- Framework for input and output validation in LLM applications.
- NeMo Guardrails
- Programmable guardrails toolkit for conversational and LLM-based systems.
- LLM Guard
- Security toolkit for filtering, scanning, and hardening LLM interactions.
- garak
- Vulnerability scanner for probing LLM failure behavior such as prompt injection and hallucination.
Neighbor lists that overlap with retrieval, production ML, or broader RAG infrastructure.
- Awesome RAG
- Retrieval-augmented generation applications and ecosystem resources.
- Awesome RAG
- Technical resources focused on retrieval-augmented generation for LLM systems.
- Awesome Production Machine Learning
- Production tooling and ecosystem references for deploying, monitoring, and scaling ML systems.
Please read CONTRIBUTING.md before opening a pull request.
Suggested inclusion criteria:
- The resource is directly useful for debugging, evaluating, tracing, or hardening RAG systems.
- The repository is public, documented, and maintained.
- The project has clear practical value beyond generic AI marketing.
- The repository generally has 100+ GitHub stars.
- The same project should not appear in multiple sections unless there is a very strong reason.
Suggested entry format:
- Project Name
- Short objective description.