Project — AI Security / Access Control
RAGulator
Layered defense for an LLM document assistant. It figures out what a user is asking for and verifies their clearance before a single file comes back.
When an AI sits between your team and your files, something has to decide who is actually cleared to see what.
What it is
RAGulator is a working model of defense in depth, stacking multiple independent security checks around an AI that reads internal documents. Every prompt runs a strict gauntlet: input sanitization, a fast regex pre filter for sketchy patterns, and an AI threat check that fails closed, meaning anything it cannot prove is safe gets blocked on the spot. Cleared requests hit an intent router that sends them to search, file retrieval, policy lookup, or a plain chat reply. Any layer can kill a bad request cold.
What it proves
A basic login is not enough. Access is gated on clearance level and strict need to know. Policy answers pull straight from real policy files using RAG, short for retrieval augmented generation, so the model grounds every answer in actual rules instead of improvising. Built as an open reference design with offline tests, a notebook UI, and transparent limits, it puts the control architecture in plain sight instead of hiding behind a black box.