LawyeredUp is a web application designed to demystify complex legal documents. Users can upload contracts, agreements, and other legal texts to receive AI-powered analysis, including simple summaries, risk identification, and suggested counter-proposals. It empowers startups, small businesses, and individuals to understand legal jargon without needing a lawyer for every review.
- Document Upload: Supports various formats including
.pdf,.docx, and.txt. - Paste Text: Directly paste text from any source for quick analysis.
- AI-Powered Analysis:
- Plain Language Summaries: Get summaries at different complexity levels (e.g., "Explain Like I'm 5").
- Risk Identification: Clauses are automatically categorized as "Risky," "Negotiable," or "Standard."
- Counter-Proposals: Receive AI-generated suggestions for improving risky or negotiable clauses.
- Interactive Document Viewer: Click on highlighted clauses to see detailed analysis in a popover.
- Advanced AI Tools: Explore a full suite of AI features, including:
- Answering specific questions about the document.
- Comparing different versions of a contract.
- Generating summaries for different audiences (Lawyer, Layman, Risk-focused).
- Tracking compliance dates and obligations.
- Responsive Design: Modern, clean interface that works on all devices.
- Dark/Light Mode: Toggle between themes for user comfort.
- Framework: Next.js (with App Router & Turbopack)
- AI Integration: Google's Genkit
- AI Models: Google Gemini family
- UI Components: ShadCN/UI
- Styling: Tailwind CSS
- Deployment: Vercel
Follow these instructions to set up and run the project on your local machine.
git clone https://github.com/your-username/lawyered-up.git
cd lawyered-upnpm installYou'll need a Google Gemini API key to use the AI features.
-
Obtain an API key from Google AI Studio.
-
Create a new file named
.envin the root of your project. -
Add your API key to the
.envfile:GEMINI_API_KEY=your_api_key_here
npm run devThe application will be available at http://localhost:9002.
This application is configured for easy deployment on Vercel.
- Push your code to a GitHub repository.
- Import the repository into your Vercel account.
- Add Environment Variable: In your Vercel project settings, add the
GEMINI_API_KEYwith its value. - Click "Deploy." Vercel will automatically detect the Next.js framework and deploy your application. The
vercel.jsonfile in this repository contains the necessary rewrite rules for the Genkit API flows to work correctly.