A utility function is a mathematical model that assigns a numerical value, or utility, to each possible outcome or state of the world, formally representing an agent's preferences to guide its goal of maximizing expected utility. In multi-agent systems and negotiation protocols, an agent uses this internal function to evaluate proposals, make trade-offs, and select actions that yield the highest subjective payoff, transforming qualitative desires into a computable optimization objective. Its formulation is central to game theory and mechanism design.
