Skip to content

AI-powered contract analysis tool that helps users understand legal documents through natural language conversations and intelligent summaries.

Notifications You must be signed in to change notification settings

walidelnozahy/contract-ai

Repository files navigation

ContractAI

An AI-powered platform for analyzing contracts and legal documents. Upload PDFs, chat with AI about their contents, and get intelligent insights through semantic search and context-aware responses.

Key Features

  • 📄 PDF Document Analysis
  • 💬 AI-Powered Chat Interface
  • 🔍 Semantic Search
  • 🌓 Dark/Light Mode
  • 📱 Responsive Design

Tech Stack

  • Next.js 15 (App Router)
  • Supabase (Database & Storage)
  • OpenAI API & LangChain.js
  • TailwindCSS & Shadcn/ui
  • TypeScript

Quick Start

  1. Install dependencies:

    npm install
  2. Configure environment:

    SUPABASE_URL=your_supabase_url
    SUPABASE_KEY=your_supabase_key
    OPENAI_API_KEY=your_openai_api_key
  3. Setup and run:

    npm run setup:db
    npm run setup:storage
    npm run dev

Architecture

  • Edge-first AI processing
  • Server Components
  • Streaming responses
  • Vector-based search
  • Type-safe operations

About

AI-powered contract analysis tool that helps users understand legal documents through natural language conversations and intelligent summaries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages