How monanta/multiagenthotel works
Grand Horizon is a hotel customer-service chat demo: a guest sends a message, the chat view passes it to a keyword-based orchestrator, and the selected specialist supplies a reply. High-risk complaints are instead marked for Front Office escalation, where staff can reply through the same view. The tree identifies reservation, housekeeping, and billing agents, but their implementations were not sampled; their routing links are supported by the orchestrator. The Express server also exposes an optional Gemini generation endpoint, but no connection from the chat UI to that endpoint is evidenced.
Main entry points: orchestratorAgent.ts Message orchestrator · SimpleAgentView.tsx Guest chat and staff desk · App.tsx App shell · conciergeAgent.ts Concierge agent
Components 14
Chat interface
- Guest chat and staff desk
src/components/SimpleAgentView.tsx - App shell
src/App.tsx - Hotel header
src/components/Header.tsx - Quick prompts
src/data/mockHotelData.ts
Message routing
- Hotel message types
src/types/hotel.ts - Message orchestrator
src/agents/orchestratorAgent.ts
Service agents
- Concierge agent
src/agents/conciergeAgent.ts - Reservation agent
src/agents/reservationAgent.ts - Housekeeping agent
src/agents/housekeepingAgent.ts - Billing agent
src/agents/billingAgent.ts
Server API
- Express API server
server.ts - Google Gemini API
Other components
- Hotel guest
- Front Office staff
Connections 16
- Hotel guest → Guest chat and staff desk: sends message
- Guest chat and staff desk → Message orchestrator: routes message
- Message orchestrator → Guest chat and staff desk: returns result
- Message orchestrator → Concierge agent: calls default
- Concierge agent → Message orchestrator: returns reply
- Message orchestrator → Reservation agent: calls on booking
- Reservation agent → Message orchestrator: returns reply
- Message orchestrator → Housekeeping agent: calls on service
- Housekeeping agent → Message orchestrator: returns reply
- Message orchestrator → Billing agent: calls on billing
- Billing agent → Message orchestrator: returns reply
- Guest chat and staff desk → Quick prompts: reads prompts
- App shell → Hotel header: renders
- App shell → Guest chat and staff desk: renders
- Front Office staff → Guest chat and staff desk: replies to tickets
- Express API server → Google Gemini API: generates content