Skip to content

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.

License

Notifications You must be signed in to change notification settings

orbimatrix/Nexuslex

Repository files navigation

NexusLex

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.


Features

  • 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.

Tech Stack

  • Frontend: React, TypeScript, Vite, TailwindCSS
  • AI Integration: Google Gemini API

Getting Started

Prerequisites

  • Node.js (v16+ recommended)

Installation

npm install

Environment Setup

Create a .env file in the root with your Gemini API key:

VITE_API_KEY=your_gemini_api_key_here

Running Locally

npm run dev

Building for Production

npm run build

Usage Guide

  1. Select Contract Type: Choose Employment, Software License, or Commercial Lease.
  2. Provide Contracts: Paste or upload contract text for analysis or comparison.
  3. Analyze/Compare: Click Analyze or Compare to get results.
  4. Review Results: View summaries, clause breakdowns, and risk assessments.
  5. Export: Download or copy results as needed.

Analyzer Screenshot


Environment Variables

  • VITE_API_KEY: Your Google Gemini API key (required)

Project Structure

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

Contributing

  1. Fork the repo
  2. Create a feature branch (git checkout -b feature/your-feature)
  3. Commit your changes
  4. Push and open a pull request

License

MIT


Support & Contact


See Also

  • Wiki for detailed guides and documentation

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published