SmartClause is an AI-powered contract analyzer that scans uploaded agreements, identifies risky clauses, assigns a risk level (high/medium/low), and suggests improvements. It uses a React frontend with a clean UI and an Express/Node backend to process and analyze the contract text. And uses Mistral's LLM APIs under the hood
- Supports unflattened startdard Pdfs, docx, and txt files
- Extracts contract text and analyzes it for risky clauses.
- Highlights clauses with low / medium / high risk levels.
- Provides clear recommendations to make contracts safer.
- Easily upload and analyze multiple contracts without refreshing.
- Clean minimal React + tailwind UI
- React
- Tailwind
- Typescript
- NodeJS
- ExpressJS
Follow these steps to set up and run the application locally
fork the repo and clone it
git clone https://github.com/your-username/SmartClause.git
cd SmartClausecd backend
npm installGo to https://console.mistral.ai/home, setup an account and get an api key from the Workspace > api keys section on the sidebar
Copy the api key
in the backend directory rename the .envExample file to .env and paste the api key in the mentioned space
node index.jscd ..
cd frontend
npm install
npm run devContributions are welcome! Please open an issue or submit a pull request for any changes. Feel free to integrate different LLMs.
This project is licensed under CC by NC 4.0 license