Dev builds AI agent that calls 5 massage spas in parallel to compare prices and book slots
MarchCold7216 · reddit · 2026-09-25
A developer built Sooner, an agent that books massages by phoning five spas in parallel. Discovery scores nearby businesses against price/time/gender requirements; a Playwright adapter layer reads real availability from Mindbody, Vagaro, Boulevard, Fresha, Square and Wix so many calls are unnecessary. Remaining calls run over Twilio ConversationRelay (Deepgram STT, Google TTS), finishing in under 2 minutes.
Key engineering details:
- Every LLM turn (Haiku for routine, Sonnet for hard cases) is a forced tool call with a strict schema — free-text JSON parsing once caused truncated JSON to be read aloud on live calls.
- Against IVR menus the say field is just a digit; when talking to an AI receptionist, its own lines are sent non-interruptible to avoid bot-vs-bot barge-in wars; disclosure of being an AI is hard-coded.
- Debug highlights: 1.2s dead air from short replies skipping the streaming path, barge-in false triggers on hold music, and wrong locale codes requiring a narrowed language enum.
Stack: Node/Express, SQLite, Twilio, Anthropic API with prompt caching, Playwright, React. Currently in beta.
More from coding & agent
- pnpm urges devs to spend spare tokens fixing its 629 open issues, ships a ready-made agent prompt — itsOmSarraf_ · 2026-09-25
- Geoffrey Huntley Demos a Software Factory Where the Product Is Its Own IDE — teropa · 2026-09-25
- Open-Source iCloud MCP Runs Without a Mac: 31 Tools, Headless Chromium — sjdonado · 2026-09-25
- Microsoft ships enterprise product on OpenClaw after months of joint hardening work — steipete · 2026-09-25
- Open-sourced skill turns your codebase into a polished product promo video via Claude Code — op7418 · 2026-09-25
- BlackRock paper sparks debate: agent payments settle fine, but revoked permissions can't catch up — tallmetommy · 2026-09-25