All projects

DocuSense

Local-first, privacy-preserving contract intelligence.

Problem

Legal and contract review involves sensitive documents that often cannot leave an organization's boundary. Cloud LLM services are a non-starter for many teams, yet manual review is slow and inconsistent.

Solution

A fully local RAG system answers questions over contracts and flags risk without sending data to third parties. Everything runs on-prem or on a laptop, keeping documents private.

Architecture

Documents are embedded and indexed in FAISS, with answers generated by a locally hosted model via Ollama. A risk-classification agent reviews clauses and surfaces concerns, all exposed through FastAPI with a Streamlit interface.

Tech stack

RAGFAISSOllamaRisk ClassificationFastAPIStreamlit