The invention provides a multifunctional agricultural robot which comprises a fertilizer and soil mixing and stirring mother bin and a driving module, and the fertilizer and soil mixing and stirring mother bin is installed above the driving module through a rapid locking device. The driving module is a wheel type or crawler type driving chassis. The fertilizer and soil mixing and stirring mother bin comprises a rotary bucket, a closed soil upper conveying belt, a human body proximity safety sensor, a laser radar/RFID/visual identification system, a fertilizer bin module, a liquid foliar fertilizer or pesticide application module, a soil bin module, a fertilizer/soil mixing and stirring module, a robot control center, a soil discharging and paving device, a weighing module and a mixed fertilizer and soil discharging opening. The whole process of ditching, soil digging, real-time nutrient detection and analysis, fertilizer preparation, fertilizer mixing, fertilizer application and automatic backfilling is completed at a time. Operation can be achieved on different terrains and soil properties of orchards, small pieces of lands, tea gardens, hills, mountains and the like where large machines cannot enter. The multifunctional agricultural robot has the advantages of being high in analysis speed, simple in operation, free of waste, free of pollution and the like.