raglite logo

raglite

superlinear-ai/raglite

Python toolkit for Retrieval-Augmented Generation (RAG) with DuckDB or PostgreSQL

GraphCanon updated 2d · GitHub synced 2d

1.2k stars108 forksLast push 1w Python MPL-2.0

Decision brief

RAGLite offers specialized capabilities for integrating Retrieval-Augmented Generation (RAG) models with DuckDB or PostgreSQL.

Good fit when

  • - You need to leverage Retriever-Reader architectures specifically optimized for either DuckDB or PostgreSQL backend databases.
  • - Your application requires a Python-based solution without the overhead of additional language binding requirements.

Avoid when

  • - The project demands integration with RAG systems that natively support database backends other than DuckDB and PostgreSQL, as RAGLite is limited to these two options.
  • - You are looking for a more generalized framework that supports multiple vector search engines besides those compatible with DuckDB or PostgreSQL.

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (5d since push)
As of 2d
Provenance
Not a fork · Organization account
As of 2d
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install raglite
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

RAGLite is a Python-based toolkit facilitating Retrieval-Augmented Generation using either DuckDB or PostgreSQL as backend databases.

Capability facts

Deploy
Self-host

Source: dockerfile:Dockerfile · Aug 23, 2026

Docker
Dockerfile present

Source: dockerfile:Dockerfile · Aug 23, 2026

CLI
CLI entrypoint

Source: pyproject.toml:[project.scripts] · Aug 23, 2026

Languages
python

Source: github.language+pyproject.toml · Aug 23, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

LangChain integrationLangChain

Source: README excerpt (regex_v1, Aug 23, 2026)

source dependencies (e.g., no [PyTorch](https://github.com/pytorch/pytorch) or [LangChain](https://github.com/langchain-ai/langchain))
Source link
Python runtimePython

Source: README excerpt (regex_v1, Aug 23, 2026)

RAGLite is a Python toolkit for Retrieval-Augmented Generation (RAG) with DuckDB or PostgreSQL.
Source link
Works with ChatGPTChatGPT

Source: README excerpt (regex_v1, Aug 23, 2026)

- 💬 Optional customizable ChatGPT-like frontend for [web](https://docs.chainlit.io/deploy/copilot), [Slack](https
Source link

Tags

README

🥤 RAGLite

RAGLite is a Python toolkit for Retrieval-Augmented Generation (RAG) with DuckDB or PostgreSQL.

Features

Configurable
Fast and permissive
  • ❤️ Only lightweight and permissive open source dependencies (e.g., no PyTorch or LangChain)
  • 🚀 Acceleration with Metal on macOS, and CUDA on Linux and Windows
Unhobbled
Extensible
  • 🔌 A built-in Model Context Protocol (MCP) server that any MCP client like Claude desktop can connect with
  • 💬 Optional customizable ChatGPT-like frontend for web, Slack, and Teams with Chainlit
  • ✍️ Optional conversion of any input document to Markdown with Pandoc
  • 🔎 Optional high-quality document processing with Mistral OCR for PDFs, images, DOCX, and PPTX with automatic image descriptions
  • ✅ Optional evaluation of retrieval and generation performance with Ragas

Installing

[!TIP] 🚀 If you want to use local models, it is recommended to install an accelerated llama-cpp-python precompiled binary with:

# Configure which llama-cpp-python precompiled binary to install (⚠️ not every combination is available):
LLAMA_CPP_PYTHON_VERSION=0.3.9
PYTHON_VERSION=310|311|312
ACCELERATOR=metal|cu121|cu122|cu123|cu124
PLATFORM=macos

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.