Certus
Restaurant voice AI platform
Built the real-time voice agent with its conversation controller, model-path routing and guardrails, and the AI evaluation and release pipeline for Certus, an AI phone agent that takes restaurant orders, payments and reservations.
Certus: an AI phone agent for restaurants
0.5–0.8 s
Median time to first audio
85–95%
Orders exactly right (evaluation set)
75–90%
Calls handled without staff
10–30%
Upsell offers accepted
Stack
Overview
Certus is a multi-tenant voice-AI platform for restaurants. Its AI phone agent answers calls and menu questions, takes pickup and delivery orders and card payments, and books OpenTable reservations. An order is only reported as accepted after the restaurant's POS confirms it.
The central idea: the AI interprets an informal spoken request, but every consequential action is validated by backend services and confirmed by the connected provider.
The problem
Restaurants receive a large volume of calls while staff are already serving customers, preparing food or managing the front of house, so calls are missed or placed on hold.
- Interrupted staff: employees are pulled away during busy service periods.
- Order errors: orders are entered incorrectly when details are misunderstood.
- Missed upsells: recommendations depend on whether employees have time to make them.
My role
I worked at Certus as an AI engineer. Within the Certus team, I built the Python voice agent with its conversation controller and model-path routing, the AI evaluation and release pipeline, and the grounding and guardrails around the model: tenant-scoped FAQ retrieval and a payment line that keeps card digits away from the model.
What I built
Voice agent
- A voice agent on LiveKit Agents with OpenAI Realtime (
gpt-realtime) as the primary speech-to-speech path and a Deepgram →gpt-4.1-mini→ Cartesia cascade as the fallback. - A conversation controller that validates every tool call against its schema, the workflow and the cart, and executes it through the business API.
- Model-path routing that switches a call to the cascade between turns on Realtime errors, slow first audio or invalid function calls, carrying the cart over.
AI evaluation and release
- A cart evaluation harness with deterministic item, modifier and quantity metrics, run on both model paths and on simulated phone calls.
- A calibrated LLM judge for soft qualities, a red-team set for allergen, payment and policy cases, and a per-location canary rollout with automatic rollback.
Grounding and guardrails
- Grounded answers: exact facts (menus, prices, hours) come from PostgreSQL, and pgvector serves only approved, tenant-scoped FAQs.
- Keypad card entry on a secure Twilio Pay line, so no card digits reach the model or the recording.
Results
- Time to first audio: a median of 0.5–0.8 seconds on the Realtime path and 0.8–1.1 seconds on the fallback path.
- Order accuracy: 85–95% of orders exactly right on the evaluation set.
- Calls without staff: 75–90% of calls handled without staff.
- Upsell: 10–30% of upsell offers accepted.
Tech stack
| Layer | Technologies |
|---|---|
| Voice | LiveKit Agents (Python 3.12), LiveKit SIP, Twilio Elastic SIP Trunking, OpenAI Realtime, Deepgram nova-3, GPT-4.1-mini, Cartesia sonic-3 |
| Backend | NestJS, PostgreSQL + pgvector, Redis, Firestore, BullMQ |
| Integrations | Toast, Square, Clover, DoorDash, Uber Eats, OpenTable, Make.com |
| Payments | Stripe Connect, Twilio Pay, SMS payment links |
| Frontend | Vue 3, Nuxt, Flutter |
| AI quality | Langfuse datasets and tracing, LLM judge, simulated-caller suite |
| Infrastructure | GCP (Cloud Run, GKE, Cloud SQL, Memorystore, Pub/Sub), Terraform, GitHub Actions |
Related case studies


