Skip to content
SDG 11What to build · 3 ideas

Goal 11: Sustainable cities and communities

Inclusive, safe, resilient and sustainable cities and settlements.

Fast-growing cities run on informal transport and complaints that go nowhere. Maps of minibus routes, issue reports that reach the right office, and street-level flood alerts are within reach of a small team.

Roman Urdu: Shehar tezi se barh rahe hein. Wagon routes ka map, shikayat jo sahi daftar tak pohanche, aur gali ke level pe flood alert chhoti team bana sakti ha.

Official page: UN Sustainable Development Goal 11

Idea 1

Minibus and rickshaw route map

Informal economyLow-end AndroidPatchy internetCash / COD

The problem
Matatus, wagons, chingchis and danfos carry much of the city but have no official map, so newcomers and visitors cannot plan trips.
Who it helps
Commuters, students and new arrivals in cities such as Nairobi, Lagos, Karachi or Dhaka.
Weekend version
Volunteers ride routes with a phone that records GPS and stops; the tool turns each ride into a GTFS route and shows all routes on a simple map with fares people reported.
Tools (free tier or local mock)
  • Leaflet (open source) with OpenStreetMap tiles for the map; light enough for low-end phones.
  • Workbox (open source) for an offline-first PWA; see the free web.dev PWA course.
  • Supabase free plan: 2 projects, 500 MB database each; free projects pause after a week with no activity.
Data
  • GTFS: the open format for transit data, so your routes work in other apps.
  • Digital Matatus: an earlier project that mapped Nairobi's matatus as open data; study its method.
  • Routes, stops and fares recorded by the riders themselves.
Starter prompt for your agent
Build a route recorder and map. Part one is a PWA that records a GPS track every 5 seconds while riding, lets the rider tap "stop" at each stop and enter the fare, stores it offline in IndexedDB and uploads when online. Part two is a Python script that simplifies tracks, snaps stops within 50 m together across rides, and writes a valid GTFS feed (stops, routes, shapes, trips without exact times). Part three is a Leaflet map of all routes. Done means the GTFS output passes a validator check in tests and a demo builds a feed from 3 sample recorded rides.
Idea 2

Civic issue reports that reach the right office

WhatsApp-firstLocal languagesLow-end Android

The problem
Overflowing garbage, open manholes and broken streetlights are reported in WhatsApp groups and then forgotten. Nobody tracks whether the complaint reached the right office or got fixed.
Who it helps
Residents, neighbourhood associations and ward councillors, for example in Bengaluru, Karachi or Accra.
Weekend version
Send a photo and location on WhatsApp; the tool files it under the right ward and category, posts it on a public map, and asks the reporter after a week whether it was fixed.
Tools (free tier or local mock)
  • WhatsApp Cloud API (Meta): priced per message. Messages users send you are free, and each business number gets 1,000 free service messages a month; template messages you start are charged. Use a local mock while building.
  • Leaflet (open source) with OpenStreetMap tiles for the map; light enough for low-end phones.
  • FixMyStreet (mySociety): open source platform for street reports; reuse or learn from it before building your own.
Data
  • Ward or union council boundaries from OpenStreetMap where mapped, or a boundary file from your city.
  • Reports and photos from residents.
Starter prompt for your agent
Build a civic issue bot in Python with a local mock of the WhatsApp webhook. A report is a photo, a shared location and an optional voice note or text. Assign the ward by point-in-polygon against a GeoJSON boundary file, pick a category from a short list (garbage, drainage, streetlight, road, other) using keywords first and a small local model only as fallback, and store it in SQLite. Serve a public Leaflet map with status, and send the reporter a "fixed yet?" message after 7 days. Done means tests cover ward assignment, categorisation and the follow-up schedule.
Idea 3

Street-level flood alerts

WhatsApp-firstPatchy internetLow-end AndroidLocal languages

The problem
In monsoon and rainy seasons, low-lying streets flood within an hour of heavy rain. City-wide warnings are too broad, and people learn which roads are under water only when they are stuck.
Who it helps
Residents, commuters and shop owners in flood-prone cities such as Dhaka, Lagos, Karachi or Jakarta.
Weekend version
Residents mark streets that usually flood; when the forecast shows heavy rain for that spot, subscribers get an alert, and anyone can report "flooded" or "clear" to update a live map.
Tools (free tier or local mock)
  • Open-Meteo: free for non-commercial use, up to 10,000 calls a day, no key. Commercial use needs a paid plan.
  • Open-Meteo Flood API: river discharge forecasts from GloFAS at about 5 km resolution. Same free non-commercial terms as the main API.
  • WhatsApp Cloud API (Meta): priced per message. Messages users send you are free, and each business number gets 1,000 free service messages a month; template messages you start are charged. Use a local mock while building.
  • Leaflet (open source) with OpenStreetMap tiles for the map; light enough for low-end phones.
Data
  • Flood-prone streets marked by residents, with each report time-stamped.
  • Open-Meteo forecast API: hourly precipitation for each marked street.
Starter prompt for your agent
Build a flood alert service in Node.js with SQLite. Residents register flood-prone points with a name and coordinates. Every hour, fetch the Open-Meteo hourly precipitation forecast for each point and, when the next 6 hours exceed a threshold you can configure, alert subscribers once per event. Accept "flooded" and "clear" reports by message and show the latest status per point on a Leaflet map, fading reports older than 6 hours. Mock WhatsApp with a console transport and use saved forecast JSON in tests. Done means tests cover thresholds, one alert per event and report expiry.

New to agents? Start with the install guides.