RAG-Anything

RAG-Anything

โ˜… 4.4 ๐Ÿ”– 7000 saves ๐Ÿ’ฐ Free GitHub

RAG-Anything is an all-in-one multimodal retrieval-augmented generation framework from the HKUDS lab, built on top of LightRAG. Where most RAG systems only handle plain text, RAG-Anything processes complete real-world documents: text, images, tables, charts and mathematical equations, and answers questions across all of them through a single pipeline. Released in 2025, it has quickly gathered about 24,000 stars on GitHub and is now integrated into LightRAG itself.

Overview

Modern documents are mixed-media: a financial report or research paper interleaves prose with figures, tables and formulas that text-only RAG silently drops. RAG-Anything addresses this with an end-to-end pipeline: documents in formats such as PDF and Office files are parsed with MinerU, Docling or PaddleOCR, content is routed to specialized analyzers for visual, tabular and mathematical material, and everything is indexed into a multimodal knowledge graph that captures cross-modal relationships. Queries then use modality-aware hybrid retrieval, combining vector search with graph traversal, and a VLM-enhanced query mode can reason over retrieved images together with text. The package installs from PyPI, supports batch processing and custom modality processors, and can also load an existing LightRAG instance.

Key Features

  • End-to-end multimodal RAG for documents mixing text, images, tables and equations
  • Universal format support for PDFs, Office documents and images via MinerU, Docling or PaddleOCR parsers
  • Multimodal knowledge graph indexing with cross-modal entity and relationship extraction
  • Modality-aware hybrid retrieval combining vector similarity with graph traversal
  • VLM-enhanced query mode for reasoning over visual and textual context together
  • Built on LightRAG, installable from PyPI, with batch processing and extensible processors

๐Ÿ’ณ Pricing

RAG-Anything is free and open source under the MIT license. You run it on your own infrastructure; the only costs are compute and any external model APIs you plug in.

Who Is It For

RAG-Anything is for researchers and developers building question-answering and knowledge systems over rich documents, such as academic papers, technical documentation, financial reports and enterprise knowledge bases, where the answers live in figures and tables as much as in text.

๐Ÿš€ Visit RAG-Anything Official Site

๐Ÿšฉ Report an issue