Adrià Gisbert
All projects

AI contract reviewer

Letra pequeña

Upload your Spanish rental contract and it flags the clauses the law doesn’t allow, before you sign.

My role
Product, design, development and operations
Year
2026
Status
In production

An informational tool, not a substitute for a lawyer. Covers Spanish national law (LAU) only; the site is in Spanish.

  • 26/26illegal clauses caught in the test contracts
  • 0false positives and made-up articles
  • < 1 minper contract, scanned ones included

The problem

Tenants sign a contract they didn’t write and that a lawyer almost never reviews. Many common clauses — a “non-renewable” term, deposits of several months, agency fees — are void under Spanish law, but the tenant doesn’t know it.

What I built

  • You upload the contract as a PDF, scanned or not, and in under a minute you get a report with each problematic clause, its severity and a plain-language explanation.
  • Every finding cites the article of the Spanish Urban Leases Act (LAU) behind it, using the current official text, and proposes alternative wording ready to copy.
  • The report can be saved as a PDF and lives only in the browser of the person who asked for it.
  • It’s free: you only confirm an email address with a six-digit code.

Technical decisions

  • After the AI comes a check with no AI: every literal quote must exist in the contract and every article in the law. Anything that fails is flagged in the report.
  • The contract is processed in memory and never stored. ID numbers, bank accounts, phones and emails are masked before analysis.
  • Local OCR with Tesseract for scanned files, with no external services.
  • Two AI providers with automatic failover, plus daily caps per person, per IP and overall to keep costs under control.
  • An evaluation with test contracts that measures detections and false positives whenever the instructions or the model change.

Stack

  • Next.js
  • React
  • TypeScript
  • SQLite
  • Zod
  • Tesseract
  • LLM
  • Turnstile
  • Docker

Outcome

Launched in November 2026. In the evaluation it catches all 26 illegal clauses in the test contracts with no false positives and no made-up articles; those contracts were written for the test, and real ones are still to be measured.

Need something similar?

Every business is different. Tell me about yours and we’ll see what makes sense to build.

Let’s talk