RAG-Anything

Active
GitHub Python MIT

Description

All-in-one RAG framework supporting text, images, tables, equations and more document formats for retrieval-augmented generation with unified knowledge QA.

Key Features

  • End-to-end multimodal pipeline — Complete workflow from document ingestion to intelligent multimodal query answering
  • Universal document support — Seamless processing of PDFs, Office documents, images and diverse file formats
  • Specialized content analysis — Dedicated processors for images, tables, mathematical equations and heterogeneous content
  • Multimodal knowledge graph — Automatic entity extraction and cross-modal relationship discovery
  • Adaptive processing modes — Flexible MinerU-based parsing or direct multimodal content injection
  • Hybrid intelligent retrieval — Advanced search across textual and multimodal content with contextual understanding

Use Cases

💡 Academic paper Q&A — simultaneously understanding text, figures and equations
💡 Technical document retrieval — processing mixed-format docs with tables and images
💡 Financial report analysis — extracting tabular data alongside textual descriptions
💡 Enterprise knowledge management — unified retrieval across multi-format internal documents
💡 Multimodal research analysis — cross-document association of images and text

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (22.9k stars)
  • Permissive open-source license (MIT)
  • Responsive to issues, low backlog

Categories

Quick Start

```bash
# Install
pip install raganything

# Using uv (recommended)
uv pip install raganything

# Basic usage
from raganything import RAGAnything
rag = RAGAnything()
rag.ingest_document("your_document.pdf")
result = rag.query("What experimental results are mentioned in the document?")
```

Related Projects

RAGFlow

88.6k · Go
Active A+

A leading open-source RAG engine that fuses cutting-edge retrieval-augmented generation with agent capabilities to create a superior context layer for LLMs.

ragdocument-understandingknowledge-base +3
  • · Deep document understanding - Extracts knowledge from complex unstructured data via deepdoc, supporting PDF, Word, PPT, Excel, images, and more
  • · Template-based chunking - Multiple intelligent chunking templates for explainable document segmentation and knowledge organization
  • · Traceable citations with reduced hallucinations - Visualizes text chunks for human intervention, answers include key reference sources

Jina AI Serve

21.9k · Python
Stale B

Jina AI Serve is a cloud-native framework for building multimodal AI applications, supporting RAG pipelines, agent systems, and multimodal search.

multimodalragcloud-native +2
  • · Multi-protocol support — Build AI services communicating via gRPC, HTTP, and WebSockets
  • · LLM streaming output — Token-by-token streaming responses for real-time interactive scenarios
  • · Built-in containerization — Native Docker integration and Executor Hub for one-click push and deploy

QAnything

14.1k · Python
Stale C

QAnything is an open-source local knowledge base Q&A system by NetEase Youdao, supporting any file format with offline RAG capabilities for building private knowledge Q&A.

ragqaknowledge-base +1
  • · Local knowledge base Q&A supporting PDF, Word, PPT, XLS, Markdown, images, CSV, and more
  • · Two-stage vector retrieval with embedding + reranking for scalable accuracy
  • · Full offline operation — supports air-gapped installation with no external network required