A flexible, secure,
vendor-agnostic
knowledge platform.

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...

What It Is

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.

Why It's Not Just Another RAG Tool

πŸ”Œ

Vendor Agnostic by Default

Choose your LLM, your embeddings, your vector store, and your database. Nothing is locked in.

🏠

Internal LLM Support

Local models via llama.cpp or any self-hosted provider. No document leaves your environment if you don't want it to.

πŸ”’

Multi-Security Levels

Supports layered security boundaries, from public knowledge bases to tightly restricted internal department access.

🎯

Flexible Architecture

SQLite for lightweight deployments, Redis for caching, Qdrant free tier for vector storage, and interchangeable providers for each component.

πŸ‘₯

Designed for Real Teams

User management, admin dashboard, optional error reporting, logging, and organization support.

πŸ“¦

No Black Box Dependencies

You seeβ€”and can modifyβ€”everything in the pipeline.

Core Features

βœ“ Easy setup with environment-based configuration
βœ“ Document ingestion with multiple file formats
βœ“ Supports OpenAI, Gemini, Llama.cpp, and HuggingFace models
βœ“ Plug-and-play vector store integrations (Qdrant, Pinecone, FAISS, Chroma)
βœ“ Multi-tenant ready with department isolation
βœ“ Role-based access control (RBAC)
βœ“ Chat interface + search interface
βœ“ Admin controls for LLM config, embeddings, vector store
βœ“ Caching layer with Redis support
βœ“ RESTful API endpoints for integration
βœ“ Document approval workflow
βœ“ Demo mode for public showcases

Who Benefits from RAG Fortress?

From developers to enterprises, RAG Fortress adapts to your specific knowledge management needs.

πŸ‘¨β€πŸ’»

Developers & Engineers

  • β€’ Spin up RAG systems without vendor lock-in
  • β€’ Experiment with different LLM architectures
  • β€’ Build custom RAG solutions for clients
🏒

Enterprises & Businesses

  • β€’ Secure internal knowledge base with RBAC
  • β€’ Department-level access control
  • β€’ Policy & compliance document management
πŸŽ“

Educational Institutions

  • β€’ Course materials & lecture notes hub
  • β€’ Student AI study assistants
  • β€’ Research paper repository with semantic search
πŸ”

Security-Conscious Organizations

  • β€’ 100% on-premise deployment with local LLMs
  • β€’ Air-gapped environment support
  • β€’ Multi-level security clearance enforcement
🌍

NGOs & Nonprofits

  • β€’ Community knowledge systems
  • β€’ Resource libraries without cloud costs
  • β€’ Multi-language document support
βš–οΈ

Legal & Compliance Teams

  • β€’ Case law & regulation research
  • β€’ Contract & agreement analysis
  • β€’ Audit trail & activity logging

How It Works

1

Upload Documents

Add PDFs, text files, CSVs, and more to your knowledge base

2

Configure Providers

Choose your LLM, embeddings, and vector store

3

Index Content

Process and vectorize your documents

4

Start Querying

Ask questions and get context-aware answers

See It In Action

Experience the power of intelligent document conversations

πŸ’¬ RAG Fortress Chat
RAG Fortress Chat Interface

Intelligent Conversations with Your Documents

Get context-aware answers powered by your knowledge base

πŸ’¬

Natural Conversations

Chat naturally with your documents and get intelligent responses

πŸ”

Secure & Private

Role-based access control and department-level security

⚑

Lightning Fast

Smart caching and optimized retrieval for instant responses

🎯

Context-Aware

Understands your documents and provides relevant answers

πŸ€–

Multiple LLMs

Support for OpenAI, Gemini, HuggingFace, and local models

πŸ“Š

Activity Tracking

Complete audit trails and analytics dashboard

Complete Platform Overview

Admin Dashboard

Admin Dashboard

Activity monitoring & analytics

Application Settings

Application Settings

Configure LLMs & vector stores

Department Management

Department Management

Organize teams & access control

User Invitations

Multi-Tier Invitations

Email-based user onboarding

Activity Logger

Activity Logger

Detailed audit logs

Settings Details

Detailed Configuration

Fine-tune every setting

Quick Start Guide

Get RAG Fortress running in minutes with our streamlined setup process.

πŸ”§ Backend Setup
# 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
🎨 Frontend Setup
# 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

πŸ”‘ Default Credentials

Email:

admin@ragfortress.com

Password:

admin@Rag1

πŸ“š Documentation

Ready to Build Your Knowledge Platform?

Start building with RAG Fortress today. Open source, flexible, and built for teams.