Agriculture is the major occupation of most of the rural people but great economic loss occur for farmers due to the plant diseases, pest and forest fires. Therefore for the development of an automated robot for the pest identification, fire identification and spraying pest would have great significance. If we can put off fire it will be of great idea for a automated bot. computer vision techniques have great significance on the automatic identification of images of insect pest. This project not only decrease the labour, but also improve the speed and precision of the identification and diagnosis. When we compare with the manual methods it also reduces the fire accidents being unnoticed. We could use image processing for the pest detection and control the pest by spraying the pesticides on the spot. We could detect the fire and immediately alert the owner by sound and also can be used to spray carbon dioxide in the future advancements. we can use Bag-of-features approach to detect the pest and by using IOT we can operate the bot from the farther places. It makes the farmer not only happy but also economically good and support the agriculture now-a-days. It decreases the huge economic loss of the farmers and also country economy.