How deepnan-umhack/scada-i-umhack26 works
SCADA-i is an AI-powered smart-building control system with natural-language interactions, autonomous HVAC optimization, room and equipment booking, ESG analysis, and web dashboards. A typical request enters through the mobile-facing app and agent API, is routed by the supervisor to a domain agent, and may produce a building-control action or booking/ESG result. Sensor data also enters through MQTT and is stored for operational use. README documentation supports the broad subsystem relationships; the sampled code confirms HVAC decision handling and sensor persistence, but not all integration details.
Main entry points: supervisor.py Agent Supervisor · src/App.tsx Mobile App · src/App.tsx Web Dashboard · booking_agent.py Booking Agent
Components 24
User Applications
- Mobile App
website/src/App.tsx - Chat Interface
website/src/pages/MainChat.tsx - Booking Views
website/src/pages/BrowseSpaces.tsx - Booking Status
website/src/pages/BookingStatus.tsx - Web Dashboard
dashboard/scada-i-react/src/App.tsx - Live Analytics
dashboard/scada-i-react/src/pages/Dashboard.tsx - ESG Reports
dashboard/scada-i-react/src/pages/EsgReports.tsx
Agent Coordination
- Agent API
agents/api.py - Agent Supervisor
agents/orchestrator/supervisor.py
Domain Agents
- Booking Agent
agents/booking_agent/booking_agent.py - Booking Operations
agents/booking_agent/tools - HVAC Agent
agents/hvac_agent/hvac_agent.py - HVAC Request Service
agents/hvac_agent/core/service.py - HVAC Controller
agents/hvac_agent/core/controller.py - HVAC Data Models
agents/hvac_agent/core/schemas.py - ESG Agent
agents/esg_agent/esg_agent.py - ESG Analysis Tools
agents/esg_agent/tools - Policy Search
agents/esg_agent/tools/PolicyRetriever.py
Building Data
- Sensor Ingestor
agents/hvac_agent/infra/sensor_ingestor.py - MQTT Broker
agents/mqtt.py - Operational Database
agents/hvac_agent/infra/postgres_client.py
Other components
- Building User
- Building Devices
- Supabase
Connections 27
- Building User → Mobile App: uses
README.md - Mobile App → Chat Interface: presents chat
website/src/App.tsx - Building User → Web Dashboard: views analytics
README.md - Web Dashboard → Live Analytics: routes to
dashboard/scada-i-react/src/App.tsx - Web Dashboard → ESG Reports: routes to
dashboard/scada-i-react/src/App.tsx - Booking Views → Booking Status: opens status
website/src/App.tsx - Mobile App → Booking Views: presents views
website/src/App.tsx - Chat Interface → Agent API: submits queries
- Agent API → Agent Supervisor: enters orchestration
README.md - Agent Supervisor → Booking Agent: routes queries
agents/orchestrator/supervisor.py - Agent Supervisor → HVAC Agent: routes queries
agents/orchestrator/supervisor.py - Agent Supervisor → ESG Agent: routes queries
agents/orchestrator/supervisor.py - Booking Agent → Booking Operations: uses tools
README.md - ESG Agent → ESG Analysis Tools: uses tools
README.md - ESG Analysis Tools → Policy Search: retrieves policies
README.md - HVAC Agent → HVAC Request Service: handles requests
- HVAC Request Service → HVAC Controller: requests decision
agents/hvac_agent/core/service.py - HVAC Controller → HVAC Data Models: uses models
agents/hvac_agent/core/controller.py - HVAC Request Service → HVAC Data Models: builds requests
agents/hvac_agent/core/service.py - Building Devices → MQTT Broker: publishes telemetry
README.md - MQTT Broker → Sensor Ingestor: delivers messages
agents/hvac_agent/infra/sensor_ingestor.py - Sensor Ingestor → Operational Database: upserts state
agents/hvac_agent/infra/sensor_ingestor.py - HVAC Agent → Building Devices: sends controls
README.md - Live Analytics → Building Devices: shows IoT streams
README.md - Booking Agent → Supabase: manages records
README.md - Policy Search → Supabase: searches policies
agents/esg_agent/tools/PolicyRetriever.py - ESG Reports → ESG Agent: views reports
README.md