This work studies emergency evacuation in multi-storey buildings. On the basis of the improved path planning algorithm, multi-agent technology is applied to the communication between models. Robots are used to sense the surrounding environment, and the number and initial positions of robots are set to conduct intelligent search and rescue for indoor trapped people in a disaster; then, real-time on-site data are collected to make a decision analysis. Specifically, the robots sense the changes of the field conditions in real time, guide the evacuation, and transmit the real-time data to rescuers for implementing further rescue measures. The results reveal that the three-dimensional simulation technology can effectively reduce casualties in evacuation and provide a reference for the formulation of the optimal rescue plan, which demonstrates certain practical guiding significance.