Overrule is a parallel multi-agent system for intelligent contract review, designed to help legal professionals and individuals analyze contracts with speed and precision.
Key Features:
- Multi-Agent Review: Utilizes a "council" of AI agents (running on OpenAI, Google Gemini, and Grok) to provide diverse perspectives.
- RAG Integration: Leverages Pinecone vector database with legal document embeddings (e.g., Indian Labour Law) for context-aware analysis.
- Smart Interface: A modern, React-based frontend for uploading contracts, viewing agent insights, and managing reviews.
- Dynamic Analysis: Automated text extraction and risk scoring.
- Node.js (v16+ recommended)
- Python (v3.10+)
- PostgreSQL or SQLite (for local dev)
- API Keys: You will need API keys for OpenAI, Google Gemini, Grok (xAI), and Pinecone.
-
Navigate to the backend directory:
cd backend -
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
- Copy
.env.exampleto.env:cp .env.example .env
- Open
.envand add your API keys.
- Copy
-
Initialize the database (if required):
python -m app.database.session
-
Start the backend server:
uvicorn app.main:app --reload
The backend API will be available at
http://localhost:8000.
-
Open a new terminal and navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install
-
Start the development server:
npm run dev
The application will be running at
http://localhost:3000.
- Presentation (PPT): Link to Presentation Slides
- Demo Video: Link to Demo Video
MIT