Bring your documents, pick your stack, and turn them into an AI-powered knowledge engine with full control over data and security.
What are the security policies for document access?
Based on your organization's documents, here are the key security policies...
RAG Fortress is a plug-and-play Retrieval-Augmented Generation system with support for multiple LLMs, vector stores, embedding providers, and custom security layers. It works as a personal knowledge base, a team knowledge system, or a secure enterprise RAG stack.
Open source, local-LLM friendly, and fully configurable. Build the RAG system you need, not the one a vendor wants you to use.
Choose your LLM, your embeddings, your vector store, and your database. Nothing is locked in.
Local models via llama.cpp or any self-hosted provider. No document leaves your environment if you don't want it to.
Supports layered security boundaries, from public knowledge bases to tightly restricted internal department access.
SQLite for lightweight deployments, Redis for caching, Qdrant free tier for vector storage, and interchangeable providers for each component.
User management, admin dashboard, optional error reporting, logging, and organization support.
You seeβand can modifyβeverything in the pipeline.
From developers to enterprises, RAG Fortress adapts to your specific knowledge management needs.
Add PDFs, text files, CSVs, and more to your knowledge base
Choose your LLM, embeddings, and vector store
Process and vectorize your documents
Ask questions and get context-aware answers
Experience the power of intelligent document conversations
Intelligent Conversations with Your Documents
Get context-aware answers powered by your knowledge base
Chat naturally with your documents and get intelligent responses
Role-based access control and department-level security
Smart caching and optimized retrieval for instant responses
Understands your documents and provides relevant answers
Support for OpenAI, Gemini, HuggingFace, and local models
Complete audit trails and analytics dashboard
Activity monitoring & analytics
Configure LLMs & vector stores
Organize teams & access control
Email-based user onboarding
Detailed audit logs
Fine-tune every setting
Get RAG Fortress running in minutes with our streamlined setup process.
# Clone repository
git clone https://github.com/nurudeen19/rag-fortress.git
cd rag-fortress/backend
# Install with uv (recommended)
uv sync
# Activate environment
.venv\Scripts\Activate # Windows
# source .venv/bin/activate # macOS/Linux
# Configure environment
cp .env.example .env
# Edit .env with your API keys
# Initialize database
python setup.py
# Start server
python run.py
# Navigate to frontend
cd frontend
# Install dependencies
npm install
# Configure environment
cp .env.example .env
# Set API_URL if needed
# Start development server
npm run dev
# Access at:
# Frontend: http://localhost:5173
# Backend: http://localhost:8000
# API Docs: http://localhost:8000/docs
Email:
admin@ragfortress.com
Password:
admin@Rag1
Start building with RAG Fortress today. Open source, flexible, and built for teams.