How Generative AI Works In OpenTesera
OpenTesera is intelligence for the built environment, built on generative AI. Multimodal models read a city’s drone, satellite and street imagery, scanned county files and residents’ messages and voice notes. They join what they read into one living picture of the city, and answer people’s questions in plain English, Kiswahili or Sheng.
Flood risk comes from engineering flood models. People make the decisions.
Being built for the Nairobi pilot. Building-level checks and joining agencies’ records start with the Nairobi City County partnership, in months 0 to 6. The views on this page are examples.
Why It Needs Generative AI
Nairobi’s building records are scanned paper, many neighbourhoods have never been mapped, and residents speak Kiswahili and Sheng on basic phones. Only generative AI can read, join and speak across all three at city scale.
Nairobi City County launched its own AI framework in May 2026 and plans to open non-sensitive, anonymised data to local innovators.
SourceNairobi City County, 29 May 2026
Records On Scanned Paper
Approvals, registrations and inspection reports sit in scanned files that ordinary software cannot read.
Neighbourhoods Never Mapped
Many homes appear on no register at all. Only imagery shows them.
Kiswahili And Sheng On Basic Phones
Residents ask and report by voice, SMS and WhatsApp, in the languages they speak every day.
Feed, Read, Decide
The county’s records flow in, the AI reads them, and every upload returns a check or a draft review note for a person to decide on.
Feed
- Scanned approval file
- Drone image of a channel
- Resident’s voice note, in Sheng
The county’s records flow in: scanned approvals and inspection reports, drone and satellite imagery, and residents’ messages.
Read
- Plot number
- Read (hidden in this example)
- Approved floors
- Read (hidden in this example)
- Date
- Read (hidden in this example)
- Signed by
- Read (hidden in this example)
- Placed on plot
- Matched
Generative AI reads them: it pulls out the key fields, places each document on its plot and checks the values against the 2026 policy rules.
Decide
Checked against the 2026 policy rules
- Land useMeets the rule
- Plot coverageMeets the rule
- Registration against approvalLikely mismatch
Draft review note ready. An inspector checks the likely mismatch.
Every upload returns a check or a draft review note. A county officer reviews it and decides.
Building-level checks and joining agencies’ records start with the Nairobi City County partnership, in months 0 to 6.
What Already Works
Results from our own tests, before the pilot begins.
0.93 and 0.95
Drone Reads
Finds drainage channels and dumps in drone images. Blind-test F1 scores of 0.93 for channels and 0.95 for dumps, where 1 is perfect.
96.7%
Residents’ Messages
Messages in English, Kiswahili and Sheng put in the right category 96.7% of the time, with 13 of 14 place names found.
93%
County Documents
Key fields read right on 30 county documents, and 20 of 20 documents placed on the right plot.
40 of 40
2026 Policy Rules
Values from the 2026 policy rules: 40 of 40 checked.
35 of 35
Draft Review Notes
Draft review notes passed 35 of 35 checks, with no invented figures.
85 of 85
Building Growth
Building growth since 2016 mapped in all 85 of Nairobi’s wards.
7 of 7
Blind Tests
Capabilities that beat a frontier chatbot with web search in blind tests.
Live
The Demo
A live demo runs the intake flow on public NEMA reports and labelled sample documents.
Ask for the demo
Blind tests and checks run by the OpenTesera team. Ask us for the methods and test sets.
Five Things The AI Does
Read the city, read the paperwork, check the records, answer people and turn what it learns into action.
Reads The City From Imagery
Vision-language models read drone, satellite and street images to find drainage channels, dumps and blocked drains, and to map where building has grown, including structures no register records.
In Nairobi The AI finds drainage channels and dumps in drone images. Across all 85 of Nairobi’s wards, it has mapped where building has grown since 2016.
- Drainage channel found
- Dump found
- New building, on no register
Example Reads The Paperwork
Language models extract plot numbers, approved floors, dates and signatories from scanned approvals, registrations and inspection reports, and place each document on its plot.
In Nairobi A building approval scanned from a county file becomes a record anyone with the right permission can search: plot, floors approved, date and who signed it, placed on its plot.
- Plot number
- Read (hidden in this example)
- Approved floors
- Read (hidden in this example)
- Date
- Read (hidden in this example)
- Signed by
- Read (hidden in this example)
- Placed on plot
- Matched
Example Checks The Records
AI checks each document against the 2026 policy rules and the other records for the plot, and flags likely mismatches with their evidence, checked by inspectors. Joining records across the county, the Construction Authority, the Engineers Board and NEMA starts with the county partnership.
In Nairobi For the Eastleigh building that collapsed in October 2026, the county had no approved plans on file, yet the Construction Authority had registered it. Records like these, side by side, are a likely mismatch for an inspector to check.
SourceCapital FM, 19 November 2026; The StarCiting a Stats Kenya compilation of reported collapses.
Checked against the 2026 policy rules
- Land useMeets the rule
- Plot coverageMeets the rule
- Registration against approvalLikely mismatch
Draft review note ready. An inspector checks the likely mismatch.
Example Answers In People’s Own Language
An assistant answers officials, builders and residents in English, Kiswahili or Sheng, by web, WhatsApp, SMS or voice, citing the records it used.
In Nairobi A resident asks on WhatsApp, in Kiswahili: Was my building approved, and for how many floors? What risks does my area face? The answer names the records it used. It never says a home is safe; only an inspection can.
Jengo langu liliidhinishwa, na kwa ghorofa ngapi? Eneo langu lina hatari gani? (Was my building approved, and for how many floors? What risks does my area face?)
Ndiyo, liliidhinishwa kwa ghorofa nne. Eneo lako liko karibu na mto, kwa hivyo lina hatari ya mafuriko. (Yes, it was approved for four floors. Your area is near the river, so it faces a flood risk.)
Sources: county approval file, flood risk layer. Confidence: high.
On WhatsApp, in Kiswahili
Example Turns Reports Into Action
It sorts residents’ messages and voice notes by subject and place, drafts review notes for county officers, sets up flood scenarios from a planner’s plain request, and drafts neighbourhood flood warnings.
In Nairobi A resident in Mukuru sends a voice note in Sheng about a blocked drain; the AI sorts it, finds the place and files it. When rain is forecast, it drafts a neighbourhood flood warning from wording the county has approved, for residents who opt in.
Voice note, in Sheng: blocked drain, place found and filedDraft neighbourhood flood warning · for residents who opt in · awaiting county approval
Heavy rain is forecast tonight. Water may rise along the river in this neighbourhood. Move valuables up and be ready to leave.
Example
Every Answer Shows Its Working
The AI answers from the city’s records and images, not from memory. Each answer carries three things.
- Sources
- Each answer names the records and images it comes from, with links.
- Confidence
- How sure the answer is, and why. When it is unsure, it says so.
- Date
- When the data behind it was last updated.
Try It On The Mathare Valley
Built from open map data today. Pick a question to see an example answer and its source.

© OpenStreetMap The Mathare River valley, drawn from 10,942 building outlines mapped on OpenStreetMap, data as of 25 November 2026. Distance runs from each building’s centre to the river. This is not a flood forecast, which also needs rainfall, terrain and drainage.
Drag the map sideways to see the whole valley.
How The AI Is Kept Safe
Generative AI reads, joins and explains. It does not calculate the physics, and it does not make decisions about people’s homes.
Flood Risk Comes From Engineering Flood Models
Flood risk comes from engineering flood models: an established open flood model, validated in the pilot. A language model never guesses it. The AI sets the model up from a plain request and explains what it found. Nairobi has no river gauges or flood warning system yet, so warnings start at neighbourhood level; street-level warnings are a research goal of the pilot.
People Approve Warnings And Make Every Enforcement Decision
The county approves every warning template before it is used; the AI only fills in the place, time and language, and warnings go to residents who opt in. The AI flags likely mismatches and inspectors check them. Notices and any enforcement are decided by people with legal authority, through due process.
Accuracy Checked Every Quarter, And Published
Before launch, the models are tested on Nairobi’s own records. Every quarter, AI flags and extracted records are checked against inspectors’ site visits, and the share confirmed is published with the pilot’s other measures.
See the measuresMinimal Personal Data
The AI works on buildings, plots, drains and streets, not people. Personal data is kept to a minimum, and no household can be identified in any public view.
Questions About The AI
- Does the AI decide who gets inspected or evicted?
- No. It flags and explains; people decide. OpenTesera is never used to target demolitions or evictions that skip consultation and due process.
- Will it tell me my home is safe?
- No. Residents can ask: Was my building approved, and for how many floors? What risks does my area face? The AI answers with its sources. Only an inspection can say a building is safe.
- What happens when the AI is unsure?
- It says so, shows its confidence and passes the question to a person.
- Which languages does it speak?
- English, Kiswahili and Sheng, by text and by voice.
- Can I see why it said something?
- Yes. Every answer shows its sources, so you can open the records it used.
Partner With Us
City teams, residents’ organisations, researchers and funders: shape the Nairobi pilot with us.
