Skip to content
Claude Merch

Sublet Goose

An AI-powered legal advocate that audits Ontario sublet leases to detect illegal clauses and generate immediate negotiation scripts, specifically for University of Waterloo Students

Core trick

Multi-stage Claude agent checks lease clauses against a Residential Tenancies Act rubric, classifying each as void or illegal and drafting negotiation scripts.

Tags

Built with

claudefastapinext.jspython

Description

Sublet Goose: Protecting Students from Predatory Leases Sublet Goose is an AI-powered legal advocate designed to shield the University of Waterloo community from predatory leasing practices. By cross-referencing documents against the Ontario Residential Tenancies Act (RTA) 2006 , it transforms dense contracts into transparent, actionable audits. Project Overview Automated Legal Auditing: Employs a multi-stage agentic workflow to cross-reference leases against a strict RTA-specific scoring rubric. Granular Violation Detection: Distinguishes between standard legal terms, unenforceable "void" clauses (like pet bans), and "illegal" financial violations (like prohibited damage deposits). Intelligent Risk Scoring: Calculates a dynamic safety score and provides a detailed "Score Breakdown" to educate tenants on the severity of each finding. Instant Negotiation Suite: Generates professional, one-click negotiation scripts for every violation detected, empowering students to advocate for their rights. Professional Design Standards: Features a high-quality "Cyber-Legal" dashboard with a sticky safety score bar and responsive "Finding Cards" for mobile accessibility. Social Impact Integration: Bridges the "Justice Gap" by providing a direct pipeline to WUSA’s Student Legal Protection Program for students needing real-world legal representation.
shan-d-louis/sublet-goose★ 00 forksTypeScriptCreated Mar 30, 2026 · last push Oct 7, 2026

README excerpt

# 🪿 Sublet Goose | Claude Builders Hackathon 2026 Winner

> Ontario RTA Lease Auditor for University of Waterloo Students

AI-powered lease auditing tool that detects illegal clauses, void provisions, and generates copy-paste negotiation scripts — all grounded in the Ontario Residential Tenancies Act (RTA), 2006.

---

## Quick Start

### 1. Clone & setup
```powershell
git clone <your-repo>
cd sublet-goose
.\setup.ps1
```

### 2. Add your API key
Edit `frontend/.env.local`:
```
NEXT_PUBLIC_API_URL=http://localhost:8000
```

And set it for the backend in your terminal:
```powershell
$env:ANTHROPIC_API_KEY="sk-ant-..."
```

### 3. Run both servers (two terminals)
```powershell
# Terminal 1 — Backend
cd backend
.\venv\Scripts\Activate.ps1
$env:ANTHROPIC_API_KEY="sk-ant-..."
uvicorn main:app --reload

# Terminal 2 — Frontend
cd frontend
npm run dev
```

Open **http://localhost:3000**

---

## Project Structure
```
sublet-goose/
├── setup.ps1                  ← one-shot setup
├── backend/
│   ├── main.py                ← FastAPI + RTA audit logic
│   └── requirements.txt
└── frontend/
    ├── app/
    │   ├── layout.tsx
    │   └── page.tsx           ← full UI
    ├── .env.local.example
    ├── package.json
    ├── tailwind.config.ts
    ├── tsconfig.json
    └── next.config.ts
```

## RTA Rules Enforced

| Severity | Rule | Section |
|---|---|---|
| 🚨 Illegal | Damage / security deposits | s. 105 |
| 🚨 Illegal | Mandatory post-dated cheques | s. 108 |
| 🚨 Illegal | Unlawful landl

Team