Sean-Michael

Librarius

An end-to-end Retrieval Augmented Generation (RAG) system for Warhammer 40K rulebooks. Fully self-hosted on my homelab K3s cluster.

Architecture

The system is built as a three-phase pipeline, each named after Librarian specializations from the lore:

Phase 1: Lexicanium — Data Ingestion

Phase 2: Epistolary — Embedding

Phase 3: Codicier — Retrieval & Generation

Why

LLMs hallucinate game rules constantly. By grounding responses in actual rulebook content with semantic search, the system provides accurate, sourced answers about game mechanics.