NexusLex is an AI-powered contract analysis tool that helps you understand, compare, and assess legal documents with ease. Built with React, Vite, and Google Gemini AI, it provides automated clause extraction, risk assessment, and clear summaries for employment, software, and lease agreements.
- Automated Clause Extraction: Identify and categorize clauses from complex contracts.
- In-Depth Risk Assessment: Multi-tier risk scoring for liabilities, non-competes, and more.
- Simplified Summaries: Easy-to-understand explanations for all users.
- Version Comparison: Side-by-side contract comparison with change highlights.
- History & Export: Save, review, and export analyses.
- Modern UI: Responsive, dark-themed interface.
- Frontend: React, TypeScript, Vite, TailwindCSS
- AI Integration: Google Gemini API
- Node.js (v16+ recommended)
npm installCreate a .env file in the root with your Gemini API key:
VITE_API_KEY=your_gemini_api_key_here
npm run devnpm run build- Select Contract Type: Choose Employment, Software License, or Commercial Lease.
- Provide Contracts: Paste or upload contract text for analysis or comparison.
- Analyze/Compare: Click Analyze or Compare to get results.
- Review Results: View summaries, clause breakdowns, and risk assessments.
- Export: Download or copy results as needed.
VITE_API_KEY: Your Google Gemini API key (required)
Contract_AI/
components/ # React components (UI, pages)
services/ # API and AI integration
utils/ # Utility functions
public/ # Static assets (icons, manifest)
App.tsx # Main app component
index.tsx # Entry point
index.html # HTML template
README.md # This file
- Fork the repo
- Create a feature branch (
git checkout -b feature/your-feature) - Commit your changes
- Push and open a pull request
- For issues, use the GitHub Issues
- For questions, contact: support@nexuslex.com
- Wiki for detailed guides and documentation
