RAG and search

Retrieval over your own documents or data, answer engines, and natural-language-to-SQL starters.

xerj leads with 89, ahead of sonic (83) and manticoresearch (83). 34 projects ranked by score. Updated from public GitHub data.

Same topic: RAG, knowledge and search (101, ready to use) · Memory (42, parts to build with) · Vector databases (33, parts to build with) · Data and scraping for AI (93, parts to build with). All categories

The ranking

RAG and search: full ranking
RankProjectAdoptionFreshnessMaintenanceAgent-readyScore
1xerjSingle-binary Rust search engine with Elasticsearch API, MCP server and agent memory Live demo ↗ (opens in a new tab)21.6k stars+6,544 (+44%) in 30 daysApache-2.0last commit Nov 202691100973089 out of 100
2sonicLightweight schema-less search index that returns object IDs, written in Rust Live demo ↗ (opens in a new tab)21.4k starsMPL-2.0last commit Oct 20268910087083 out of 100
3manticoresearchC++ search database with full-text, vector and hybrid search over SQL and HTTP Live demo ↗ (opens in a new tab)12.1k starsGPL-3.0last commit Nov 20268210095083 out of 100
#4xbergRust document extraction engine with OCR, tables and 15 language bindings Live demo ↗ (opens in a new tab)9.6k starsMITlast commit Nov 202677100100083 out of 100
#5auto-ontologyOntology layer that grounds text-to-SQL agents in certified business definitions15k starsApache-2.0last commit Nov 202685100607081 out of 100
#6azure-search-openai-demoRAG chat app over your documents using Azure OpenAI and Azure AI Search7.8k starsMITlast commit Nov 202672100833080 out of 100
#7qmdLocal hybrid search over markdown notes and docs, with CLI and MCP server31.6k starsMITlast commit Nov 202695100544079 out of 100
#8paradedbPostgres extension adding BM25 full-text, vector and hybrid search9.6k starsAGPL-3.0last commit Nov 20267610087079 out of 100
#9llm-appYAML-configured RAG server that keeps a vector database synced with a document folder58.7k starsMITlast commit Nov 20269810058077 out of 100
#10zvec-grepLocal CLI combining ripgrep, BM25 and vector search over code and documents4.4k stars+205 (+4.9%) in 30 daysApache-2.0last commit Nov 20266110086074 out of 100
#11chinese-poetry-apiChinese classical poetry API with REST, GraphQL, MCP and optional semantic search Live demo ↗ (opens in a new tab)3.7k stars+204 (+5.8%) in 30 daysGPL-3.0last commit Nov 20265410089073 out of 100
#12spiceaiRust SQL engine that federates, accelerates and searches data for AI apps3.1k starsApache-2.0last commit Nov 202650100794573 out of 100
#13chat-langchainLangChain docs Q&A agent with a Next.js chat frontend6.5k starsMITlast commit Nov 20266910033061 out of 100
#14chat-with-your-data-solution-acceleratorAzure RAG chat app that answers from your documents with citations1.2k starsMITlast commit Nov 20263210043052 out of 100
#15rag-apiFastAPI service for per-file document embedding and retrieval on pgvector928 starsMITlast commit Nov 20262710048052 out of 100
#16launchstackTypeScript engine for document ingestion, OCR, hybrid RAG and knowledge graphs898 starsApache-2.0last commit Nov 20262597394052 out of 100
#17langchainrbRuby library for LLM calls, RAG, vector search and tool-using assistants2k starsMITlast commit Oct 2026437055050 out of 100
#18oramaIn-process full-text, vector and hybrid search library for JavaScript10.6k starscustom licenselast commit Jul 202680720046 out of 100
#19SupabaseAuthWithSSRClaude chat on Next.js 16 with Supabase auth, pgvector RAG, cost dashboards Live demo ↗ (opens in a new tab)397 starsMITlast commit Oct 20268100207045 out of 100
#20llm-apps-java-spring-aiSpring AI sample projects for chat, RAG, tool calling and observability in Java790 starsApache-2.0last commit Nov 20261710027043 out of 100
#21rag-postgres-openai-pythonRAG over Postgres table rows with hybrid search and SQL filters512 starsMITlast commit Oct 202612100203043 out of 100
#22generativeaiexamplesNVIDIA notebooks and sample apps for RAG, agents and NeMo microservices4.2k starsApache-2.0last commit Sep 2026597010042 out of 100
#23serverless-chat-langchainjsRAG chatbot sample on Azure Functions, Cosmos DB and LangChain.js869 starsMITlast commit Oct 202621100103042 out of 100
#24ai-starter-kitSambaNova Python kits for document RAG, search assistant, function calling251 starsApache-2.0last commit Nov 202628150040 out of 100
#25azure-search-openai-javascriptTypeScript RAG on Azure AI Search with separate indexer and search services327 starsMITlast commit Oct 20264100163039 out of 100
#26llm-answer-enginePerplexity-style Next.js answer engine over Brave search results5k starsMITlast commit Apr 202664560036 out of 100
#27ragbitsModular Python toolkit for LLM prompts, RAG ingestion, agents and chat APIs1.7k starsMITlast commit May 2026386801533 out of 100
#28nano-graphragCompact Python GraphRAG library with swappable LLM, vector and graph storage4k starsMITlast commit Jan 2026561633032 out of 100
#29nextjs-openai-doc-searchBuild-time embeddings of your MDX docs into Supabase pgvector1.7k starsApache-2.0last commit May 202640610030 out of 100
#30azure-search-openai-demo-csharp.NET RAG chat sample over your documents with Azure OpenAI and AI Search846 starsMITlast commit Oct 2026197010030 out of 100
#31lightningragGo and Vue RAG platform with knowledge bases, agent canvas and admin UI456 starsApache-2.0last commit Apr 202610630022 out of 100
#32natural-language-postgresNext.js text-to-SQL over Postgres with auto-picked charts Live demo ↗ (opens in a new tab)333 starsApache-2.0last commit Apr 20265550018 out of 100
#33vectordbC++ vector database with REST API and Python, JavaScript and Ruby clients873 starsApache-2.0last commit Nov 2025no commits in a year230007 out of 100
#34openai-support-agent-demoSupport console where the model drafts and a human approves209 starsMITlast commit Dec 202507002 out of 100

Momentum, Verified build, Docs and Privacy are not measured yet; their weight goes to the signals shown. A dash means the signal is not scored for that kind of project. Hover a number for its rating in words.

Reviews

189 out of 100

xerj

Single-binary Rust search engine with Elasticsearch API, MCP server and agent memory

Live demo ↗ (opens in a new tab)21.6k stars+6,544 (+44%) in 30 daysApache-2.0last commit Nov 2026

XERJ is a Rust search engine that autoindexes folders of code, docs, logs, CSV, SQLite and PDFs for BM25, vector and hybrid search behind an Elasticsearch-compatible API. It also exposes an MCP server and a /_memory namespace API so coding agents can retrieve passages with file:line instead of grepping. Release binaries from rc.101 add XERJ Query-1, a proprietary model that answers questions over stored facts.

Strengths

  • Single Rust binary, no JVM; reports 1448 of 1458 Elasticsearch YAML conformance tests passing
  • `xerj autoindex` infers datasets and indexes code with tree-sitter symbols, no schema needed
  • Default lexical embedder runs offline; neural embedder is opt-in at about 90 MB download
  • Ships MCP tools and /_memory API for agent long-term memory

Weaknesses

  • XERJ Query-1 and /_facts are absent from the public source; release binaries only
  • Query-1 model crates are proprietary; training and evaluation data are not public
  • Query-1 mishandles sums and declines all 20 questions on a 95,000-fact namespace
  • rc.101 upgrades the data directory to format 4; rc.100 cannot reopen it
  • Rust, XERJ Query-1 (release binaries only), lexical embedder (default), neural embedder (opt-in)
283 out of 100

sonic

Lightweight schema-less search index that returns object IDs, written in Rust

Live demo ↗ (opens in a new tab)21.4k starsMPL-2.0last commit Oct 2026

Sonic is a Rust search backend that indexes text pushed over its Sonic Channel TCP protocol and returns identifiers, which you resolve against your own database. It supports typo correction, autocomplete suggestions, and stop-word removal for 80+ languages, storing data in RocksDB and FST files. The README reports about 30MB RAM under load and sub-millisecond queries on a 1M-message benchmark.

Strengths

  • README benchmark: ~28MB RAM peak and ~880μs average query on 1M messages
  • Built-in typo correction and autocomplete via the suggest operation
  • Buckets within collections allow separate per-user indexes
  • Official client libraries for NodeJS, Rust and PHP, plus many community ones

Weaknesses

  • Returns only identifiers; no document storage, so an external database is needed
  • No HTTP API; access is only through the Sonic Channel TCP protocol
  • master is bug-fix only while a v2 rework is underway
  • Pre-built packages target 64-bit Debian 12 only; no semantic or vector search
  • Rust
  • Docker
383 out of 100

manticoresearch

C++ search database with full-text, vector and hybrid search over SQL and HTTP

Live demo ↗ (opens in a new tab)12.1k starsGPL-3.0last commit Nov 2026

Manticore Search is a C++ search database with SQL (MySQL protocol) and HTTP JSON interfaces, positioned as an Elasticsearch alternative. It combines full-text search, KNN vector search, hybrid queries and auto-embeddings with chunking, and adds conversational search through SQL CALL CHAT. Storage is row-wise or columnar, with real-time inserts, sharded tables and Galera-based multi-master replication.

Strengths

  • Hybrid full-text and KNN retrieval in one query, with auto-embeddings and chunking
  • Speaks MySQL protocol and HTTP JSON; official clients for nine languages
  • Columnar storage for datasets larger than RAM; about 40MB RSS when empty
  • Replication, sharded tables, built-in auth, backup to S3-compatible storage

Weaknesses

  • GPL-3.0 licence may constrain embedding in proprietary products
  • Not fully ACID; only isolated transactions and binary logging
  • Elasticsearch compatibility covers writes only, not the full query API
  • Benchmark claims come from the project's own suite and are workload-specific
  • C++, auto-embeddings, LLM-backed CALL CHAT
  • Needs Manticore Columnar Library (columnar storage), LLM provider (conversational search)
#483 out of 100

xberg

Rust document extraction engine with OCR, tables and 15 language bindings

Live demo ↗ (opens in a new tab)9.6k starsMITlast commit Nov 2026

Xberg is a Rust engine that detects and reads 107 document formats (PDF, Office, images, email, archives, audio, URLs, source code) and returns text, tables, metadata or schema-driven JSON. It adds OCR backends, layout and table models, chunking and embeddings, and runs as a library, a 14-command CLI, a REST server or an MCP server. It is the v1 rebrand of Kreuzberg.

Strengths

  • 107 formats, including nested archives guarded by zip-bomb and depth limits
  • OCR via Tesseract, PaddleOCR, Candle or VLM backends with fallback chains
  • Bindings for 15 languages plus CLI, REST (`xberg serve`) and MCP stdio server
  • MIT license; CPU by default, no GPU required, with content-hash caching

Weaknesses

  • URL ingestion, transcription and reranker need Cargo features in from-source builds
  • Structured extraction needs an external LLM such as Ollama, vLLM or a hosted API
  • v1 rebrand of Kreuzberg; migration path from the old package is not described
  • Bindings are generated by alef, so each language package depends on that toolchain
  • Rust, Whisper ONNX (tiny to large-v3), PaddleOCR, PP-DocLayout-V3, RT-DETR
  • Needs Tesseract (optional OCR backend), Ollama, LM Studio, vLLM or hosted LLM (structured extraction)
  • Docker
#581 out of 100

auto-ontology

Ontology layer that grounds text-to-SQL agents in certified business definitions

15k starsApache-2.0last commit Nov 2026

Generates an ontology of terms, SQL attributes and relationships from database metadata, stores it in Postgres with pgvector, and uses it to answer natural-language questions with SQL and provenance. It ships a Next.js web UI, FastAPI backend and ingestion services, plus an MCP server, REST API and agent skills. Inference defaults to NVIDIA NIM endpoints; self-hosted or OpenAI-compatible endpoints can be set per model role.

Strengths

  • Connects to ten engines including Postgres, Snowflake, Databricks, ClickHouse, DuckDB and SQLite
  • Each answer returns its SQL and steps; check_answerable flags questions the data cannot cover
  • Read-only MCP server and streaming REST API work with Cursor and Claude Desktop
  • Imports and exports semantic models as Apache Ossie YAML

Weaknesses

  • Ingestion service has no authentication; ports 3001 and 3002 must stay private
  • Defaults need an NVIDIA API key unless each model role points elsewhere
  • Project is not accepting external contributions
  • Quickstart needs a second repo (auto-ontology-eval) and uv to seed the sample database
  • Python, NVIDIA NIM (Nemotron), OpenAI-compatible endpoints, self-hosted NIM
  • Needs PostgreSQL 17 with pgvector, NVIDIA NIM endpoint or OpenAI-compatible LLM, Docker Compose or Kubernetes (Helm), HashiCorp Vault (optional)
  • Docker
  • env example file
#680 out of 100

azure-search-openai-demo

RAG chat app over your documents using Azure OpenAI and Azure AI Search

7.8k starsMITlast commit Nov 2026

Python backend with a web frontend that answers questions over your own documents using Azure OpenAI (gpt-5.4-mini in the sample) and Azure AI Search. It shows citations and the thought process for each answer and exposes retrieval settings in the UI. Deployment uses the Azure Developer CLI (`azd up`), which provisions resources and indexes the sample Zava data.

Strengths

  • Multi-turn chat with citations and per-answer thought process
  • UI settings let you tweak prompts and retrieval options while testing
  • Optional multimodal, speech, Entra login with access control, and Cosmos DB chat history
  • Includes sample data plus docs on evaluation, monitoring and productionizing

Weaknesses

  • Tied to Azure services; no other model or search providers listed
  • azd up provisions paid resources, mainly AI Search, that bill immediately
  • README advises against production use without extra security work
  • Deploying needs Azure role assignment and deployment write permissions
  • Python, Azure OpenAI GPT (gpt-5.4-mini)
  • Needs Azure OpenAI, Azure AI Search, Azure Blob Storage, Azure AI Document Intelligence, Azure Container Apps, Azure Developer CLI, Azure Cosmos DB (optional)
#779 out of 100

qmd

Local hybrid search over markdown notes and docs, with CLI and MCP server

31.6k starsMITlast commit Nov 2026

QMD indexes markdown notes, transcripts and docs into a SQLite store and searches them with BM25 (FTS5), vector search and LLM reranking. Models run locally as GGUF through node-llama-cpp. It ships a CLI with JSON and file-list output for agents, an MCP server over stdio or HTTP (default port 8181), and a Node/Bun SDK.

Strengths

  • Hybrid pipeline: query expansion, BM25 plus vector search, RRF fusion, then LLM reranking
  • Runs on-device with GGUF models via node-llama-cpp; no hosted API needed
  • CLI, MCP server (stdio or HTTP) and TypeScript SDK available
  • HTTP server rejects non-loopback Origin and Host headers to block DNS rebinding

Weaknesses

  • HTTP endpoints are unauthenticated; off-host use needs your own auth in front
  • Built around markdown and text; other document formats are not mentioned
  • Embedding step must run before semantic search works
  • TypeScript, GGUF, qwen3-reranker
  • Needs Node.js or Bun, node-llama-cpp, SQLite
#879 out of 100

paradedb

Postgres extension adding BM25 full-text, vector and hybrid search

9.6k starsAGPL-3.0last commit Nov 2026

ParadeDB is a Rust Postgres extension that adds a custom index for BM25 full-text search, vector search, filters, facets, aggregations and joins. Search runs inside Postgres with standard SQL and ACID transactions, so no separate search engine is needed. It builds on pgrx, Tantivy and Apache DataFusion, and offers ORM integrations plus agent skills and MCP docs.

Strengths

  • Search and application data share one Postgres with ACID transactions
  • Covers BM25, vector and hybrid search, facets and aggregates in SQL
  • ORM integrations for Drizzle, Django, SQLAlchemy, Rails and EF Core
  • Built on Tantivy and DataFusion rather than a custom engine

Weaknesses

  • Community edition is AGPL-3.0; Enterprise needs a commercial license
  • Self-hosting Enterprise requires contacting sales
  • No embedding or document ingestion pipeline included
  • Prisma integration is not yet available
  • Rust
  • Needs PostgreSQL
  • Docker
#977 out of 100

llm-app

YAML-configured RAG server that keeps a vector database synced with a document folder

58.7k starsMITlast commit Nov 2026

serviette watches a folder or remote source (Google Drive, S3/MinIO, SharePoint, FTP/SFTP/WebDAV), parses and embeds documents with Pathway, and writes them to one of 8 vector databases. A separate stateless server hosts a web chat UI on / and a REST API under /api/v1 on port 8989, answering with cited sources. Edits and deletions in the source become upserts and deletes in the store within seconds.

Strengths

  • Edits, additions and deletions propagate to the vector store as real upserts and deletes
  • 8 backends: DuckDB (default, embedded), pgvector, Qdrant, Milvus, ChromaDB, Weaviate, Pinecone, MongoDB Atlas
  • Indexer and server are separate processes sharing only the database; server scales horizontally
  • Published benchmarks: 50 GB of text indexed at 14.65 GiB peak PSS, plus FRAMES retrieval results

Weaknesses

  • Requires a Pathway license key, free but obtained via GitHub or LinkedIn sign-in
  • No conversation memory or user accounts; answers one question at a time
  • Default DuckDB backend is single-writer, so it suits laptops and demos only
  • Local embeddings pull in PyTorch (about 0.8 GB for the CPU build)
  • Python, OpenAI, LiteLLM, SentenceTransformers, Gemini
  • Needs Pathway license key, Python with pip 23.1+, OpenAI API key (optional, for generated answers), Vector database (embedded DuckDB by default)
#1074 out of 100

zvec-grep

Local CLI combining ripgrep, BM25 and vector search over code and documents

4.4k stars+205 (+4.9%) in 30 daysApache-2.0last commit Nov 2026

zg indexes a project into a .zvec-grep/ directory and searches it with exact text or regex, BM25 full-text, and vector retrieval, using the zvec engine. It can be run from the terminal or installed as a search tool for agents such as OpenCode (`zg --install --target opencode`). Results are ranked and linked to source locations; code is indexed with symbols and signatures, prose as sections and chunks.

Strengths

  • Hybrid, FTS and vector queries in one CLI, with repeatable flags for multiple queries
  • Local embedding model option (local/potion-retrieval-32m); files and indexes stay on the machine
  • Same index serves terminal use and agent integration on macOS, Linux and Windows
  • Benchmarks with paired A/B runs and reproduction docs are published in the repo

Weaknesses

  • Agent benefit varies by model and run, per the README's own caveat
  • Remote embeddings send data off-machine when enabled
  • Index lives in .zvec-grep/ per project and must be built before searching
  • Agent integration documented only for OpenCode in the README
  • Rust, local/potion-retrieval-32m, Qwen3.7 Text Embedding
  • Needs Node.js/npm for install, zvec
#1173 out of 100

chinese-poetry-api

Chinese classical poetry API with REST, GraphQL, MCP and optional semantic search

Live demo ↗ (opens in a new tab)3.7k stars+204 (+5.8%) in 30 daysGPL-3.0last commit Nov 2026

Go service that serves about 400,000 Chinese poems (Tang poetry, Song ci, Yuan qu and more) from SQLite with FTS5 search. It exposes REST with an OpenAPI document, GraphQL and a read-only MCP endpoint, and stores simplified and traditional text together, switched by `?lang=`. Optional semantic search uses a bge-m3 vector file plus any OpenAI-compatible embeddings endpoint.

Strengths

  • Three interfaces on one port: REST with OpenAPI 3.2, GraphQL and MCP over Streamable HTTP
  • Simplified and traditional Chinese from one database via the lang parameter
  • Semantic search is optional; the service runs normally without the vector file
  • Built-in IP rate limiting and multi-arch Docker image (amd64/arm64)

Weaknesses

  • Semantic search needs a roughly 200MB vector file and an external embeddings API
  • Semantic search adds about 350MB resident memory and a 2-second startup load
  • Building with plain `go` requires the `sqlite_fts5` tag, or search fails
  • Documentation is in Chinese only; the dataset comes in via git submodules
  • Go, bge-m3
  • Needs SQLite with FTS5, Ollama or OpenAI-compatible embeddings API (optional, semantic search), Git submodules (dataset)
  • Docker
  • env example file
#1273 out of 100

spiceai

Rust SQL engine that federates, accelerates and searches data for AI apps

3.1k starsApache-2.0last commit Nov 2026

Spice is a single Rust binary (spiced) built on DataFusion and Arrow that connects to 30+ sources such as Postgres, Snowflake, S3 and Iceberg, declared in a spicepod.yaml. It can keep selected datasets as a local accelerated copy, refreshed on a schedule or via CDC. It serves SQL, vector/full-text/hybrid search, NSQL text-to-SQL, OpenAI-compatible LLM APIs and MCP over the same data.

Strengths

  • Single Rust binary runs as sidecar, standalone service or distributed Ballista cluster
  • Native CDC from PostgreSQL, MySQL and MongoDB without Debezium or Kafka
  • Hybrid search in one SQL query: vector_search, text_search, rrf and rerank
  • Serves SQL over HTTP, Flight SQL, JDBC, ODBC and ADBC, plus MCP and OpenAI APIs

Weaknesses

  • Configuration model (spicepods, accelerators, refresh modes) takes time to learn
  • Some features, such as whole-database CDC, are labelled Alpha
  • Cloud and Enterprise editions exist alongside the Apache-2.0 runtime
  • Benchmark claims in the README are the project's own, not independent
  • Rust, OpenAI, Anthropic, xAI, AWS Bedrock
  • Docker
#1361 out of 100

chat-langchain

LangChain docs Q&A agent with a Next.js chat frontend

6.5k starsMITlast commit Nov 2026

Documentation assistant that answers questions about LangChain, LangGraph and LangSmith. A Python agent built with LangChain middleware and deployed as a Managed Deep Agent searches the docs through a managed MCP connector and a Pylon support knowledge base, then checks links before answering. A Next.js frontend in frontend/ provides the chat UI with Supabase auth.

Strengths

  • Production example with guardrails, link validation and retry middleware as separate modules
  • Includes a Next.js chat UI with Supabase auth and per-user thread scoping
  • Docs search goes through a managed MCP connector declared in tools/mcp.py
  • MIT licensed; local dev with `mda dev .` and `npm run dev:local`

Weaknesses

  • Tied to the Managed Deep Agents runtime for deploy, identity and checkpointing
  • Needs a Pylon API key and KB ID, plus Supabase for frontend auth
  • Prompts and tools are specific to LangChain docs; reuse means rewriting them
  • No Docker or compose files and no tagged releases
  • Python, Anthropic (or another provider)
  • Needs Managed Deep Agents (mda), Supabase, Pylon, LangSmith, Anthropic API key (or another provider)
  • env example file
#1452 out of 100

chat-with-your-data-solution-accelerator

Azure RAG chat app that answers from your documents with citations

1.2k starsMITlast commit Nov 2026

Deploys a React frontend, a FastAPI backend and an Azure Functions ingestion worker to Azure Container Apps with `azd up`. Uploaded files and web pages are parsed, chunked and embedded, then answered with streamed responses and inline citations. Retrieval and chat history use either Azure AI Search with Cosmos DB or PostgreSQL with pgvector, chosen at deploy time.

Strengths

  • Choice of Azure AI Search + Cosmos DB or PostgreSQL + pgvector at deploy time
  • Managed identity and RBAC for all calls; no Key Vault or app secrets
  • Admin UI for ingesting documents and editing prompts without code changes
  • Two selectable orchestrators: Agent Framework or LangGraph

Weaknesses

  • Azure-only; requires Foundry, Document Intelligence, Storage, and Container Apps
  • Needs Contributor and RBAC rights on the subscription, plus model quota
  • README calls it a starting point, not production-ready
  • No Docker or compose files detected in the repo; local setup is in docs
  • Python, Azure AI Foundry chat and embedding models
  • Needs Azure AI Foundry, Azure AI Search, Azure Cosmos DB, Azure Database for PostgreSQL, Azure Document Intelligence, Azure Storage, Azure Container Apps, Azure Functions, Azure Content Safety, Azure AI Speech
  • Docker
  • env example file
#1552 out of 100

rag-api

FastAPI service for per-file document embedding and retrieval on pgvector

928 starsMITlast commit Nov 2026

Async FastAPI and Langchain service that ingests documents, embeds them under a file_id, and answers similarity queries against pgvector or Atlas MongoDB. Built mainly as the RAG backend for LibreChat, but usable for any ID-based retrieval. Reads and deletes are scoped to an owner taken from a verified JWT.

Strengths

  • Many embedding providers: OpenAI, Azure, Bedrock, Google GenAI, VertexAI, Hugging Face, TEI, Ollama
  • Reads and deletes are scoped by JWT owner before ranking
  • Batched async ingestion with bounded memory and rollback on failure
  • Optional RAG_DISTANCE_THRESHOLD drops weak matches to cut downstream LLM tokens

Weaknesses

  • entity_id is caller-asserted; untrusted callers need upstream authorization
  • Upgrading the service before the client orphans agent knowledge-base files on delete
  • Chunks with no user_id become unreadable after upgrade unless backfilled with SQL
  • Omitting JWT_SECRET disables authentication and stamps all chunks as public
  • Python, OpenAI, Azure OpenAI, AWS Bedrock, Google GenAI
  • Needs PostgreSQL with pgvector (or Atlas MongoDB), Embedding provider API (OpenAI by default)
  • Docker
#1652 out of 100

launchstack

TypeScript engine for document ingestion, OCR, hybrid RAG and knowledge graphs

898 starsApache-2.0last commit Nov 2026

Launchstack is a pnpm monorepo of TypeScript packages for ingestion, OCR, chunking, embeddings, hybrid retrieval with reranking, Neo4j entity sync and background jobs. A Next.js reference app and a durable worker wire them to Postgres with pgvector and S3-style storage. Chat goes through one OpenAI-compatible endpoint configured by YAML.

Strengths

  • Two-command self-host installer generates secrets and sets up HTTPS for a domain
  • Lite stack uses about 400MB RAM; Docling OCR profile adds about 1.2GB
  • Lint-enforced boundaries keep engine bricks independent of Next.js and the host app
  • Permission-scoped citations and hybrid retrieval with reranking, backed by Postgres with pgvector

Weaknesses

  • Packages are not on npm yet; consuming them means running this repository
  • Embeddings have no default; uploads are never searchable until a key is set
  • Needs a separate worker process, or uploaded documents stay queued
  • Wiring the engine into your own host takes seven separate registration calls
  • TypeScript, Gemini, Azure OpenAI, OpenAI-compatible chat endpoints, OpenAI-compatible embeddings
  • Needs Postgres with pgvector, S3-compatible storage, Neo4j (optional), Docling (optional OCR), Inngest (optional)
  • env example file
#1750 out of 100

langchainrb

Ruby library for LLM calls, RAG, vector search and tool-using assistants

2k starsMITlast commit Oct 2026

Langchain.rb is a Ruby gem that wraps LLM providers behind one interface for embeddings, completions and chat. It adds prompt templates, output parsers, a vector search layer over eight databases, and an Assistant class that runs tools and keeps conversation threads. Rails integration lives in a separate gem, langchainrb_rails.

Strengths

  • One LLM interface across 11 providers, including Anthropic, OpenAI, Gemini, Bedrock and Ollama
  • Vector search wrappers for Chroma, Hnswlib, Milvus, Pinecone, Pgvector, Qdrant, Weaviate, Elasticsearch
  • Loads docx, html, pdf, text, json, jsonl, csv, xlsx, eml and pptx into the index
  • Assistant class handles tool calls, image input and streaming for some providers

Weaknesses

  • Provider and vector DB client gems are not bundled and must be added by hand
  • Streaming is not supported for all LLMs
  • Last release was 2025-05-01, well behind recent commits
  • Ruby only, and Rails integration needs a separate gem
  • Ruby, Anthropic, AWS Bedrock, Azure OpenAI, Cohere
  • Needs Ruby, LLM provider API key or Ollama, vector database client gem (optional)
  • env example file
#1846 out of 100

orama

In-process full-text, vector and hybrid search library for JavaScript

10.6k starscustom licenselast commit Jul 2026

Orama is a TypeScript search engine that runs in the browser, Node, Deno or Bun. It indexes documents against a typed schema and supports BM25 full-text, vector and hybrid search, plus filters, facets, geosearch and typo tolerance. An AnswerSession API builds RAG chat on top, calling OpenAI through an optional secure proxy plugin.

Strengths

  • Runs in-process in browser, Node, Deno and Bun with no server required
  • Full-text, vector and hybrid modes in one API with BM25, facets and geosearch
  • Stemming and tokenization for 30 languages
  • Plugin system with official plugins for embeddings, persistence, Docusaurus, Astro and Nextra

Weaknesses

  • Index lives in memory; persistence needs a separate plugin
  • Vector search needs embeddings supplied or generated via a plugin
  • Chat answers depend on OpenAI models via the secure proxy plugin
  • Library only, not a standalone search server with its own HTTP API
  • TypeScript, OpenAI chat models via secure proxy (e.g. gpt-4o-mini), TensorFlow.js embeddings (512-dimension)
  • Needs OpenAI API (optional, for chat answers), TensorFlow.js (optional, for embeddings plugin)
#1945 out of 100

SupabaseAuthWithSSR

Claude chat on Next.js 16 with Supabase auth, pgvector RAG, cost dashboards

Live demo ↗ (opens in a new tab)397 starsMITlast commit Oct 2026

A Next.js 16 app on AI SDK v7 and Claude with complete Supabase SSR auth (signup, magic links, password reset, RLS on every table) and eight tools: PDF RAG (Mistral OCR, Voyage embeddings, hybrid RRF search in pgvector), Exa web search, versioned artifacts, memory, conversation search, sandboxed visualizations, PDF export and image generation. Per-step token usage feeds user and admin cost dashboards. For teams shipping a paid Claude assistant on Supabase.

Strengths

  • Whole schema, RLS, triggers and search functions in one idempotent setup.sql
  • Per-step token and cache usage stored on messages; user and admin cost dashboards
  • Two-tier Anthropic prompt caching with a hit-rate readout
  • Live instance at supa-chat.dev; committed within the last day

Weaknesses

  • Anthropic-only chat; OCR, embeddings and search add Mistral, Voyage and Exa keys
  • No tests listed
  • Image generation needs your own GPU server (RTX 5090 32 GB recommended)
  • One maintainer; large surface area to understand before customizing
  • TypeScript, anthropic, ai-sdk, mistral, voyage
  • Needs supabase, anthropic-api-key, mistral-api-key, voyage-api-key, exa-api-key
  • env example file
  • sign-in: Supabase Auth
#2043 out of 100

llm-apps-java-spring-ai

Spring AI sample projects for chat, RAG, tool calling and observability in Java

790 starsApache-2.0last commit Nov 2026

A collection of small Java 25 sample applications built on Spring AI. Each folder covers one topic: chat models, embeddings, prompts, structured output, tool calling, chat memory, guardrails, document ingestion, several RAG flows and LLM observability. Most samples use Ollama, some have Mistral AI and OpenAI variants, and retrieval samples use PGVector.

Strengths

  • Covers sequential, branching and conditional RAG flows with Ollama and PGVector
  • Same pattern often shown for Ollama, OpenAI and Mistral AI side by side
  • Includes chat memory variants: in-memory, JDBC, Spring Security, vector store
  • Includes observability samples for models and PGVector

Weaknesses

  • Separate sample modules, not one forkable app with auth or billing
  • Vector stores, evaluation and agents sections are marked coming soon
  • Requires Java 25, which many teams have not adopted
  • Only PGVector is shown as a vector store
  • Java, Ollama, OpenAI, Mistral AI, ONNX Transformers
  • Needs Java 25, Podman or Docker, Ollama, PGVector
#2143 out of 100

rag-postgres-openai-python

RAG over Postgres table rows with hybrid search and SQL filters

512 starsMITlast commit Oct 2026

A FastAPI backend and React frontend that answer chat questions about rows in a PostgreSQL table. Retrieval is hybrid (pgvector similarity plus full-text search fused with RRF), an OpenAI function call turns phrases like cheaper than 30 dollars into WHERE clauses, and it runs against Azure OpenAI, OpenAI.com or Ollama; azd deploys it to Container Apps with managed identity. For teams whose knowledge is structured rows, not documents.

Strengths

  • Hybrid vector plus full-text search with RRF is implemented in SQL, not a vendor service
  • Provider switch by env var: Azure OpenAI, OpenAI.com or Ollama
  • Evaluation, safety evaluation and load-testing docs included
  • Tests included; dev container and Codespaces configs

Weaknesses

  • Deploy path is Azure-only (azd, Container Apps, Flexible Server)
  • Local run expects Postgres 14+ with pgvector installed yourself
  • Sample schema is one products table; multi-table questions need new code
  • No auth in the app itself
  • Python, azure-openai, openai, ollama
  • Needs postgres-pgvector, azure-openai-or-openai-or-ollama, azd
  • GitHub template
  • env example file
#2242 out of 100

generativeaiexamples

NVIDIA notebooks and sample apps for RAG, agents and NeMo microservices

4.2k starsApache-2.0last commit Sep 2026

A collection of Jupyter notebooks and example apps showing how to use NVIDIA NIM microservices, NeMo microservices and the NVIDIA API Catalog with LangChain, LlamaIndex and Haystack. It covers basic and advanced RAG (multi-turn, multimodal, CSV, query decomposition), tool-calling fine-tuning, guardrails and vision NIM workflows. The basic RAG example runs with docker compose and a playground UI on port 8090.

Strengths

  • Covers basic and advanced RAG: multi-turn, multimodal, CSV data, query decomposition
  • Examples use LangChain, LlamaIndex and Haystack integrations
  • Defaults to hosted NVIDIA API Catalog endpoints; local NIM deployment is documented
  • Includes NeMo tutorials for fine-tuning, evaluation, guardrails and auditing

Weaknesses

  • Tied to NVIDIA NIM, NeMo and API Catalog; not vendor-neutral
  • Mostly notebooks and reference examples, not a deployable product
  • Last tagged release is 2024-08-21; some links point to old v0.7.0
  • Several examples need an NVIDIA API key or NeMo microservices on Kubernetes
  • Jupyter Notebook, NVIDIA NIM endpoints, Llama 3.1, Llama-3.2-1B-Instruct, NV-CLIP
  • Needs NVIDIA API Catalog key, Docker Compose, NVIDIA NIM, NVIDIA NeMo Microservices, Milvus
#2342 out of 100

serverless-chat-langchainjs

RAG chatbot sample on Azure Functions, Cosmos DB and LangChain.js

869 starsMITlast commit Oct 2026

A TypeScript sample that answers questions over PDF documents using LangChain.js, with a Lit chat web component on Azure Static Web Apps and an Azure Functions API. Azure Cosmos DB for NoSQL stores vectors and per-user chat history, and Blob Storage holds the source files. It runs against Azure OpenAI or locally with Ollama (llama3.1 and nomic-embed-text).

Strengths

  • Full path wired: ingestion, vector store, retrieval, chat history and web UI
  • Runs locally with Ollama, so no cloud cost for testing
  • One-command Azure deploy with azd up, plus optional CI/CD via azd pipeline config
  • Uses the HTTP protocol for AI chat apps between web app and API

Weaknesses

  • Tied to Azure services: Functions, Static Web Apps, Cosmos DB, Blob Storage
  • Azure deploy needs Azure OpenAI access and role-assignment permissions
  • Local Ollama models may not follow citation and follow-up question formatting
  • Sample data is a fictitious company; ingestion is shown for PDFs in /data
  • TypeScript, Azure OpenAI, Ollama llama3.1, Ollama nomic-embed-text
  • Needs Azure Static Web Apps, Azure Functions, Azure Cosmos DB for NoSQL, Azure Blob Storage, Azure OpenAI, Azure Developer CLI, Node.js 20+, Ollama (local mode)
#2440 out of 100

ai-starter-kit

SambaNova Python kits for document RAG, search assistant, function calling

251 starsApache-2.0last commit Nov 2026

Nine Python kits, each with its own README: document text extraction, enterprise and multimodal knowledge retrieval with Streamlit demos, a RAG evaluation kit, a web search assistant, a financial assistant using function calling and scraping, a function-calling module, benchmarking and chat templates. Everything calls SambaNova models through SAMBANOVA_API_KEY. For teams on SambaCloud or SambaStack who want working retrieval code.

Strengths

  • Knowledge retriever and search assistant kits include runnable Streamlit demos
  • Makefile base environment installs Python, Poetry, Tesseract and Poppler; Docker option
  • RAG evaluation kit included

Weaknesses

  • SambaNova endpoints only; swapping providers means editing each kit
  • README states the code is as-is and not production-ready
  • Mixed notebooks and apps; no single app to fork
  • Heavy setup: pyenv, Poetry, a parsing service and OCR system packages
  • Jupyter Notebook, sambanova, langchain
  • Needs sambanova-api-key, tesseract, poppler
  • Docker
#2539 out of 100

azure-search-openai-javascript

TypeScript RAG on Azure AI Search with separate indexer and search services

327 starsMITlast commit Oct 2026

The Node.js counterpart of the Azure RAG sample: a search API, an indexer service and a web app that answer chat and Q&A questions over your documents with citations, using Azure AI Search and Azure OpenAI through LangChain.js. azd up provisions Container Apps for the backend and a Static Web App for the frontend, and the search API speaks the AI chat HTTP protocol so the Python backend can replace it. For TypeScript teams on Azure.

Strengths

  • Indexer, search API and web app are separate services with their own deploys
  • Search API follows the AI chat HTTP protocol; the backend is swappable
  • Tests included; Codespaces and dev container configs

Weaknesses

  • Cannot run locally until azd up has provisioned Azure resources
  • No authentication shipped; Entra setup is a linked tutorial
  • Azure OpenAI and Azure AI Search only
  • Less active than the Python sample (seed stars 322 vs 7776)
  • TypeScript, azure-openai, langchain
  • Needs azure-subscription, azd, azure-ai-search, azure-openai, azure-blob-storage
  • GitHub template
#2636 out of 100

llm-answer-engine

Perplexity-style Next.js answer engine over Brave search results

5k starsMITlast commit Apr 2026

A Next.js app that takes a question, pulls results from Brave Search and Serper, scrapes the top pages with Cheerio, chunks and embeds them with OpenAI embeddings, and streams an answer from Groq (Mixtral by default) with sources, images and follow-ups. Optional Ollama, Upstash rate limiting, a semantic cache and a Portkey gateway are toggles in app/config.tsx; there is no auth or persistence. For developers learning the search-scrape-answer loop.

Strengths

  • Full pipeline readable in one config file: search, scrape, chunk, embed, answer
  • docker compose and a standalone Express API variant included
  • Optional rate limiting and semantic cache via Upstash

Weaknesses

  • Four API keys to start (OpenAI, Groq, Brave, Serper)
  • No auth, no chat history, no tests
  • Pinned to Next.js 14.1 and dated defaults (mixtral-8x7b-32768)
  • Ollama mode skips follow-up questions; vectors are in-memory only
  • TypeScript, groq, openai, ollama, portkey
  • Needs openai-api-key, groq-api-key, brave-search-api-key, serper-api-key
  • Docker
  • env example file
#2733 out of 100

ragbits

Modular Python toolkit for LLM prompts, RAG ingestion, agents and chat APIs

1.7k starsMITlast commit May 2026

Ragbits is a set of Python packages for building GenAI apps: typed prompts and LLM calls through LiteLLM, document ingestion and search over pluggable vector stores, agents with MCP and A2A, and a chat API with a UI. Packages install separately or as the `ragbits` bundle, and `create-ragbits-app` scaffolds projects from templates.

Strengths

  • Typed prompts using Python generics and Pydantic input models
  • Ingests 20+ formats via Docling or Unstructured, with S3, GCS and Azure connectors
  • Ray-based distributed ingestion for large datasets
  • Separate packages for core, agents, search, evaluation, guardrails and chat

Weaknesses

  • Library, not a deployable app; you write the Python wiring yourself
  • Python only
  • Quickstarts assume hosted OpenAI models; local model setup is in separate docs
  • Broad scope across prompts, RAG, agents and chat means many packages to learn
  • Python, 100+ LLMs via LiteLLM, local models, OpenAI
  • Needs LiteLLM, Qdrant, PgVector, Ray, Docling, Unstructured, OpenTelemetry, promptfoo
#2832 out of 100

nano-graphrag

Compact Python GraphRAG library with swappable LLM, vector and graph storage

4k starsMITlast commit Jan 2026

nano-graphrag is a Python library that builds a knowledge graph from text, generates community reports, and answers queries in global, local or naive RAG modes. The core is about 1100 lines excluding tests and prompts, with async methods and type hints. LLMs, embeddings, vector stores and graph storage can be replaced with your own implementations.

Strengths

  • About 1100 lines of core code, easy to read and modify
  • Pluggable storage: nano-vectordb, hnswlib, milvus-lite, faiss, networkx, Neo4j
  • Runs on OpenAI, Azure OpenAI, Bedrock, DeepSeek or ollama with local embeddings
  • Incremental insert dedupes chunks by md5 hash; async variant of every method

Weaknesses

  • Does not implement the covariates feature of the original GraphRAG
  • Global search uses only top-K communities (default 512), unlike the original
  • Each insert recomputes communities and regenerates community reports
  • Library only, no server or UI; last release was 2024-10-01
  • Python, OpenAI, Azure OpenAI, Amazon Bedrock, DeepSeek
  • Needs OpenAI API key (default), Neo4j (optional)
#3030 out of 100

azure-search-openai-demo-csharp

.NET RAG chat sample over your documents with Azure OpenAI and AI Search

846 starsMITlast commit Oct 2026

A C# reference app that answers questions over your own documents using Azure OpenAI (gpt-4o-mini) and Azure AI Search, orchestrated with Semantic Kernel. It ships a Blazor WebAssembly frontend, an ASP.NET Core Minimal API backend, and a .NET MAUI client, with Contoso Electronics sample data. Provisioning and deployment to Azure Container Apps run through azd and Bicep.

Strengths

  • End-to-end sample: azd up provisions Azure resources, indexes ./data, and deploys the app
  • Includes Chat, Q&A and Voice Chat pages, with citations and in-UI settings
  • Blazor web client plus a .NET MAUI Blazor Hybrid client sharing code
  • Optional Application Insights tracing, authentication and GPT-4V support

Weaknesses

  • Tied to Azure OpenAI, AI Search, Blob Storage and Document Intelligence; no other providers
  • Deployed app has no authentication by default; must be enabled separately
  • Default resources incur monthly cost; free SKUs have limits such as 2 pages per document
  • Needs Azure role-assignment permissions, plus Docker and azd locally
  • C#, gpt-4o-mini, Azure OpenAI embedding model, GPT-4V (optional)
  • Needs Azure OpenAI Service, Azure AI Search, Azure Blob Storage, Azure AI Document Intelligence, Azure Container Apps, Azure Developer CLI, Docker

Reviews for the top 30 of 34. Every project below them is ranked in the table above and has its own page with its review.

Written from each project's README and checked facts. Spot something wrong? Report it on GitHub (opens in a new tab).