Russian and Saudi officials on Monday signed a five-year agreement on cooperation in the oil and gas sector .