With the development of science and technology, China's aquaculture industry is developing in the direction of intelligence, and artificial intelligence technology has been widely used in aquaculture. In the farm, the monitoring of livestock environment is very important. This paper studies the application of artificial intelligence technology in the monitoring of livestock environment in intelligent farm, in order to elaborate the application and prospect of artificial intelligence technology in intelligent farm. In this paper, ZigBee technology and wireless Internet of things technology are used to realize the intelligent livestock environment monitoring system in the farm. Carbon dioxide monitoring, temperature and humidity monitoring and light monitoring are set up to monitor the livestock environment, and a pig house is selected to test the function realization. In addition, the performance of the system is also tested. The test results show that when the number of nodes is 1, the actual response time of the system is 0.38s, the expected value is 0.4s, when the number of nodes is 2, the actual response time of the system is 0.42s, the expected value is 0.45s, when the number of nodes is 9, the actual response time of the system is 0.76s, the expected value is 0.85s, when the number of nodes is 10, the actual response time of the system is 0.78s, the expected value is 0.9s. The results show that with the increase of the number of nodes, the response time of the system increases correspondingly, but it does not exceed the expected value, that is to say, the system in this paper has a great advantage in response time.technology, China's aquaculture is developing in the direction of highly intelligent. Intelligent aquaculture has the characteristics of high value, high precision, low artificial, low energy consumption and so on. In the process of livestock growth, the environment is very important and difficult to control. If the traditional manual control method is used, the workload is large and easy to produce large data errors, which will greatly affect the production efficiency of the farm. The establishment of an automatic environmental monitoring system plays an important role in promoting the intellectualization of aquaculture.At present, the aquaculture industry requires effective real-time control of environmental parameters such as humidity, temperature and light. Cornish proposed a set of intelligent agricultural environment monitoring system database based on ZigBee wireless communication technology, embedded system and network. The system can monitor the humidity, temperature and light intensity of the farm in real time, and store the corresponding data in the database, so that the future query and data playback system can also set the upper and lower limit values of various parameters to realize the staff When alarming, the staff can adjust the environmental parameters through the field or remote control to ensure the normal state of the farm. Cornish's research can provide a cost-effective and st...