2026-07-072026-07-07http://salesiana.dossiersoluciones.com/handle/123456789/31936In this paper we suggest an architecture for a software agent which operates a physical device and is capable of making observations and of testing and repairing the device's components. We present simplified definitions of the notions of symptom, candidate diagnosis, and diagnosis which are based on the theory of action language ${\cal AL}$. The definitions allow one to give a simple account of the agent's behavior in which many of the agent's tasks are reduced to computing stable models of logic programs.46 pages, 1 Postscript figureArtificial IntelligenceF.4.1; F.2.2Diagnostic reasoning with A-Prologtext