BP's president and CEO, Tony Hayward, has agreed to resign , probably in the fall, the New York Times is reporting.