In the era of Industry 5.0, effectively managing cognitive workload is crucial for optimizing human performance and ensuring operational efficiency. Using an EEG-based Bi-directional Gated Network (BDGN) approach, this study tries to figure out how to classify cognitive workload in Industry 5.0 applications. The proposed approach incorporates LSTM (Long Short-Term Memory) and GRU (Gated Recurrent Unit) models in a hybrid architecture to leverage their complementary strengths. This research highlights the utilization of the developed model alongside the MQTT (Message Queuing Telemetry Transport) protocol to facilitate real-time end-to-end data transmission. The deployed AI model performs the classification of cognitive workload based on the received data. The main findings of this research reveal an impressive accuracy of 98% in cognitive workload classification, validating the efficacy of the suggested BDGN approach. This study emphasizes the significance of leveraging EEG-based approaches in Industry 5.0 applications for cognitive workload management.