How laavanjan/concierge works
Concierge is a multi-channel hotel reservations assistant. Guests enter through web chat, WhatsApp, email, or voice; the gateway hands turns to a shared runtime, which routes work to booking, pricing, and policy specialists. Backend actions go through MCP to inventory, pricing, and reservations services; policy answers use cited retrieval. The README documents approvals, operator handoffs, and operational dashboards as additional capabilities. Edges follow README statements or shown calls; several subsystems are represented at directory level because their implementation was not sampled.
Main entry points: runtime.py Conversation runtime · gateway.py Channel gateway · specialists.py Booking, pricing, policy agents · client.py Backend service client
Components 23
Guest channels
- Web chat
channels/web.py - Messaging channels
channels/whatsapp.py - Email channel
channels/email_channel.py - Voice channel
channels/voice.py - Channel gateway
channels/gateway.py - Operator console
channels/operator.py - Ops dashboard
channels/ops.py
Conversation runtime
- Conversation runtime
agents/runtime.py - Supervisor routing
agents/router.py - Booking, pricing, policy agents
agents/specialists.py - Session and customer memory
agents/stores.py - MCP tools and server
mcp_server/server.py - Model clients
agents/llm
Policy and safeguards
- Hybrid policy retrieval
rag/retriever.py - Input and output safeguards
guardrails - Approval and handoff gate
common/approvals.py - Evaluation gate
evals
Booking and operations
- Inventory and holds
services/inventory/app.py - Dynamic pricing
services/pricing/app.py - Reservations
services/reservations/app.py - Backend service client
services/client.py - Shared domain, config, telemetry
common
Other components
- Guest
Connections 29
- Guest → Web chat: sends message
- Guest → Messaging channels: sends message
- Guest → Email channel: sends message
- Guest → Voice channel: speaks to
- Web chat → Channel gateway: submits turn
- Messaging channels → Channel gateway: submits turn
- Email channel → Channel gateway: submits turn
- Voice channel → Channel gateway: submits turn
- Channel gateway → Conversation runtime: handles turn
- Conversation runtime → Supervisor routing: routes turn
agents/runtime.py - Supervisor routing → Booking, pricing, policy agents: fans out
- Conversation runtime → Session and customer memory: persists context
agents/runtime.py - Conversation runtime → Input and output safeguards: checks input
agents/runtime.py - Booking, pricing, policy agents → MCP tools and server: calls tools
- Booking, pricing, policy agents → Hybrid policy retrieval: retrieves citations
- MCP tools and server → Backend service client: calls backend
mcp_server/server.py - Backend service client → Inventory and holds: calls service
services/client.py - Backend service client → Dynamic pricing: calls service
services/client.py - Backend service client → Reservations: calls service
services/client.py - Reservations → Dynamic pricing: fetches quote
services/reservations/app.py - Reservations → Inventory and holds: places holds
services/reservations/app.py - Dynamic pricing → Inventory and holds: reads occupancy
services/pricing/app.py - Booking, pricing, policy agents → Approval and handoff gate: requests approval
- Operator console → Approval and handoff gate: reviews actions
- Operator console → Conversation runtime: resumes handoff
- Ops dashboard → Shared domain, config, telemetry: reads metrics
- Conversation runtime → Model clients: uses model
agents/runtime.py - Evaluation gate → Conversation runtime: exercises flows
evals/harness.py - Evaluation gate → Hybrid policy retrieval: evaluates retrieval
evals/harness.py