The paper proposes an original method for employing optimised cooperative swarms of Unmanned Aerial Vehicles (UAVs) to localise multiple moving objects in agricultural farmlands. Crop Monitoring (CM), targeted fertilizer distribution, and Livestock Management (LM) are some of the Smart Farming (SF) applications of UAVs. However, the ever-changing nature of agricultural settings makes it challenging to set up UAV swarms. Detecting multiple evolving objectives in dynamic environments is complicated, and conventional methods are regularly optimized for single objectives, such as area or reduced Energy Consumption (EC), which is unsuitable. This research recommends a Multi-Objective Evolutionary Algorithm (MOEA) as a model for UAV swarms to balance task service, communication, and EC during the investigation. The approach paves the method for innovation in the agricultural sector by optimizing tasks in real-time, addressing unpredictable targets, boosting productivity, and reducing costs. The study’s findings present optimism for smart farm management and accurate SF by improving UAV systems’ response time and scalability.