Fires in commercial buildings can lead to significant casualties and property damage. Thus, rapidly and accurately identifying the source of a fire and its intensity is crucial for guiding rescue operations. This study aims to explore the use of distributed fiber optic temperature sensing systems, combined with deep learning algorithms, to predict key information about fires in commercial buildings, including the location of the fire source, the intensity of fire development, and the critical planar distribution of carbon monoxide. Based on the Fire Dynamic Simulation (FDS) data, a dual-agent model was developed, and with a sensor sampling interval of 3 s, 30 s of historical data achieved prediction accuracies of 94.23 % for fire intensity and 99.28 % for fire location. Upon reducing the intervals for fire location, the accuracy reached 93.56 %. Additionally, the Random Forest algorithm for mapping carbon monoxide distribution demonstrated an overall Mean Absolute Percentage Error (MAPE) of 5.87 %. Within the 0–150 ppm range, the MAPE was 2.46 %, far below the error levels of existing CO sensors. The database configurations and the sensors' spatiotemporal arrangement were also optimized to rapid and reliable fire prediction. This research demonstrates the feasibility of using artificial intelligence for critical fire scene information detection.