The invention relates to an automated greenhouse used for producing agricultural products. The automated greenhouse comprises a base, a main body and a sweeping mechanism; an air guide mechanism and two ventilation mechanisms are arranged in the main body, the air guide mechanism comprises a rotary shaft, a speed adjusting assembly, two blades, two casing pipes and two suspension rods, and the speed adjusting assembly comprises a translation unit, a connecting block, a first motor, a driving block and a turntable; the sweeping mechanism comprises a sweeping frame, two movable assemblies and several sweeping assemblies; each sweeping assembly comprises a swinging rod, a steering unit, a connecting plate, a spring, a sweeping plate and two orienting rods. According to the automated greenhouse used for producing the agricultural products, through the sweeping mechanism, accumulated snow on the main body can be swept away, so that the good light transmittance of the main body is restored,and photosynthesis is facilitated; moreover, according to the flow rate of external air, the air guide mechanism automatically adjusts the rotary speed of the blades, so that stable ventilation insidethe main body is kept, carbon dioxide is supplemented while moisture is conveniently discharged, the growth of plants is promoted, and the practicability of the automated greenhouse is improved.