# Lyfe Events

- **Event:** [Agents in Context Toronto: a MongoDB Hackathon](https://cerebralvalley.ai/e/mongodb-toronto-hackathon)
- **When:** Sat, Nov 14 at 9:00 AM – 9:00 PM (EST)
- **Where:** Toronto, Canada
- **Team:** [Santiago S](https://cerebralvalley.ai/u/santisky)
- **GitHub:** https://github.com/santisky8/lyfe-events
- **Demo video:** https://youtu.be/bt79tccAYm4
- **Gallery:** https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/85

A party-planning agent that books vendors through their own booking websites (test sites in this demo), counts a booking only when the vendor confirms it, survives crashes without double-booking, and keeps every decision in an audit log in MongoDB Atlas.

Lyfe Events plans a whole celebration from one chat message, typed or spoken in English, Spanish or French. The concierge (Google Gemini with function calling) asks for any missing details, then proposes a plan from 157 Toronto vendors that fits the budget, food always included, with trend ideas and real "Near you" shops for favours and decorations.

When the host confirms, a LangGraph booking agent fills in each vendor's own website form. A step counts as done only when the vendor's booking page shows the reference number: "sent" is not "booked". Spend over $1,000 waits for the host's approval, in the chat or through an Auth0 by Okta login. If the agent crashes, it resumes from the verified state in MongoDB Atlas and asks each vendor what it already has, so nothing is booked twice. When a vendor changes its form, Atlas Vector Search (Voyage embeddings) finds a similar form the agent handled before and the agent adapts.

Every plan, policy check, approval, form read, send, verify and retry is written to a schema-validated `audit_log` collection, and the host can stop the run from the page (a change stream on `controls`). The app also designs invitations (wording by Gemini, checked by IBM Granite), imports guests from a CSV, tracks RSVPs, shows the event-day forecast (Environment Canada data, The Weather Network link) and speaks briefings with ElevenLabs.

Live demo: https://lyfe-events.tail93d927.ts.net:8443/

Honest limits: Vendor booking sites are test sites on our own server; other catalogue vendors get a "contact them directly" card. Invitations go to a simulated outbox. The demo server runs on the team's laptop behind a Tailscale https link.

The idea comes from the Lyfe Events business plan; all code was written during the event. See DISCLOSURE.md.

## More from Agents in Context Toronto: a MongoDB Hackathon

- [cybershah](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/82)
- [CustodyOS](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/83)
- [AUDITFLOW AI — Policy-Governed Banking Payment Exception Agent](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/84)
- [Miro](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/86)
- [Dxp](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/87)
- [LA Hacks](https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/88)

---

Markdown version of https://cerebralvalley.ai/e/mongodb-toronto-hackathon/hackathon/gallery/85. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
