Stav dette: Foundations of decision-making agents