An automated legal assistant built using multi-agent AI architecture and a modern frontend.
This project demonstrates a fully automated AI system designed to review and summarize contracts. The system uses a crew of specialized AI agents to parse, analyze, and interpret contract text, perform web research on unclear clauses, summarize key risks, and email the final summary to the user.
The project uses CrewAI to orchestrate multiple agents that collaborate across tasks. Each agent has a defined role and objective to ensure accurate and efficient contract analysis.
Extracts raw text from uploaded contracts and segments it into clauses for structured analysis.
Identifies potential risks and obligations such as payment timelines, confidentiality, and termination clauses.
Performs web lookups for unclear or uncommon legal terms to enrich understanding and provide context.
Generates a concise Markdown summary of the entire contract with risk highlights and key points.
Formats the summary and sends it directly to the userβs email address for easy access.
A simple Flask-based web interface allows users to upload their contract (PDF) and enter an email address. Once submitted, a loading screen appears while the backend agents analyze the contract.
The user receives a clean and well-structured email summary containing the key contract highlights, risks, and obligations. The entire process is automated, from parsing to final email delivery.