MirLabs / The blog / AI

Lokio Express: reading a rental application without sending a single document to an AI model

Lokio Express, Dokimo's service, analyses rental applications forwarded by email. All the reading is done by OCR and hand-written rules, with no language model at all.

· Cyril Delage · 3 min read · Lire en français

A small wooden house model with a key on a desk
Photo: Tierra Mallorca on Unsplash

I spend my days testing AI agents and showing where they give way. So I am often asked why one of my own products uses none. That product is Lokio Express, Dokimo's service for agencies and landlords letting a home in France.

What Lokio Express does

The principle fits in three moves. You sign up with your email address and get a Lokio address of your own. When an application comes in, you forward it to that address, attachments included. A few minutes later, a report lands in your inbox: the income read from payslips and tax notices, the type of contract and length of service, the employer, a score out of 100 to compare applicants, the points to watch, and the list of documents missing from the file.

No software to install, no CRM to learn. The first three analyses are free, no card needed.

No language model in the loop

Lokio Express does have an AI: a home-made one, built from code, that calls no language model. Documents are read on the server, by character recognition (Tesseract, and the PDF's own text when there is one), then by rules written in PHP: recognising the type of document, reading the MRZ strip of an identity card or a passport, finding the net pay on a payslip, the reference taxable income on a tax notice, checking an IBAN's check digits.

Three reasons for that choice.

The documents in a rental application are among the most sensitive there are. An identity card, three payslips, a tax notice. None of them goes to a model provider: everything is read on the server.

A rule can be tested. When reading a field fails, I can reproduce the case, fix the rule and prove with a test that the field is now read, without breaking anything else. A language model that reads well today may read differently tomorrow, and you do not always know why.

An analysis costs no model credits. The price of an analysis does not depend on the number of pages or on an API price that changes.

Measuring, rather than promising

To know what the reading is really worth, I built a test bench. It holds 69 fabricated documents, with invented identities: old and new identity cards, passports, residence permits, payslips in three layouts, tax notices, bank details, guarantee certificates, company registrations, and more. Each exists as a clean PDF and as a degraded photo (tilted, blurred, low resolution), 138 files spread over 15 applications. For each document, the right answer is known.

The bench is full of deliberate traps: compound names or names with a particle, a first name that looks like a surname, a guarantor with the same name as the applicant, a tax notice with two declarants.

Measured on 9 November on that set, the code read 604 fields out of 614 correctly (98%), against 211 (34%) for the starting version. At the application level, 144 documents out of 146 were attributed to the right person: applicant, guarantor or other.

I also state the limit, because it matters: the set is synthetic, and the rules were written while looking at it. On real applications (phone photos, crooked scans, payslips from other payroll software), the rate will be lower. That is why each real analysis is checked right after it runs, and why each error found first becomes a fake document in the bench, before being fixed.

What it says about AI in general

Not everything calls for a language model. When the task is reading documents whose shape you know, well-tested rules often do better, faster, cheaper, and without sending personal data on a trip.

And when a task really calls for an AI agent, it has to be tested before it is trusted with anything. That is the other half of my work, with CrashMire.

If you let homes in France and receive applications by email, Lokio Express can be tried by forwarding your next application.

A project like this one?AI integration, a site to make readable by assistants, security: let's talk.
Contact me

Read next