Back to all projects
[project]status: in development

Restaurant Voice Agent

Real-Time Call Handling & Ordering System

FastAPIRAGFunction CallingVoice AI

THE PROBLEM

Restaurants lose customers when no one is available to answer the phone, or when multiple people call at once. A missed call is a missed order. This project builds an AI agent that can pick up every call, answer menu and policy questions, and take full orders — without a human on the line.

ARCHITECTURE

01

Intent Routing Layer

Every incoming call is first classified — is the caller asking a question, or placing an order? The router sends the conversation down the correct pipeline, and escalates to a human whenever confidence is low.

02

Retrieval-Augmented Q&A

Menu items, hours, allergens, and policies are grounded in retrieval rather than the model's own memory, keeping answers accurate and specific to each restaurant.

03

Function-Calling Order Pipeline

Order-taking is treated as a structured, stateful transaction — item selection, modifications, and confirmation are handled through function calls rather than free-form generation, keeping orders reliable.

CHALLENGES & SOLUTIONS

Handling concurrent callers

The system needed to manage multiple simultaneous calls without state leaking between conversations — solved with isolated per-call session state.

Knowing when not to answer

A wrong answer on allergen info is worse than no answer. The intent router includes a confidence threshold that escalates uncertain queries to a human instead of guessing.

SNAPSHOT

Status

Active development

Channels

Voice (MVP)

Architecture

Multi-tenant ready