I didn't even know I was going to a hackathon
A couple of days before the Google DeepMind Hyderabad Hackathon, I wasn't planning to attend a hackathon at all.
Then Huzefa bin Juned asked me to check my email. He had registered our team, and suddenly, I had a hackathon to prepare for.
The funny part? We didn't know the theme of the hackathon yet.
The night before the event, we had a team meeting to figure out what we might build. Osama bin Juned suggested that we should be ready to work on an Android app, so he asked us to set up Android Studio. I already had it installed, but it had been sitting unused for quite some time.
Since the event focused on building with Google's Gemini APIs, I put together a basic Android app to test a live Gemini API connection. Nothing fancy, just enough to make sure I could get something running when the actual challenge arrived.

The morning started with an alarm that didn't ring
Hackathon day arrived, and I had to wake up early. My alarm didn't ring, but somehow I woke up anyway.
We still reached the venue late. The initial activities had already happened, but we made it before the problem statements were revealed. That was the important part.
Once the challenge was announced, we found our workspace and split up the problem statements among ourselves. Everyone spent around half an hour researching different options. Then we came back together to discuss what we had found.
One idea stood out: Osama's idea around disaster management. It felt like a problem where technology could make a real difference, especially when people are in urgent need of help and the usual communication infrastructure may not be available.
We agreed to work on it.

The real project was the mobile app
KMesh wasn't just a dashboard. The most important part of our project was the Android mobile app, designed for citizens and responders during a disaster.
A citizen could compose an SOS message on their phone. The app saved it locally first, so the report wasn't dependent on an immediate internet connection. Nearby phones could then pass messages along using a mesh-style relay system, helping information travel between citizens, relay devices, and responders.
We integrated Gemma 4 for on-device triage, helping identify which people appeared to need help most urgently. In a disaster, responders can receive more requests than they can act on at once. The goal was to help surface high-priority cases so limited resources could be directed where they were needed most.

The dashboard helped us visualise the wider response workflow, but the core idea was the app and the network connecting people in the field.
How the offline mesh flow worked
The design aimed to keep reports moving even when internet connectivity was unavailable:
Citizen phone Relay phones Boat / responder
───────────── ──────────── ────────────────
SOS composed
│
▼
Room (saved FIRST) ──────► store · dedupe · relay ──────► Room
│ seen-set + TTL 8 │
▼ ▼
Nearby Connections on-device triage
(BT / Wi-Fi Direct) │
▲ ▼
│ internet returns
└────── command's reply relayed back ◄─────────────────── │
▼
central command + Gemini
The important design choices were practical:
- Save first: an SOS is stored on the device before attempting to send it, reducing the chance of losing a report when connectivity is poor.
- Relay between nearby devices: phones can pass messages using Bluetooth or Wi-Fi Direct through Nearby Connections, rather than requiring every citizen to reach a central server directly.
- Avoid duplicate relays: a seen-set and time-to-live (TTL) help prevent messages from circulating indefinitely.
- Triage on-device: Gemma 4 can help assess incoming reports locally, so prioritisation doesn't always have to wait for a server round trip.
- Sync when possible: when internet access returns, information can reach central command, where Gemini can support the broader workflow. Replies can be relayed back through the mesh.
The intention was to make emergency communication more resilient—not to assume that every device would always have internet access.
The idea that brought us together
A special thanks to Osama bin Juned, who led our team and introduced the disaster-management idea. It gave us a meaningful direction to work toward in a very limited amount of time.
I worked on this with Osama bin Juned, Huzefa bin Juned, and Imran. Huzefa was the reason I knew about the event in the first place, and I'm glad he reached out. We researched different problem statements, discussed the trade-offs, and worked together to turn the selected idea into a demonstration.

And between the planning, coding, and discussions, there were the usual hackathon moments too—food breaks, coffee, and quick conversations about what to try next.


The judging round and why we thought it was over
When it was time for judging, a judge came to our workspace. Unfortunately, one of our team members wasn't there at that moment, so we went to the organisers and explained the situation. They assigned us another judge, who gave us just five minutes to explain the project.
Osama did most of the explaining, and we walked the judge through the idea and gave a demo. To be honest, the demo didn't go as well as we'd hoped. We left thinking we probably wouldn't make it into the top 10.
And, as it turned out, we weren't in the top 10. We accepted that and headed back, talking more about how good the experience had been than about the result. It was our first physical hackathon, and we'd still learned a lot and given the project our best.
Then, a few days later, something unexpected happened.
The message that made our day
The Special Winner announcement came out on Kaggle. Once again, Huzefa was the one who spotted it and shared the news in our WhatsApp group.
This time, we had a very different reaction. We were genuinely happy and proud. After leaving the venue thinking we'd probably missed out, finding out that KMesh had been recognised as a Special Winner in the Best Use of Gemma 4 category felt amazing.
It meant even more because this was our first hackathon. We knew the demo hadn't been perfect, but we'd put in the effort, worked together, and tried to solve a problem that mattered. That recognition was a reminder that one imperfect presentation doesn't tell the whole story of the work behind a project.

What I learned
A few things stayed with me:
- Start with the problem. The most useful part of our discussion was deciding which problem was worth solving, not which technology sounded exciting.
- Prepare enough to move quickly. Testing the Gemini API the night before gave me a small head start, even though we didn't know the final challenge.
- Design for the conditions people actually face. In disaster response, connectivity may be unreliable and time matters. That changes how you think about saving, relaying, and prioritising information.
- Keep the scope practical. A focused mobile app and a clear demonstration can communicate an idea better than a long list of features.
- Build with people who bring ideas. Osama's direction and the team's discussions helped us turn a broad challenge into a project we could explain and demonstrate.
I'm grateful to Google DeepMind, Kaggle, the organisers, and everyone who made the event possible. And I'm especially grateful to Osama, Huzefa, and Imran for being part of this experience.
This was my first physical hackathon, but hopefully not my last. I want to keep building software products that solve real-world problems—and KMesh was a meaningful step in that direction.


