AI Document Assistant

Chat with your documents.
Answers grounded in the source.

Upload a PDF, ask a question, and get an answer drawn only from that file. Your documents stay private — isolation is enforced by Postgres, not by application code.

-- runs on every request, for every row
create policy "own documents" on documents
  using ( user_id = auth.uid() );
The database decides who sees what — not the app.

Next.js · Supabase · OpenRouter