Zahle · Bekaa · Lebanon

Every buildingin Zahle,inspected.

In Lebanon, buildings fall on the families living inside them, and almost no one has the records to see it coming. I built a shared record of every building in my hometown, and a safety check that Red Cross volunteers can run after an earthquake, with Claude beside them.

Map of Zahle: the Berdawni valley and its buildings
33.85° N, 35.90° E

Zahle, 945 m up, on the Berdawni river.

From OpenStreetMap

4,595 buildings, every one on the map.

One building

Each one keeps its whole history. Nothing is overwritten.

01 — SituationThe problem

On 8 February 2026, a six-storey building in Bab al-Tabbaneh, Tripoli, came down on the people living in it. Thirteen died. One of them was three years old.

Lebanon Health Ministry 2

4

building collapses in Lebanon in the first five weeks of 2026. 1

16,000+

buildings across Lebanon estimated to be at risk of collapse. 3

7.4M

the 1759 earthquake that ruined the Bekaa, Zahle's valley. The faults are still there. 5

Bab al-Tabbaneh, Tripoli: a concrete building gutted in the civil war, with laundry hanging from the floors people still live on
Bab al-Tabbaneh, Tripoli. Photo: FunkMonk, CC BY 3.0, via Wikimedia Commons

Some of the buildings that fell in Tripoli were not on any risk list. There was no money to inspect them in detail. 4

The records that would warn us sit on paper in municipal offices, or were never made. Every engineer who inspects a building starts from zero.

02 — TaskWhy Zahle

I watched too many people be buried under rubble, and decided to rally my brightest classmates to stop this. This is only the beginning.

Zahle from the hill: red-tiled roofs filling the Berdawni valley, with snow on Mount Sannine behind

Zahle is where I was born and raised, in Rassieh. I know its streets, its stone houses and the people who would have to use this.

I've worked with the Zahle municipality and the Red Cross Zahle Center, so this can actually reach the people who'd use it.

What engineers told us

We talked to engineers in Lebanon before writing a line of code. They said the same three things.

  1. 01

    The records are missing.

    Most inspections are on paper, in an office, or nowhere.

  2. 02

    Every inspection starts from scratch.

    The same building is checked again and again, by people who can't see the last visit.

  3. 03

    A shared record would help.

    One place, kept by engineers, that the next engineer can read.

03 — ActionATC-20, simply

After an earthquake, the first question is simple: can people go back inside?

ATC-20 is how engineers in the United States have answered it since 1989. An inspector walks around the building, checks the few things that kill people (a leaning frame, broken columns, a falling facade, a shifted foundation) and puts one of three signs on the door. 6

It was written for volunteers, and first tested after the Loma Prieta earthquake in California. 7

PostingInspected

No apparent danger. People can use the building.

PostingRestricted use

Some danger. Enter only where and when allowed.

PostingUnsafe

Do not enter. It may fall.

Why it saves lives

It sorts a whole city fast. People stay out of the buildings that could fall in the aftershock, families go home to the ones that won't, and engineers go first to the worst.

04 — ActionMade for Lebanon

ATC-20 was written for American buildings. We rewrote it for ours.

  1. 01

    Scene safety first

    Gas, fire, live wires, falling rock. If any is there, the check stops and the app orders evacuation.

  2. 02

    Lebanese buildings

    The seven ways buildings here are actually built, from traditional stone to a concrete frame on an open ground floor, and Lebanese addresses down to the cadastral plot.

  3. 03

    22 checks, each explained

    Every check is rated None, Moderate, Severe or Not seen, with one line saying what each level looks like. No guessing.

  4. 04

    Photos at every step

    Outside, then inside if it's safe to go in. Claude reads every photo.

  5. 05

    An actions page

    Shut off gas and power, call Civil Defense or an engineer, from the same phone.

The missing piece

The Order of Engineers once looked at having Red Cross volunteers do these first checks. The technology wasn't ready: a volunteer isn't a structural engineer. We built what was missing.

05 — ActionTwo maps, one record

One record, opened from two sides.

The volunteer map on a phone: the nearest buildings not visited in six months, outlined in blue, and one building open
The volunteer map on a phone, live.
On a mission

Near me.

A volunteer team picks how long is too long: a week, a month, six months, a year. The map lists 20 buildings nobody has visited in that time, or ever, and outlines them. Nearest first, but danger pulls a building forward: one last posted unsafe counts as four times closer. A team in the street knows which door is next.

Engineer report fills the building Volunteer posting outlines it
06 — ActionClaude in the field

Claude does the part a volunteer can't.

A volunteer can walk around a building and take photos. Reading structural damage in those photos takes an engineer's eye. That is where Claude comes in, and a person still accepts or changes every answer.

A damaged concrete building in Lebanon: broken walls, an exposed floor slab and rubble at its foot
Photo: UNDP Lebanon
windowholelarge holewindowwindow framedoorbalconyhanging blockS5S5S3S3S3S2S2N4G1N2
Front facade, damaged upper floor and open ground floor · S5: Large hole in wall, S5: Wall broken open, S3: Column cracked, concrete spalled, S3: Column crushed, bars exposed, S3: Column concrete falling off, S2: Slab edge cracked, sagging, S2: Slab underside broken, N4: Diagonal cracks in wall, G1: Heavy rubble piled at base, N2: Exposed bars on roof

Claude's sketch of this photo, as the app draws it from Claude's answer. Not retouched.

It draws what it sees.

For each photo, Claude draws a line sketch of the facade, the way an engineer would in a field report, and marks every damage with its check number. It draws only what is visible: no invented floors, no hidden sides.

01

Reads every photo

Claude rates the damage it sees against the 22 checks, and gives one sentence the volunteer can check against the photo.

02

Guides the walk

After each photo, Claude says what to photograph next, so nothing important is missed.

03

Writes the debrief

Two to four lines at the top of each building's history, so the next person knows where to look.

It reads every past report, then hands over the list.

Before anyone opens a building, Claude has read its whole record, every engineer report and every volunteer posting, and written what to do next. That line sits beside each building in the priority list.

Engineers can also just ask, in plain words. Claude turns the question into filters, and the app shows exactly how it read it. Claude never sets the order: the formula below does.

The engineer map's Ask panel: a typed question, how Claude read it, and a ranked list with Claude's next step for the first building
The engineer map, live. Claude's line is its summary of the building's record.

How buildings are ranked.

One written formula orders every list in the app, from the priority list to an engineer's question. Nothing is hidden. These are its steps, in order.

  1. Evacuations first: a volunteer assessment that stopped with “Order evacuation”.
  2. Then volunteer postings a person decided alone: Claude was not used, or the volunteer overrode Claude. These are ranked by the worse of the two postings.
  3. Then volunteer postings Claude agreed with.
  4. Then buildings an engineer has reported on since: red, yellow, faded green, green.
  5. Inside each group: the colour (red, yellow, green), then the damage estimate, then the number of people inside, then Claude’s confidence. For red and yellow, the surer Claude is, the higher; for green, the less sure, the higher. Unknown damage or people rank below known numbers but above zero. Ties: the building waiting longest since its last visit.

Buildings never inspected are not ranked unless a question asks for them.

Where it could be unfair

Any ranking of people's homes can carry bias. These are the ones we know about, so nobody has to guess.

  • It only ranks what's on record. A building nobody has inspected isn't ranked at all, so a neighbourhood that gets fewer visits shows up less. Asking for “not yet inspected” brings them back.
  • Uncounted people count for less. When nobody counted the people inside, the building ranks below one where even a few were counted. A full building nobody counted can sit below a half-empty one.
  • Claude's confidence is its own guess. It isn't a measured accuracy. It only orders buildings inside one group, and only where the volunteer agreed with Claude.
  • Near me's weights are our choice. Unsafe counts as four times closer, restricted use twice, never inspected one and a half times. Other numbers would send teams to other doors.
  • Decisions made alone go up, not down. A posting made without Claude, or against it, is checked before one Claude agreed with. A single opinion gets a second one first.
Charbel Moutran with his mother at his graduation

Made by

Charbel Moutran

CS student at Stanford. Born and raised in Rassieh, Zahle.

I'm passionate about using computer science for impact in the world.

cmoutran[at]stanford[dot]edu