# JurixAI

> Indian legal AI that cites real laws, not hallucinations

The page: https://tushar-is-a-dev-portfolio.vercel.app/work/jurixai

2026 · Product

🏆 19 Bare Acts · ~7K Legal Vectors · Trilingual OCR

Grounded across 19 Indian bare acts so every answer actually backs itself with real sections. Drop in messy legal PDFs or photos via OCR, ask in three languages, and get straight answers without the legalese headache.

## What it does

- Grounded in **6,994 semantic chunks** across 19 Indian statutes (BNS 2023, BNSS Sec. 173, BSA 2023, IT Act 2000, Consumer Protection Act) indexed in ChromaDB.
- Reviews scanned FIRs, notices, and agreements using **Tesseract OCR** with automatic fallback for English and Hindi text.
- Generates empathetic, citizen-level advice in **English, Hindi (Devanagari), and Hinglish** with structured exit strategies.
- Input-token optimization with **smart small-talk RAG bypass** (<500 char prompt) and bounded history windows to keep API costs predictable.
- Production security with global daily kill-switch, per-IP guest rate limits, magic-byte upload validation, and decompression bomb protection.

## Built with

FastAPI, ChromaDB, LangChain, Gemini API, React, Tesseract OCR, Supabase, Azure Container Apps, Vercel

- [Demo](https://jurix-ai.vercel.app)
- [Repo](https://github.com/tusharsingh-sde/JurixAI)

## Screenshots

![JurixAI 1](https://tushar-is-a-dev-portfolio.vercel.app/work/jurixai-1.webp)

![JurixAI 2](https://tushar-is-a-dev-portfolio.vercel.app/work/jurixai-2.webp)

![JurixAI 3](https://tushar-is-a-dev-portfolio.vercel.app/work/jurixai-3.webp)
