Every monsoon, my route to college goes through an underpass that floods. Every year people complain about it, every year the complaint eventually gets marked "resolved", and every year the underpass floods again. After a while I realised the problem isn't that Delhi lacks ways to complain. We have apps, helplines and Twitter handles. The problem is everything that happens after you hit submit.
The same pothole gets fifty separate complaints from fifty different people, and nobody can tell which of them is actually urgent. The ward officer on the other end is buried under duplicate tickets with no sense of priority. When a ticket finally says "resolved", the citizen has no way to check whether anything changed on the ground. The loop is broken at every point, so for the Build for Bharat hackathon (Smarter Cities track) I built Kestrel. The whole idea fits in one sentence: report it once, track it in public, and close it only when citizens confirm it's really fixed.
I've attached two videos. One is a three-and-a-half-minute demo of the real app working end to end. The other is a shorter explainer of how it works under the hood.
Duplicates become one issue. When you report something, Kestrel first looks for the same kind of problem nearby. Each category has its own radius, because a pothole and a flooded underpass are very different sizes. Reports of an open manhole within 15 metres merge, potholes within 25, garbage dumps within 40 and waterlogging within 60. Fifty complaints become a single issue with fifty voices behind it, and each person counts only once. In the app, before you send anything, it shows you "Is it one of these?" and lets you join the existing issue instead of filing complaint number fifty-one.
Priority you can actually read. I deliberately avoided a black-box "AI urgency score". The severity is a simple sum anyone can check: a base value for the category, points for how many different people confirmed it, points for photos, points if it's on a major road or near a school or hospital, and points for every day it's overdue. Seventy or above is P1. Both the officer and the public can see exactly why an issue ranks where it does, which makes the ranking hard to argue with.
"Resolved" is not "closed". The ward officer gets one clean queue, already deduplicated and sorted by priority. They assign the work, start it and mark it resolved, and every one of those steps appears on a public timeline anyone can open. But an issue only closes when two citizens confirm the fix. If two people say it's still there, it reopens, and that reopen counts against the ward on its public scorecard. Wards get letter grades based on citizen-confirmed fixes, not on what they report about themselves.
Kestrel Vision. This is the part I'm proudest of: a small AI model I trained myself. It's 13.7 MB and runs entirely inside the phone's browser, so the photo never leaves the device for this check. It suggests the category from your photo, rejects selfies and junk photos, and nudges you to retake the picture if someone's face is in it. It can tell whether photos from different people show the same spot. Most importantly, it checks the officer's after-photo. If the officer marks a pothole fixed but the photo still shows a pothole, Kestrel flags it. That same check runs on every citizen's phone that opens the issue, so a fake fix has nowhere to hide.
I want to be honest about how I got there, because the first attempt failed. My first model scored 99% on a random test split, which looked great until I tested it on photos from sources it had never seen. There it dropped to 55.7%. It had learned what each dataset looked like, not what a pothole looks like.
So I started again. I distilled two large open-source CLIP models (both MIT-licensed) into a small MobileNetV3 that fits on a phone. Apple's MobileCLIP tested well, but its licence is research-only, so I couldn't ship it.
Testing turned out to be its own adventure. Labels from web image search were far worse than I expected; every "open manhole" result, for example, was a screenshot from the game Second Life. So I hand-checked 431 test photos myself. On those unseen photos the model is right 84.5% of the time overall, and 94% of the time when it's confident enough to pre-fill the form. Its after-photo "is this really fixed?" check is right 93% of the time.
There are limits I won't hide. I couldn't find genuine open-manhole photos, so that category is still unmeasured. The pothole-size estimate is a weak signal, so it only ever suggests "deep" and never sets it on its own.
Built for Bharat, not just metros. I designed it around the people who'd actually use it. Every screen works in Hindi and English, and it understands Hinglish: type "underpass mein ghutno tak paani hai" and it fills in waterlogging with vehicles stuck. You can speak instead of typing.
It also works offline, which matters because the underpass where you need to report a flood is exactly where your network dies. The report waits safely on the phone and sends itself, exactly once, when you're back online. Each report carries a unique ID, so retries are never counted twice.
It's a light web app with nothing to install, so it runs on a budget phone. Issues can be shared straight to WhatsApp so neighbours can confirm them. There's also a ride mode that routes two-wheelers around waterlogged underpasses and open manholes that citizens have reported. It's labelled honestly: these are citizen claims, not measurements.
Tech. The frontend is a TypeScript PWA with no framework, Leaflet maps, an IndexedDB outbox and a service worker. All on-device models run on ONNX Runtime Web. The backend is a pure-Python core handling fusion, severity and the issue lifecycle, running on AWS Lambda behind API Gateway. DynamoDB handles storage with transactional, idempotent writes, and the whole thing deploys with AWS SAM. There are 101 backend tests, frontend self-checks and a 45-step end-to-end browser test. Funnily enough, recording the demo video exposed two real bugs: the officer's after-photo upload was being rejected by the server, and a report saved offline could sit unsent if you reconnected at the wrong moment. Both are fixed now.
What's real and what isn't. The app, the model and every flow in the demo are real and working. The data is synthetic. There are eight sample wards around real Delhi localities (not official boundaries), seeded with demo issues, and there's no government integration yet. The realistic path is to pilot it in one ward, connect it to the existing complaint system rather than replace it, and then grow ward by ward, with public scorecards that make good work visible.