DocSentry

Ask your documents. Don't let them give the orders.

Upload documents and ask questions. Answers come only from your files, with citations you can check. Documents are treated as untrusted data: text that tries to hijack the AI is detected, quarantined and never sent to the model.

Sign in with GitHub

Guest mode needs no account. It loads four sample documents for a fictional company, one of which contains a planted prompt-injection attack. Guest workspaces are deleted after 24 hours.

Isolated by the database

Postgres row-level security scopes every query to the signed-in user, so one bug can't leak another tenant's files.

Injection-aware

Uploads are scanned for injected instructions and hidden characters. The model gets no tools, and answers are checked on the way out.

Grounded and measured

Hybrid vector and keyword retrieval, cited answers, and a Python evaluation suite that scores accuracy and attack resistance.