Skip to content

Vakilix

Vakilix is a next-gen AI-powered multilingual contract intelligence engine designed to help everyday users (including non-lawyers) understand, analyze, and interact with legal documents using the Google Gemini API.

Core trick

Scores clause risk per contract segment for a heatmap, then runs a negotiation between simulated counterparty agents.

Tags

Description

Vakilix is a next-gen AI-powered multilingual contract intelligence engine designed to help everyday users (including non-lawyers) understand, analyze, and interact with legal documents using the Google Gemini API. Built as a full-stack web application with FastAPI and React, Vakilix makes legal documents transparent, risk-aware, and conversational.
Shrit1401/GEMINI3hackahton★ 01 forksJavaScriptNOASSERTIONCreated Feb 14, 2026 · last push Feb 14, 2026

README excerpt

# 🧠 Vakilix++ — Multilingual Contract Intelligence Engine

> **AI-powered contract analysis** with risk heatmaps, multi-agent negotiation simulation, and voice Q&A in Indian languages.

![Python](https://img.shields.io/badge/Python-3.11+-blue) ![React](https://img.shields.io/badge/React-18-61dafb) ![FastAPI](https://img.shields.io/badge/FastAPI-0.104-009688) ![Gemini](https://img.shields.io/badge/Gemini-2.0_Flash-orange)

---

## ⚡ Quick Start (5 commands)

```bash
# 1. Clone
git clone <repo-url> && cd legal-saathi

# 2. Backend setup
cd backend
pip install -r requirements.txt
cp .env.example .env          # Add your API keys

# 3. Start backend
uvicorn app.main:app --reload --port 8000

# 4. Frontend setup (new terminal)
cd frontend
npm install

# 5. Start frontend
npm run dev
```

Open **http://localhost:5173** — you're live! 🚀

---

## 🔑 API Keys Required

| Service | Get Key | Purpose |
|---------|---------|---------|
| Google Gemini | [aistudio.google.com](https://aistudio.google.com/app/apikey) | AI engine |

Add to `backend/.env`:
```
GEMINI_API_KEY=your_key_here
```

---

## 🎯 Core Features

### 1. 📄 Smart Document Analysis
Upload PDF/image → AI extracts & analyzes every clause → Color-coded risk cards

### 2. 🔥 Risk Heatmap
Visual risk meter (0-100) + color-coded clause cards (green/yellow/red)

### 3. 🤝 Multi-Agent Negotiation (Unique!)
Click any clause → See 3 AI perspectives:
- 🏠 **Your Agent** — your concerns & leverage
- 🏢 **Their Agent** — their justification
-

Team