Who Pays When an AI Agent Gets It Wrong?