Skip to main content

OSS · Scene 02

RAG & Knowledge Bases

Retrieval quality depends on chunking, recall, permissions and evaluation; choose a stack whose sources you can inspect.

20selected repos
For teams grounding answers in private documents and needing citations.Who it is for

How to choose

• Mixed formats and permissions: check parsing, chunking and ACL support first.
• Need a ready UI and citations: RAGFlow; code-first pipelines: LlamaIndex.
• Measure retrieval separately from generation; keep the source path.
Not for: Do not use RAG to patch missing source data or unclear permissions.

20 repos

Ordered by onboarding, not stars
RAG & Knowledge BasesStart here

RAGFlow

infiniflow / ragflow

A RAG platform with document parsing, chunking, retrieval and citations, built to get a knowledge base running.

Language
Go
Licence
Apache-2.0
Stars
94.4k
Updated
2026-11-18
Open repo card →
RAG & Knowledge BasesStart here

Dify

langgenius / dify

A visual platform for prompts, RAG, agents, workflows and model connections.

Language
Python
Licence
NOASSERTION
Stars
161.4k
Updated
2026-11-18
Open repo card →
RAG & Knowledge BasesProduction

LlamaIndex

run-llama / llama_index

A data framework for RAG and application layers: connectors, indexes, retrieval, query engines and agents.

Language
Python
Licence
MIT
Stars
52.9k
Updated
2026-11-14
Open repo card →
RAG & Knowledge BasesProduction

Haystack

deepset-ai / haystack

A pipeline framework that wires retrieval, generation, evaluation and routing, with an engineering and testable focus.

Language
Python
Licence
Apache-2.0
Stars
27.0k
Updated
2026-11-18
Open repo card →
RAG & Knowledge BasesProduction

Qdrant

qdrant / qdrant

A Rust vector database with filtering, hybrid search, distributed deployment and quantisation.

Language
Rust
Licence
Apache-2.0
Stars
35.6k
Updated
2026-11-18
Open repo card →
RAG & Knowledge BasesLightweight

Chroma

chroma-core / chroma

A lightweight vector store with quick Python and JavaScript onboarding, suited to prototypes and small knowledge bases.

Language
Rust
Licence
Apache-2.0
Stars
29.7k
Updated
2026-11-13
Open repo card →
RAG & Knowledge BasesProduction

Weaviate

weaviate / weaviate

A vector database with hybrid search: vectors plus BM25, multi-tenancy, modular vectorisation and reranking, with GraphQL and REST APIs.

Language
Go
Licence
BSD-3-Clause + Weaviate License
Stars
17.0k
Updated
2026-11-20
Open repo card →
RAG & Knowledge BasesScale / performance

Milvus

milvus-io / milvus

A distributed vector database for large-scale retrieval, supporting HNSW, IVF, DiskANN, scalar filtering and multi-tenancy.

Language
Go
Licence
Apache-2.0
Stars
46.7k
Updated
2026-11-20
Open repo card →
RAG & Knowledge BasesStart here

Docling

docling-project / docling

A document parsing toolkit that turns PDF, HTML and Office files into structured Markdown or JSON while preserving layout, tables and reading order.

Language
Python
Licence
MIT
Stars
70.8k
Updated
2026-11-18
Open repo card →
RAG & Knowledge BasesProduction

Unstructured

Unstructured-IO / unstructured

A document ETL toolkit that partitions, cleans and metadata-tags PDFs, HTML, images and Office files for RAG.

Language
HTML
Licence
Apache-2.0
Stars
15.8k
Updated
2026-11-17
Open repo card →
RAG & Knowledge BasesNiche

Marker

datalab-to / marker

A high-quality PDF-to-Markdown and JSON converter focused on layout, tables, formulas and reading order.

Language
Python
Licence
Apache-2.0
Stars
41.0k
Updated
2026-11-18
Open repo card →
RAG & Knowledge BasesLightweight

LightRAG

HKUDS / LightRAG

A lightweight GraphRAG implementation: extract entities and relations, then combine vector and graph retrieval at lower cost than full GraphRAG.

Language
Python
Licence
MIT
Stars
40.8k
Updated
2026-11-19
Open repo card →
RAG & Knowledge BasesProduction

Firecrawl

firecrawl / firecrawl

Crawl websites into clean Markdown or structured data for RAG and agents, available as a local binary, MCP server or self-hosted API.

Language
TypeScript
Licence
AGPL-3.0
Stars
204.2k
Updated
2026-11-20
Open repo card →
RAG & Knowledge BasesStart here

Graphify

Graphify-Labs / graphify

Map code, documents, SQL and PDFs into a queryable knowledge graph, so coding agents can query the graph instead of grepping the whole repository.

Language
Python
Licence
Apache-2.0
Stars
150.7k
Updated
2026-11-19
Open repo card →
RAG & Knowledge BasesProduction

pgvector

pgvector / pgvector

A Postgres extension that adds vector columns, distance operators and HNSW or IVFFlat indexes, keeping vector search next to business data.

Language
C
Licence
NOASSERTION
Stars
23.7k
Updated
2026-11-20
Open repo card →
RAG & Knowledge BasesLocal-first

LanceDB

lancedb / lancedb

An embedded multimodal vector database with a Rust core and Python/JavaScript SDKs, built on Lance columnar storage with vector, full-text, SQL filtering and versioning.

Language
Rust
Licence
Apache-2.0
Stars
12.0k
Updated
2026-11-20
Open repo card →
RAG & Knowledge BasesProduction

R2R

SciPhi-AI / R2R

A production-oriented RAG service: document ingestion, hybrid retrieval, knowledge graphs, agentic RAG, users and tenants, with a REST API and web UI.

Language
Python
Licence
MIT
Stars
8.1k
Updated
2025-11-07
Open repo card →
RAG & Knowledge BasesScale / performance

GraphRAG

microsoft / graphrag

Microsoft’s GraphRAG implementation: extract entities and relations from text, build communities, generate summaries and support global and local queries.

Language
Python
Licence
MIT
Stars
36.7k
Updated
2026-11-19
Open repo card →
RAG & Knowledge BasesLightweight

AnythingLLM

Mintplex-Labs / anything-llm

A local-first RAG desktop and server that ingests documents, web pages and code into workspaces, connects local or hosted models and exposes chat, agent and API modes.

Language
JavaScript
Licence
MIT
Stars
68.5k
Updated
2026-11-20
Open repo card →
RAG & Knowledge BasesProduction

Crawl4AI

unclecode / crawl4ai

LLM-oriented web crawling and cleaning: async crawling, browser rendering, boilerplate removal, Markdown/JSON output, chunking and caching — turning pages into RAG-ready corpus.

Language
Python
Licence
Apache-2.0
Stars
87.6k
Updated
2026-11-20
Open repo card →
RAGFlowDifyLlamaIndexHaystackQdrantChromaWeaviateMilvusDoclingUnstructuredMarkerLightRAGFirecrawlGraphifypgvectorLanceDBR2RGraphRAGAnythingLLMCrawl4AI
GoPythonPythonPythonRustRustGoGoPythonHTMLPythonPythonTypeScriptPythonCRustPythonPythonJavaScriptPython
Apache-2.0NOASSERTIONMITApache-2.0Apache-2.0Apache-2.0BSD-3-Clause + Weaviate LicenseApache-2.0MITApache-2.0Apache-2.0MITAGPL-3.0Apache-2.0NOASSERTIONApache-2.0MITMITMITApache-2.0
Stars94.4k161.4k52.9k27.0k35.6k29.7k17.0k46.7k70.8k15.8k41.0k40.8k204.2k150.7k23.7k12.0k8.1k36.7k68.5k87.6k
2026-11-182026-11-182026-11-142026-11-182026-11-182026-11-132026-11-202026-11-202026-11-182026-11-172026-11-182026-11-192026-11-202026-11-192026-11-202026-11-202025-11-072026-11-192026-11-202026-11-20
PDFpipelinehybrid searchPDFPDFcurl JS markdowndocs SQL schema PDF grepRAG SQLRAGRAG FastAPI +top-k GraphRAGMarkdown/JSON
embeddingUI RAGFlow / DifyChromaQdrant/MilvusChroma/SQLiteMilvus Lite ChromaOCR OCRAGPL-3.0QPSPDF Postgres/pgvectorrobots