3-Hydroxy-2-butanone is one of the biomarkers of Listeria monocytogenes, which is quite important for the intelligent detection of 3H-2B. However, it is still a challenge to fabricate sensing materials obtaining excellent sensitivity and selectivity under the ppb-level detection limit. Herein, a plasma-assisted synthetic approach was proposed for the construction of hierarchical nanostructures and the simultaneous loading of TAPP-COFs, which could reduce interlayer interaction and convert the metallized sites on the surface of predesigned porphyrin rings into quantum nanoparticles. These multichannel pathways of Co-TAPP-COFs@SnO 2 @ MWCNTs nanocages contributed to the gas adsorption and diffusion, thus enhancing the sensing behavior. The nanocages exhibited a highly specific sensing performance toward 3H-2B with the highest sensitivity (R a /R g = 100.9 to 0.5 ppm) in all reported sensing materials. The 3H-2B sensor presented outstanding long-term stability, and the detection limit was 100 ppb at room temperature. Furthermore, the synthesized materials were integrated into the sensing module connecting to an Internet of Things platform, providing rapid and real-time detection of 3H-2B. We also applied machine learning methods to analyze the nanocage-based sensors and found that the combined effects of modified sites on the heterointerfaces contributed to the improvement of the sensing performance.