At present, the global logistics sector faces critical challenges, including rising energy costs and pressure to reduce CO2 emissions. Traditional linear supply chains are becoming inefficient, necessitating a transition toward shared logistics based on the principles of the sharing economy. This paper presents a progressive three-layer architecture that transforms conventional reactive data collection into an autonomous, proactive management system for the distribution of consumable materials. While previous research established foundations in IoT connectivity for smart vending machines, this study advances the process by integrating an intelligent layer of artificial intelligence (AI) algorithms. The framework utilizes Long Short-Term Memory (LSTM) neural networks for demand forecasting, dynamic route optimization (VRP/ACO) for replenishment, and Isolation Forest/DBSCAN algorithms for real-time anomaly detection. To evaluate the framework, a numerical simulation was conducted using representative pilot scenarios. The results indicate that within the simulated environment, the system achieves over 95% accuracy in inventory depletion prediction (MAPE = 4.02%). In these analyzed instances, this leads to a 25–30% reduction in stock-out risks and a 25% reduction in replenishment distance. These findings demonstrate the significant potential for reducing operational costs and carbon footprints in green logistics. The study confirms that the synergy between IoT infrastructure and AI-driven analysis provides a robust foundation for transitioning from static methodologies to resilient, collaborative logistics ecosystems.
Straka et al. (Mon,) studied this question.