Inspiration
Imperial's buildings are connected, the corridors look the same, and room numbers don't help when you don't know the layout. On day one of this hackathon I got lost looking for a washroom in the Huxley Building, so I built the guide I wished I had.
What it does
- Ask by voice: "Take me from the entrance to the food" or "Where's the nearest toilet?"
- The voice agent finds the route and reads it out step by step: "Turn left and walk about 21 steps. Huxley 308 is ahead."
- Each step shows a real photo of what you should see, a big turn arrow, and a cat mascot walking along the route on the floor map.
- Works between floors (stairs), in both directions, and answers "nearest" questions for toilets, fire exits and food.
- Emergency-friendly: ask for the fire exit and it routes you there.
How I built it
- I walked the building myself and photographed each key point (15 places, 20+ photos and 3 walking videos), counting steps between them.
- The building is a graph (graph.json): places and hidden corner waypoints on the official floor maps. Routes are found with BFS / shortest path.
- Directions are generated from geometry, not hard-coded text: turns come from the angle between the segment you just walked and the next one, and step counts come from map distance, calibrated per floor from my measured steps. So every route works in both directions.
- I built a small route editor to fix positions, add waypoints, connect edges and set which way you face when you come off the stairs.
- Voice: an ElevenLabs Conversational AI agent with client tool calling (find_route, show_step). The page and the agent share the same routing logic. The API key stays on the server, and the browser gets a temporary signed URL.
- Built solo with Next.js, TypeScript and Tailwind, deployed on Vercel, with Claude Code as my pair programmer.
Challenges
- My first map positions were approximate, so routes cut diagonally through walls. Building the editor and switching to geometry-based directions fixed it.
- Hand-written directions break when you walk the route backwards ("turn left" becomes wrong). Computing turns from geometry solved that.
What I learned
Indoor navigation is less about maps and more about how humans give directions: landmarks, "it's on your right", and which way you're facing.
What's next
- Photo localization: take a picture and the AI tells you where you are (reading room numbers and signs).
- More buildings: each building is just a new graph file, so adding one means adding data, not code. Floor plans and fire evacuation plans can seed the graph, and students can crowdsource photos.
- Accessibility mode with lift-only routes.
Built With
- anthropic
- claude-code
- elevenlabs
- next.js
- tailwindcss
- typescript
- vercel