A mechanism that selects actions based on current state, goals, and expected outcomes to maximize success.