Crop diseases constitute a danger to worldwide food stability, diminishing harvest yield, grade, and total farming efficiency. Conventionally, the identification of plant ailments has depended on lengthy visual assessments by specialists, a method that frequently results in mistakes. Machine learning (ML) and artificial intelligence (AI), in particular Vision Transformers (ViTs) and Convolutional Neural Networks, deliver a swifter, automated substitute for recognizing plant illnesses through leaf image analysis. However, these frameworks are regularly faulted for their "black box" character, which curbs confidence in their outputs due to a lack of clarity. Our outcomes indicate that integrating Explainable AI (XAI) approaches like Grad-CAM, Integrated Gradients, and LIME notably boosts model explainability, rendering it simpler for users to detect the fundamental indicators of plant sicknesses. This investigation not only adds to the area of plant disease recognition but also supplies an original viewpoint on advancing AI openness in actual farming settings through the application of XAI methods. With training accuracy rates of 100.00% for ViT, 96.88% for EfficientNetB7, 93.75% for EfficientNetB0, and 87.50% for ResNet50, and equivalent validation accuracy rates of 96.39% for ViT, 86.98% for EfficientNetB7, and 82.00% for EfficientNetB0, our suggested architectures exceed earlier studies performed on the identical dataset. This illustrates a considerable leap in model capability while upholding clarity and dependability by way of explainable and trustworthy decision procedures.
Artificial intelligence is increasingly embedded in smart farming through decision-support systems that integrate sensor data, remote sensing, machinery data, farm records, and predictive analytics. Yet agricultural decision-making cannot be reduced to automated recommendations because farm decisions are shaped by agronomic uncertainty, local field conditions, economic constraints, environmental goals, labor availability, machinery limitations, farmer experience, advisory relationships, and risk preferences. This conceptual framework article develops a farmer-centered account of human-in-the-loop intelligence for AI decision support in smart farming. The framework positions AI not as a substitute for farmer judgment but as one component of an iterative socio-technical decision process. It emphasizes farmer judgment, experiential knowledge, contextual validation, explainability, uncertainty communication, human oversight, trust calibration, advisor mediation, feedback, accountability, and adaptive decision-making. The article argues that human-in-the-loop intelligence is more than human approval of algorithmic outputs; it involves interpretation, questioning, correction, practical adaptation, and responsibility for situated decisions. By integrating agricultural AI, precision agriculture decision support, farmer knowledge, responsible innovation, and human-centered design perspectives, the manuscript contributes a structured conceptual basis for designing smart farming systems that preserve farmer agency while improving the practical relevance, transparency, and accountability of AI-supported decisions.