Inspiration
Airbnb hosts spend hours writing static PDF house manuals and listing generic "top 10 tourist spots," yet every guest arrives with completely different tastes. A solo traveler into late-night jazz and natural wine needs a totally different neighborhood guide than a family traveling with kids on a rainy weekend.
We built NestNote to turn static house manuals into a living, connected neighborhood graph—powered by Relate by Neo4j—where a host sets up their property once, a guest answers 3 quick vibe questions before check-in, and multi-agent graph memory curates a hyper-personalized, explainable local walking guide.
What It Does
- One-Time Host Onboarding & Auto-Seeding: Hosts enter their property details, Wi-Fi, door code, and house rules once. NestNote automatically geocodes the address via OpenStreetMap and seeds nearby cafes, restaurants, parks, and cultural venues into an embedded Relate graph database.
- 30-Second Guest Taste Check-In: Before arrival, guests open a magic link (no login required) and pick their preferences across Music, Food, and Film/Vibe, with an optional Group Mode toggle that blends overlapping tastes for couples or families.
- Explainable Multi-Agent Guide Curation: Our Guide Curator Agent traverses multi-hop paths in Relate (
Property -> NEAR -> LocalSpot -> HAS_VIBE <- Guest) boosted by past guest endorsements (:LOVED_SPOT) and contextual constraints (rainy_day,family_friendly) to assemble a curated guide. Every recommendation includes an expandable "Why This Spot? (Graph Trace)" drawer showing the exact nodes and edges behind the match. - Human-in-the-Loop Host Approval & QR Sharing: Hosts review the AI-drafted welcome note, make quick edits if desired, and approve with one click to generate a shareable link and printable QR code.
- Grounded AI House Concierge & Post-Stay Memory Loop: Inside the guide, guests can chat with an AI concierge grounded strictly in the house manual and Relate graph—and leave post-stay thumbs-up/down ratings that commit directly back into Relate via safe transactions to improve recommendations for future guests.
- Split-Screen Judge Demo (
/demo/compare): A live side-by-side comparison mode demonstrating how the exact same property generates two completely different guides and graph paths for two contrasting guest profiles.
How We Built It
- Embedded Graph Engine (
@relate/relate— Single-File Mode): We run Relate in-process inside our Node.js + Express backend using single-file mode (./server/data/welcome-kit.rl). Because Relate is embedded directly in our application process, graph traversals execute in sub-millisecond time with zero external graph database servers or credentials, and the pre-seeded.rlfile lives directly in our GitHub repository for instant reproducibility. - Graph Data Model:
- Nodes:
(:Property),(:LocalSpot),(:VibeTag),(:Guest),(:Constraint) - Relationships:
(:Property)-[:NEAR {walkMins, isHostPick}]->(:LocalSpot),(:LocalSpot)-[:HAS_VIBE]->(:VibeTag),(:LocalSpot)-[:SUITABLE_FOR]->(:Constraint),(:Guest)-[:PREFERS]->(:VibeTag),(:Guest)-[:LOVED_SPOT {rating}]->(:LocalSpot)
- Nodes:
- Graph-First, Zero-Hallucination AI Pipeline: Google Gemini Flash normalizes guest taste inputs and drafts warm, host-branded welcome notes grounded exclusively in the subgraphs returned by Relate—never inventing fake venues.
- Full-Stack Persistence & Free-Tier Deployment: Built with React, Vite, and Tailwind CSS (Airbnb-inspired UI) on Vercel, paired with Node.js, Express, and Relate on Render and MongoDB Atlas for guide caching (
<50msrepeat loads) and automatic startup hydration of the.rlgraph.
Challenges We Ran Into
- Preventing LLM Hallucinations in Local Recommendations: Early prompts occasionally caused the LLM to invent plausible-sounding cafes that didn't exist near the property. We solved this by enforcing a strict "Graph First, LLM Second" architecture: Relate performs all spatial, vibe, and constraint filtering first, and the LLM only receives verified
:LocalSpotnodes from the Cypher traversal. - Concurrent Multi-Agent Reads & Writes on Embedded Storage: Ensuring that post-stay guest feedback writes (
:LOVED_SPOT) never conflicted with active guide-generation reads required wrapping all state mutations in Relate's transaction API and maintaining a singleton database handle across Express controllers. - Stateless Cloud Container Restarts: Since free-tier hosting containers reset local disk state after idle periods, we committed our pre-seeded
./server/data/welcome-kit.rlto Git and built a startup hydration step that syncs new MongoDB entries into Relate on server boot using idempotent CypherMERGEqueries.
Accomplishments That We're Proud Of
- Sub-Millisecond Explainable Recommendations: Every spot card exposes its exact Relate graph path so guests and judges can see why a venue was chosen rather than trusting a black-box AI score.
- True Multi-Agent Shared Memory: Separating guide curation (
GuideCuratorAgent), grounded house Q&A (ConciergeAgent), and post-stay learning (FeedbackMemoryAgent) around a single embedded.rlfile proved how cleanly Relate coordinates multi-agent workflows. - $0 Full-Stack Reproducibility: Anyone can clone the repository, run
npm start, and immediately query our pre-seededwelcome-kit.rlgraph locally with zero cloud database setup.
What We Learned
- Embedded graph databases like Relate by Neo4j fundamentally change how AI agents handle context—eliminating network round-trips for multi-hop traversals while making graph state portable enough to version-control right alongside application code.
- Combining deterministic Cypher graph constraints (walking time, vibe tags, accessibility/weather filters) with lightweight LLM narration delivers far higher accuracy and speed than relying on vector search or prompts alone.
What's Next for NestNote
- Multi-Day Spatial Route Optimization: Expanding our Cypher queries to cluster recommended spots by geographic proximity so multi-day stays automatically receive neighborhood-by-neighborhood walking loops.
- Host PMS & Calendar Webhooks: Adding automated iCal / booking webhook triggers so guest taste check-in links are dispatched automatically 48 hours before arrival.
- Collaborative Group Voting: Letting multiple guests on the same reservation submit their own 3-question check-in links so Relate dynamically computes the optimal intersection subgraph for the whole group.
Built With
- cypher
- express.js
- gemini-api
- javascript
- mongodb
- neo4j
- node.js
- nominatim
- openstreetmap
- overpass-api
- react
- relate
- tailwindcss