// ARCHITECTURE_OVERVIEW
This is a multi-agent orchestration system for Charvi Restaurant that uses a hierarchical AI agent pattern. One main orchestrator coordinates three specialized sub-agents, each with dedicated tools and memory.
// LOGIC_FLOW
Input
Customer Chat Input
↓
Coordinator
Orchestrator Agent
↓
Routing
Delegation
Menu Assistant
Order Processing
Notification Agent
// AGENT_HIERARCHY
Chat Agent (Orchestrator)
Main coordinator
MODEL:
Google Gemini 2.5 Flash
MEMORY:
10-message window
CAPABILITIES:
- > Understands customer intent
- > Delegates to specialized agents
- > Handles general questions
- > Maintains conversation context
Menu Assistant
Menu Specialist
MODEL:
Google Gemini 2.5 Flash
MEMORY:
5-message window
TOOL:
Get Menu list (Google Sheets)
CAPABILITIES:
- > Menu inquiries
- > Price checks
- > Dietary recommendations
Order Processing
Order Specialist
MODEL:
Google Gemini 2.5 Flash
MEMORY:
5-message window
TOOL:
Order Listing (Google Sheets)
CAPABILITIES:
- > Validates order data
- > Records pending orders
- > Dynamic field extraction ($fromAI)
Notification Agent
Chef Liaison
MODEL:
Google Gemini 2.5 Flash
MEMORY:
10-message window
TOOL:
Gmail API
CAPABILITIES:
- > Formats professional notifications
- > Sends orders to kitchen
- > Confirms delivery
// VISUAL_LOGS