Skip to content

RLASAF12/LegalMate-AI

Repository files navigation

LegalMate AI

AI Legal Assistant — Business Law Answers in Plain Language

License: MIT Status PRs Welcome React AI Powered

Got a legal question? Ask in plain English, get a real answer. LegalMate AI explains business law concepts clearly — no jargon, no $300/hour consultation fee.


The Problem

Legal questions don't come up on a schedule. They come up at 11 PM when you're reviewing a contract, on Sunday when a client threatens to sue, or right before you sign a lease. Lawyers charge $300-700/hour and don't respond on weekends.

After 6 years of answering the same legal questions from business owners — "Can they do this?", "Am I liable?", "What does this clause mean?" — I realized most of these answers could be delivered instantly by AI.

The Solution

LegalMate AI is a conversational legal assistant that answers business law questions in plain, understandable language. It covers the topics business owners actually ask about: contracts, IP, employment law, privacy, business formation, and commercial disputes.


Features

  • Conversational Chat: Ask legal questions naturally — get structured, helpful answers
  • 6 Legal Categories: Business Formation, Contracts, Intellectual Property, Employment Law, Privacy & Data Protection, Commercial Disputes
  • Plain Language Responses: No legalese — explanations written for business owners, not lawyers
  • Context-Aware: Full conversation history so follow-up questions build on prior answers
  • Popular Topics Library: Pre-built Q&A for the most common business law questions
  • Suggested Follow-ups: 3 relevant follow-up questions after each answer to explore deeper
  • Chat History: Save, revisit, and continue conversations anytime

Quick Start

```bash git clone https://github.com/RLASAF12/-LegalMate-AI.git cd -LegalMate-AI npm install npm run dev ```

Open http://localhost:5173


Example Questions

Category Sample Questions
Business Formation "What's the difference between an LLC and a Corporation?"
Contracts "What happens if someone breaches our contract?"
Intellectual Property "How do I trademark my business name?"
Employment Law "Can I include a non-compete in an employment contract?"
Privacy "Do I need a privacy policy for my website?"
Disputes "Someone owes me money — what are my options?"

Tech Stack

Layer Technology
Frontend React 18, Vite, Tailwind CSS
UI Components Shadcn UI, Lucide Icons
AI Engine LLM Integration (OpenAI / Claude)
Backend Base44 (serverless functions, auth, database)

Who Is This For?

  • Startup founders navigating legal questions for the first time
  • Small business owners who can't justify a lawyer on retainer
  • Freelancers dealing with contract disputes or client issues
  • Entrepreneurs researching business formation and IP protection
  • Anyone who's ever Googled a legal question and gotten more confused

Roadmap

  • Jurisdiction-specific answers (US states, EU countries, UK)
  • Document references — link answers to relevant legal templates
  • Voice input for mobile users
  • Export conversation as a summary brief
  • Multi-language support
  • Integration with LegalDraft AI — ask a question, then generate the relevant document

Important Disclaimer

LegalMate AI provides general legal information for educational purposes only. This is not legal advice and does not create an attorney-client relationship. Always consult a qualified attorney before making legal decisions.


Contributing

Lawyers, paralegals, law students, and developers — help make legal knowledge more accessible.

  1. Fork the repo
  2. Create a feature branch
  3. Commit your changes
  4. Open a Pull Request

License

MIT License


Built By

Harel Asaf — Attorney turned legal tech builder. 6+ years answering business law questions the old-fashioned way. Now scaling that knowledge through AI so every business owner gets answers when they need them.

LinkedIn GitHub

About

AI legal assistant — business law Q&A in plain language. Contracts, IP, employment law, privacy & more.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors