AI / Infrastructure
sret-rag
Self-Hosted RAG on a 4-PC LAN Cluster

About this project
Built for offline AI access at college with zero cloud dependency. Fully offline, self-hosted Retrieval-Augmented Generation system distributed across 4 budget PCs on a LAN: a FastAPI gateway, dedicated embedder, FAISS vector index, and a llama.cpp/Qwen2.5 LLM node. ChatGPT-style UI, cited answers, embed caching, doc dedup, and session-based auth.
The problem
A college needed an AI document assistant with no cloud dependency and no GPU budget.
Approach
Four budget PCs each take one role: FastAPI gateway and UI, MiniLM embedder, FAISS index with SQLite metadata, and a llama.cpp node running Qwen2.5 7B (Q4_K_M).
Results
Upload PDF, DOCX or text files and get cited answers fully offline on Intel i3 machines with 8 GB RAM. The gateway exposes an OpenAI-compatible chat endpoint with streaming.
Related
- Category
- AI / Infrastructure
- Built by
- Jeyadev R
- Source code
- github.com/jeyadev-jd/sret-rag


