Agentic Multi-User RAG Platform
Aug 2026Full-stack agentic RAG · FastAPI + React + PostgreSQL
A multi-user RAG platform built around a LangGraph tool-calling agent that autonomously decides between document retrieval, live Gmail actions, and memory recall per query — genuine agentic reasoning instead of static retrieve-then-generate.
- Hybrid dense + sparse retrieval: pgvector HNSW + BM25 (ParadeDB), fused via Reciprocal Rank Fusion — all from a single Postgres instance.
- Persistent long-term memory built from scratch: LLM-driven write tool, two-layer semantic deduplication, automatic cross-session recall per user.
- Content-aware ingestion for PDFs, images, and 10+ formats (Docling, Unstructured) with LLM metadata enrichment and table-preserving chunking.
- Multi-user security: Supabase auth, per-thread authorization, Fernet-encrypted per-user OAuth credentials for Gmail — concurrency-safe under simultaneous load.