Ragdb: a Serverless, Single-File, Embedded Db That Runs Anywhere
Postedabout 1 month ago
pypi.orgTechstory
calmpositive
Debate
0/100
Serverless DatabaseEmbedded DatabaseSoftware Development
Key topics
Serverless Database
Embedded Database
Software Development
Introduction of RAGdb, a serverless, single-file, embedded database that runs anywhere.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
N/A
Peak period
1
Start
Avg / period
1
Key moments
- 01Story posted
Nov 20, 2025 at 1:43 PM EST
about 1 month ago
Step 01 - 02First comment
Nov 20, 2025 at 1:43 PM EST
0s after posting
Step 02 - 03Peak activity
1 comments in Start
Hottest window of the conversation
Step 03 - 04Latest activity
Nov 20, 2025 at 1:43 PM EST
about 1 month ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
Discussion (1 comments)
Showing 1 comments
AbkMysteryAuthor
about 1 month ago
I've been frustrated by the complexity of modern RAG stacks. To run a simple document search, you usually need Docker, Pinecone/Milvus, an Embedding Model, and heavy dependencies like LangChain or Torch.
I wanted an architecture that was truly portable.
Introducing RAGdb (v1.0.6)
It’s an embedded, multimodal knowledge graph that lives entirely inside a single SQLite file.
The Novelty:
Instead of heavy embeddings, it uses a Hybrid Search Engine (TF-IDF Vectorization + Exact Substring Boosting) written in pure NumPy. This allows it to run on edge devices, CI/CD pipelines, or inside strict corporate environments where you can't spin up servers.
Key Features:
Zero Heavy Dependencies: The core is <30MB.
Portable Container: The .ragdb file contains the vectors, the metadata, the extracted text, and the search index. You can email the database to a colleague.
SOTA OCR: Optional support for ONNX-based OCR if you need to index images.
Incremental Ingestion: It hashes files and only re-processes changed documents.
Installation:
pip install ragdb
Code & Architecture:
https://github.com/abkmystery/ragdb
I’m looking for feedback on the retrieval architecture. I believe this "Single-File" approach is the missing link for local-first AI.
View full discussion on Hacker News
ID: 45996105Type: storyLast synced: 11/22/2025, 4:19:29 AM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.