Artificial intelligence is increasingly used in food safety systems to support contamination detection, shelf-life prediction, quality classification, inspection prioritisation, and risk scoring. These applications promise faster, more sensitive, and more scalable decision support across complex food supply chains. However, the same predictive complexity that makes AI useful can also make its outputs difficult for food safety professionals, regulators, and operators to interpret. The central problem addressed in this framework article is that AI-supported food safety decisions may become opaque, uncontestable, and weakly aligned with existing structures of regulatory responsibility. When risk scores or alerts cannot be understood, challenged, or traced to relevant evidence, they may undermine rather than strengthen food safety governance. This problem is especially serious because food safety decisions involve direct public health consequences, market consequences, and legal accountability. The objective of this article is to develop an original Explainable AI Framework tailored to food safety decision systems. The framework integrates four interdependent dimensions: risk interpretation, regulatory confidence, operational accountability, and human review. It treats explainability not only as a technical property of models but also as a governance condition for responsible food safety decision-making. The article is based on a conceptual synthesis of 27 peer-reviewed articles published between 2017 and 2025 across food safety, explainable artificial intelligence, algorithmic accountability, risk assessment, and digital food safety systems. It does not present new empirical data. Instead, it constructs a design and governance framework that can guide the development, validation, deployment, and oversight of AI-supported food safety tools. The proposed framework defines four pillars: interpretable risk communication, transparent regulatory evidence, accountable operational responsibility, and contestable human review. Together, these pillars show how food safety AI systems can become not only predictive but also auditable, trustworthy, and practically usable. The article argues that embedding explainability into food safety AI is a governance and trust-building imperative rather than a purely technical enhancement.
Agri-food systems increasingly rely on analytics, artificial intelligence, machine learning, environmental monitoring, and decision-support tools to evaluate sustainability performance. These systems can estimate resource use, model environmental impacts, detect risks, and inform actions across farms, supply chains, markets, and governance settings. As analytics become embedded in sustainability decisions, their outputs increasingly shape how environmental problems are recognised and acted upon. Yet sustainability analytics does not become useful or responsible simply because it produces indicators, predictions, rankings, or dashboards. Environmental metrics may be technically sophisticated while remaining difficult for farmers, firms, auditors, regulators, and communities to interpret or challenge. This creates an explainability problem in which users need to understand not only what an analytic system reports, but also how the result was produced, what assumptions it contains, and what consequences may follow from acting on it. This article develops a conceptual framework for explainable sustainability analytics in agri-food systems. The framework treats explainability as a system-level requirement for linking environmental impact interpretation, risk explanation, responsibility attribution, human review, and accountability safeguards. It argues that sustainability analytics should be evaluated not only by predictive performance or measurement coverage, but also by whether it supports transparent, contestable, and context-sensitive decision-making. The article contributes a structured framework for interpreting environmental impact, explaining risk, attributing responsibility, and supporting accountable review in agri-food decision contexts. It positions explainable sustainability analytics as an approach that connects data, models, indicators, explanation mechanisms, human judgement, and governance safeguards. In doing so, it provides a foundation for sustainability analytics that is more interpretable, trustworthy, and actionable.