Permission-Aware Enterprise RAG Copilot with Verifiable Citations
Building an internal AI research engine that respects granular document ACLs and eliminates ungrounded hallucinations.
96.8%
Citation Grounding Score
Audited across 500 evaluation prompts
4.5 hrs
Saved Per Analyst / Week
Verified across 320 consultants
0
Cross-Tenant Data Leaks
Verified via automated RBAC security tests
Engagement Objectives
- Enforce user-level ACL filtering prior to vector retrieval
- Provide inline paragraph-level source citations on every answer
- Maintain p95 first-token streaming under 450ms
Client Background
Synthetix advises enterprise clients using 1.8M proprietary contracts, memos, and compliance filings.
Business Problem
Generic LLM tools leaked cross-matter context and invented precedent citations during partner review.
Proposed Solution
Hybrid BM25 + dense vector retrieval filtered by RBAC security tokens inside PostgreSQL pgvector with strict citation verification.
Discovery & Research
Benchmarked 6 chunking strategies and rerankers against a 500-question legal evaluation gold set.
UI/UX Design Process
Split-pane research canvas showing streaming answers side-by-side with highlighted source PDF spans.
Development Process
Built automated faithfulness regression tests running in CI before every prompt or retriever change.
System Architecture
Web research workspace + Python FastAPI retrieval pipeline + pgvector pre-filtered HNSW indexes.
Engineering Challenges
Pre-filtering HNSW vector queries by complex group permissions initially degraded recall on narrow matters.
Implementation & Rollout
Implemented partitioned matter indexes and hybrid lexical fallback achieving 96.8% top-5 retrieval recall.
“The first AI tool our compliance committee approved unanimously—fast, accurate, and completely auditable.”