The contradiction between supply and demand of agricultural irrigation water is becoming increasingly prominent under the influence of population growth, cultivated land reduction, climate change and so on. Especially in the desert areas, the sustainable development requires effective access to water resources and the realization of water-saving and energy-saving planting. The technology of adsorption-based atmospheric water harvesting can get rid of the limitation of geographical location and capture considerable fresh water resources from the air, providing sustainable irrigation water for agriculture development. In the application scenario of greenhouses, the water harvesting device can adsorb the vapor from the moist air, regulate indoor humidity, and release adsorption heat. The water collected in the desorption process could be recycled for greenhouse irrigation. Furthermore, the technology would be potentially applied in urban farming and desert bloom. © 2021, Shanghai Jiao Tong University Press. All right reserved.