RestroAgent - AI-Powered Restaurant Management Platform

RestroAgent is a complete, production-ready SaaS platform that brings artificial intelligence to every aspect of restaurant operations. From handling customer orders and table reservations through an AI chat widget and voice calls, to managing menus, staff, branches, billing, and analytics -- RestroAgent is a full-stack solution built for restaurant owners and SaaS operators alike.

Built with Next.js 15, React 19, TypeScript, Tailwind CSS, PostgreSQL, and Drizzle ORM, this platform is designed to be deployed as a multi-tenant SaaS product or a standalone restaurant management system. It ships with a complete admin panel for platform operators, a restaurant dashboard for business owners, an embeddable AI chat widget, Twilio voice integration, Stripe billing, multi-language support, and much more.


Key Highlights

AI Chat Widget Embeddable chat widget that takes orders, books tables, and answers customer questions using OpenAI
AI Voice Agent Twilio-powered phone agent that handles inbound/outbound calls with real-time AI voice responses
Multi-Agent System Create multiple AI agents per restaurant, each with their own LLM model, voice, personality, and capabilities
Knowledge Base (RAG) Upload PDFs, crawl URLs, add Q&A pairs and articles -- all vectorized with pgvector for semantic search
Full SaaS Platform Multi-tenant with Stripe billing, subscription plans, admin panel, branding, and user management
Multi-Language 6 languages included (English, Hindi, German, French, Russian, Arabic) with RTL support and AI auto-translation
QR Storefront Public-facing mobile-first ordering storefront with QR code per table -- customers browse, build cart, and place orders directly
WhatsApp Business Connect Meta WhatsApp Cloud API per branch for inbound messages, template sending, and marketing campaigns
Loyalty, Coupons & Gift Cards Point-based loyalty program, percentage/fixed coupons with usage limits, and gift card issuance with ledger tracking
Marketing Campaigns Rule-based audience segments and campaign builder for sending WhatsApp template messages to targeted customer groups
White-Label Ready Custom branding: site title, logo, favicon, primary color, Google Fonts -- all configurable from the admin panel
Modern Tech Stack Next.js 15, React 19, TypeScript, Tailwind CSS, PostgreSQL, Drizzle ORM v0.45, Zod validation

AI Agent and Conversations


Knowledge Base (RAG - Retrieval Augmented Generation)


Telephone and Voice AI


WhatsApp Business Integration


Restaurant Operations

Order Management

Table Booking Management

Menu Management

QR Storefront

Customer CRM

Loyalty Program

Coupons

Gift Cards

Performance Analytics


Marketing and Campaigns


Staff, Roles, and Branches


Billing and Subscriptions


Platform Admin Panel

The admin panel provides platform operators with full control over the SaaS infrastructure. Accessible via the "Switch to Admin" toggle for superadmin accounts.


Multi-Language and Localization


Restaurant Settings


Public Landing Pages


Security and Storage


Tech Stack

Layer Technology
Framework Next.js 15 (App Router)
UI Library React 19
Language TypeScript 5
Styling Tailwind CSS 3.4
Database PostgreSQL (with pgvector extension)
ORM Drizzle ORM v0.45
Authentication JWT (jose) + bcrypt
AI / LLM OpenAI Agents SDK, OpenAI Realtime API
Voice Twilio (voice, WebSocket streaming)
Payments Stripe (Checkout, Customer Portal, Webhooks)
Email Nodemailer (SMTP)
Validation Zod v4
Charts Recharts
Icons Lucide React, Heroicons
File Storage Local disk or Amazon S3

Database Structure

The application uses 54 PostgreSQL tables with a fully typed Drizzle ORM schema. The database auto-initializes on first run and applies idempotent migrations on each restart. Key tables include:


What Is Included


System Requirements

Node.js v20 or higher
PostgreSQL v14 or higher (with pgvector extension recommended)
npm v10 or higher
OpenAI API Key Required for AI chat, voice, embeddings, and auto-translation
Stripe Account Optional -- required only if you want subscription billing
Twilio Account Optional -- required only if you want AI voice/phone features
SMTP Server Optional -- required for sending order/booking confirmation emails and password resets
Amazon S3 Optional -- for cloud file storage (local disk used by default)

Deployment

RestroAgent can be deployed on any server or platform that supports Node.js and PostgreSQL. Tested and compatible with:


Support


Changelog

Version 1.0 -- Initial Release


RestroAgent by diploy -- diploy.in