
AI / LegalTech
LexAgent
A premium, full-stack RAG platform tailored for Indian Startup Compliance, featuring a glassmorphic UI, local embeddings, and context-aware legal report generation.
React
FastAPI
Qdrant
Gemini API
Python
Tailwind CSS
Framer Motion

The Overview
LexAgent is a sophisticated AI-powered compliance assistant designed to navigate the complex landscape of Indian laws and regulations. It utilizes a Retrieval-Augmented Generation (RAG) architecture to provide accurate, context-aware legal advice by querying a vector database of official compliance documents like the Companies Act and IT Act. The platform features a high-end SaaS frontend with smooth animations, a real-time AI thinking window that shows retrieved citations, and the ability to export professional compliance reports. Built with data privacy in mind, it uses local embedding models to ensure sensitive legal queries remain secure while minimizing API costs.
Key Features
Glassmorphic dark-mode UI with Framer Motion animations
Hierarchical document processing for legal structure (Chapters/Sections)
Local all-MiniLM-L6-v2 embeddings for privacy and cost-efficiency
Lightning-fast semantic search powered by Qdrant Vector Database
Hallucination-free legal reports with verified URL citations
Exportable, standalone HTML compliance dashboards
The Journey
"Developing a robust RAG pipeline that maintains the strict hierarchical structure of legal documents while ensuring low-latency retrieval was a significant technical hurdle. Balancing the rich, animated frontend with the high-performance backend required careful optimization of data flow and state management. Fine-tuning the LLM prompts to strictly adhere to Indian Law and prevent hallucinations required extensive iteration on context injection strategies."
Showcase Portfolio
Next Exploration
Let's build something epic→