All projects

Hospitality & Food Service

Riviera

AI-powered hospitality operations platform

Built the Vapi voice agent, the Python AI and knowledge service, the agent's tool layer and workflow compiler, and the evaluation and release gates behind Riviera's AI guest-communication and hotel operations platform.

Riviera: AI-powered guest communication and hotel operations

1 / 5
Riviera: AI-powered guest communication and hotel operations

Riviera: AI-powered guest communication and hotel operations

60–80%

Calls fully handled by the AI

< 5%

Calls with unplanned staff takeover

0.5–0.8 s

Median voice turn latency, no tool call

90–97%

Knowledge answers correct on eval set

Stack

Laravel (PHP 8.3)Vue 3 + Inertia.jsVapiOpenAI GPT-4.1Python / FastAPILangChainNeMo GuardrailsTwilioAurora MySQL 8PineconeLaravel Horizon / RedisAWS ECS Fargate / Terraform

Overview

Riviera is an AI-powered guest communications and hotel operations platform. Hotels manage guest conversations across phone, SMS, WhatsApp, email and website chat in 10+ languages, and the AI answers directly, executes an approved action or transfers the conversation to staff, who can take over when necessary.

The central idea: Riviera turns hotel guest conversations into accurate answers and verified operational actions, while keeping hotel staff in control.

The problem

Hotels receive a continuous stream of guest requests through multiple channels, and each one pulls an employee away from other work.

  • Missed and interrupted calls: phones ring while reception staff are already serving guests.
  • Repeated questions: check-in, amenities, opening hours and policies are answered by hand, again and again.
  • Split channels: requests are scattered across phone, messaging and email, and answers differ by channel or employee.

My role

I worked with Riviera's founders as an AI engineer and built the engineering behind their hotel AI agents: the Vapi voice agent, the Python AI service and knowledge pipeline, and the tool layer and workflow publishing that control what the agents may do. The product direction is Riviera's.

What I built

Voice agent

  • Vapi voice assistants on the hotels' Twilio numbers, with Deepgram Nova-3 speech-to-text, OpenAI GPT-4.1 tool calling and ElevenLabs Flash v2.5 text-to-speech.
  • Write safety for interrupted turns: idempotency keys so a repeated turn never repeats a booking, and a timed-out write returns "pending confirmation" instead of success.
  • Call transfers to staff with an AI summary, and live call takeover.

AI service and knowledge

  • A Python FastAPI and LangChain service for SMS, WhatsApp, email and website chat behind NeMo Guardrails, with cross-channel guest context.
  • A hotel knowledge pipeline with fact extraction, human-approved contradiction review and hybrid MySQL full-text and Pinecone retrieval, scoped to one property.
  • Evaluation and release gates: simulated multilingual guest calls and chats, and per-property prompt rollout with automatic rollback.

Agent tool layer and workflow publishing

  • A tool registry, the agents' only route to hotel systems, with typed tools and reconciliation of uncertain writes.
  • Workflow publishing: Laravel validates and compiles each workflow graph into the agent prompt, allowed tools and per-tool preconditions.

Results

  • Calls fully handled by the AI: 60–80%.
  • Unplanned staff takeovers: under 5% of calls.
  • Voice turn latency: about 0.5–0.8 seconds at the median without a tool call, and 1.2–1.8 seconds with one.
  • Knowledge answers: 90–97% correct on the evaluation set.
  • Write safety: zero false confirmations.
  • Cost: about $0.09–0.15 per call minute.

Tech stack

LayerTechnologies
FrontendVue 3, Inertia.js, Vue Flow
BackendLaravel (PHP 8.3), Laravel Horizon, Laravel Reverb, Python FastAPI, LangChain, NeMo Guardrails
Voice & messagingVapi, Deepgram Nova-3, OpenAI GPT-4.1, ElevenLabs Flash v2.5, Twilio (Voice SDK, Messaging, WhatsApp), Postmark
KnowledgeUnstructured, AWS Textract, OpenAI text-embedding-3-small, MySQL full-text search, Pinecone
DataAurora MySQL 8, Redis, AWS S3
IntegrationsOracle OPERA Cloud, Mews, Cloudbeds, Stripe Billing, n8n
InfrastructureAWS ECS Fargate, Terraform, GitHub Actions, Sentry, OpenTelemetry, Grafana Cloud, Langfuse

Related case studies