ai newsDi., 1. Dez.
EilmeldungThe Model Proposes, Your Code Disposes: A Tool-Calling Agent Loop for Android with Gemini Nano

I built a security-deposit court on GenLayer: AI validators rule claim by claim

Every year, renters lose part of a security deposit to deductions they think are unfair. Almost none of them go to small claims court, because the time costs more than the money. That's a shame, because the legal test is usually simple: Is it damage beyond normal wear and tear? Does the lease allow

dev.toSonntag 23:10 · 29.11.1 Min. Lesezeit
Bild: dev.to

Every year, renters lose part of a security deposit to deductions they think are unfair. Almost none of them go to small claims court, because the time costs more than the money. That's a shame, because the legal test is usually simple:

I build dispute apps on GenLayer, so I turned that test into a contract. DepositCourt keeps the deposit in a GenLayer Intelligent Contract. When the tenant disputes a deduction, every validator reads the lease, both condition reports and the evidence pages itself, and rules on each claim.

Live app: https://yoyoblair333-wq.github.io/depositcourt/

The model never decides who is "right". For each disputed claim, it answers one narrow question: may the landlord keep FULL, HALF or NONE of this amount, and under which clause number?

Deterministic code then cleans up the answer:

Validators compare only the ordered verdict vector, like ["FULL","NONE","NONE"]. The written reasons are display-only, so two models can word things differently and still agree. Everything about money (escrow, splits, bonds, deadlines, withdrawals) is plain Python that never touches the model.

I ran the same fictional unit through four cases (numbered by their tenancy id; #4 is a visitor case from the web app). The claims were a bedroom door (0.5 GEN), oven cleaning (0.25 GEN) and a countertop scratch (0.5 GEN), against a 2 GEN deposit.

Every round reached consensus. Transaction hashes are in the live evidence file.

On the site you can connect a wallet (or use two test keys) and play both landlord and tenant through a full case.

If you want to build your own GenLayer app and earn builder points while you learn, the portal is here: https://portal.genlayer.foundation/?ref=JTR01FHP

Testnet demo with test tokens. Not legal advice; deposit rules differ by state and country.

Quelle: dev.to (dev.to). Original öffnen