Inspiration
First responders can arrive at the right address and still face a critical unknown: where inside the building is the person who needs help? Without live indoor-location information, they may need to search across rooms and floors, piecing together the layout as they go. A caller who is trapped, disoriented, or unfamiliar with the building may struggle to provide directions, making that search even harder.
Meanwhile, real estate platforms like CoStar and Matterport contain rich spatial information about buildings, including room layouts, interior imagery, and 3D digital twins. These resources are primarily built for commercial purposes, but we saw an opportunity to put them to work in search and rescue.
LifeLine grew from connecting those two ideas: responders need actionable indoor-location information, and real estate data can provide the spatial foundation. By combining a building’s digital twin with a caller’s live descriptions, we wanted to help responders narrow their search before entering and continue refining that picture throughout the response.
Our inspiration was to bring this information directly into the normal emergency-response workflow, giving dispatchers and field teams a shared understanding of where someone could be when every moment matters.
What it does
LifeLine turns an emergency phone call into an indoor rescue map.
A caller phones 911 and speaks with an ElevenLabs voice agent linked to Photon. After recognizing the building address, LifeLine finds a corresponding Matterport digital twin and asks the caller to describe their surroundings.
Descriptions such as “I can see a bathtub” or “I’m upstairs near the stairs” become evidence about their location. LifeLine compares those observations against the building’s room images, labels, and geometry, then asks follow-up questions that help distinguish the remaining possibilities.
A dispatcher dashboard shows the conversation, likely floor, candidate rooms, and estimated position on the floor plan. As the caller provides more information or corrects an earlier answer, the estimate updates.
Our goal is to give responders spatial context as they enter, helping them make informed decisions about where to search.
How we built it
We built a Python and FastAPI backend to manage conversations, retrieve building data, and maintain location estimates.
Matterport’s API provides the building’s floors, rooms, panoramic images, and geometry. We use CLIP embeddings to compare caller descriptions with room imagery, alongside room labels and physical features. A Bayesian location model combines evidence across the conversation instead of treating each answer as a separate guess.
Our follow-up planner chooses questions based on how effectively they could separate plausible locations. Local semantic matching helps interpret descriptions that do not use our exact keywords. Once a room is identified, additional questions can narrow the estimated position within it.
Photon bridges the phone network and our application. Its SIP integration connects incoming calls to ElevenLabs, which handles the spoken conversation. Authenticated server tools send the caller’s transcript to our backend and return the next question for the agent to speak.
A React dashboard receives live session updates through WebSockets and displays the location estimates on an interactive floor plan. We also built simulated and iMessage conversation paths to develop and test the underlying location workflow.
Challenges we ran into
One of our biggest challenges was translating everyday language into useful spatial evidence. Callers describe what they notice, rather than using the room labels or architectural terms stored in a building model. Short answers, uncertainty, and corrections also need to make sense in the context of the previous question.
Building data introduced another challenge. Some rooms have no photographs, some look almost identical, and some labels do not match what is visible. We had to combine multiple evidence sources and preserve uncertainty when the available information could not reliably distinguish rooms.
Connecting the phone conversation to the location engine required careful coordination. Building models can take time to load, while callers expect a responsive conversation. We added queued-answer handling and retry protection so waiting or repeated tool requests would not process the same answer twice.
What we learned
We learned that having a detailed digital twin does not automatically make it useful during an emergency. The important work is translating that data into a clear question, an understandable estimate, and information someone can act on.
We also learned that integration into the responder’s workflow matters as much as the location model itself. A useful system should make the caller’s observations and the building’s layout available throughout the response, with uncertainty clearly visible.
Accomplishments we’re proud of
We brought together phone infrastructure, conversational voice AI, building digital twins, semantic understanding, and a live spatial dashboard into one prototype.
We are particularly proud that LifeLine can build on previous answers, ask targeted follow-up questions, handle multiple floors, and revise its estimate when the caller corrects themselves. We also found a way to apply real estate technology to a problem far beyond buying and selling buildings.
What’s next for LifeLine
Assist alongside human responders: Build on Photon’s voice integration to explore a shared-call experience where LifeLine contributes location questions and spatial context while a human dispatcher remains involved throughout the conversation.
Plan routes to the caller: Explore optimized access paths from building entrances to the estimated location, incorporating stairs, accessibility needs, and verified incident conditions to support responder decisions.
Connect dispatchers and field teams: Give responders a shared incident view with live location updates, caller observations, alternative rooms, and the ability to confirm or correct information from inside the building.
Validate with emergency-response professionals: Work with dispatchers, campus public safety teams, and first responders to evaluate question quality, location accuracy, and how naturally LifeLine fits into their existing workflows.
Expand coverage and resilience: Support more buildings and evaluate performance with incomplete digital twins, missing room images, ambiguous descriptions, and callers who cannot easily describe their surroundings.
Built With
- cloudflare-tunnel
- costar
- elevenlabs
- fastapi
- javascript
- matterport-api
- node.js
- numpy
- openclip
- photon
- python
- pytorch
- react
- sentence-transformers
- sip
- vexcel
- vite
- websockets