The invention discloses an agricultural mechanical tent. The agricultural mechanical tent comprises sliding rails, supporting boards, a moving rack, a motor I, a ball screw, rotating racks, a rotatingshaft, a bevel gear I, a bevel gear II, a turbine, a worm, a gear shaft, a motor II and a thin film. By means of the agricultural mechanical tent, an automatic film covering function is achieved, labor is greatly saved, the working efficiency is improved, when a device is in use, the motor II is started first, the worm and the shaft of the motor II rotates simultaneously, the worm is in transmission with the turbine in a meshed mode, the turbine and the bevel gear II rotate simultaneously, the bevel gear I is in transmission with the bevel gear II in a meshed mode, thus through the rotating shaft, the rotating racks rotate at a certain angle until the bottom ends of the other sides of the rotating racks are attached to a rack, then the motor I is started, the shaft of the motor I drives the ball screw to rotate and then drives the moving rack to move linearly from one supporting board to a position attached to the inner side of the other supporting board, and thus the thin film automatically covers the rotating racks; by means of the device, real-time monitoring the carbon dioxide concentration in a greenhouse and illumination are further achieved.