Skip to content
Lefika Logic
All work
Own project

Tokelo: lease checks for South African tenants

A web app on AWS that reads a tenant's lease and flags clauses that conflict with South African housing law, in plain language. It runs on a test environment and hasn't been released to the public.

Built by
Katlego Tlhapiso, before founding Lefika Logic
Built
September 2026
Made for
WeThinkCode_ Cohort 2025, elective project

The problem

Tenants in South Africa often sign leases with clauses the law doesn't allow, and only find out when a dispute starts. The rules are spread across the Rental Housing Act, the Consumer Protection Act and the Prevention of Illegal Eviction Act.

Taking a dispute to the Rental Housing Tribunal means gathering the lease, photos and messages into one bundle, and showing that none of it was changed afterwards.

How it's built

  • The lease checkAn uploaded lease is read with open-source text recognition, split into clauses and checked against rules taken from the relevant sections of the three Acts. Each flag names its section and explains it in plain language.
  • On AWS, defined in codeEvent-driven and serverless: an upload starts a chain of small functions and queued workers. The whole test environment is written in Terraform, so it can be rebuilt from the repository.
  • Evidence that can be checkedEach photo gets a SHA-256 fingerprint and its capture details when it's stored, so anyone can check later that the file hasn't changed.
  • Information, not adviceTokelo gives legal information, not legal advice, and says so on every screen. Each tenant's data is kept separate from everyone else's.

Results

Each number has the date it was measured and the command that measures it again.

Automated tests, all passing

316measured on

Reproduce with: uv run pytest # at commit 3b5f7ec

Have something like this in mind?

Tell us what it needs to do. We reply within one business day.