All projects
03AI / LegalTech2024 — 2025

MyContract

AI-assisted contract generation, review, and compliance — shipped to production as DigiLawyer's Mike AI Draft.

Origin
Final-year project, UET Lahore
Role
Backend, AI workflow, data model
Period
2024 — 2025
Stack
Python · OpenAI · FastAPI · PostgreSQL · Next.js

What it does

Three workflows.

MyContract uses LLMs to parse legal language, identify clause types, flag non-compliant provisions against applicable governmental and organizational codes, and generate draft contracts aligned with those regulations.

  • Contract generation — drafts contracts from structured inputs, ensuring clauses conform to relevant legal codes.
  • Contract review — parses uploaded contracts, identifies clause types, and surfaces issues or missing provisions.
  • Compliance check — checks content against a library of governmental regulations and organizational policies, returning flagged clauses with explanations.

From FYP to production

A rare jump.

MyContract was developed as a final year project at UET Lahore. Its contract drafting and compliance logic was subsequently integrated into DigiLawyer’s platform as the Mike AI Draft feature — an uncommon path from university project to production legal-tech feature.

Academic signal

Why it matters for graduate study.

The project sits at the intersection of NLP, retrieval, legal knowledge representation, and human review. For graduate work, the interesting questions are not only whether an LLM can draft text, but how legal sources are represented, how compliance checks are evaluated, and how generated outputs remain traceable to policy or statutory constraints.