The document proposes a real-time occupancy detection system using a self-learning AI agent that utilizes existing camera feeds and network activity to accurately estimate occupants. It aims to provide a low-cost and smart alternative to current sensor-based systems. The system's software stack includes Python for face recognition, Redis for real-time data storage and updating, and a Node.js server and client dashboard for visualization. It also employs Internet of Things and tracks network activity to classify occupants. The proposed "Vithara" dashboard allows easy visualization of occupancy data in real-time on maps and with search capabilities.