This application concerns certain 4-cyanophenylamino-substituted bicyclic heterocycles of formula Iwhere the dashed line represents a double bond that may be located either between A and C(V) or between C(V) and D, where A is S or C(Z) D is S or C(W) provided that one and only one of A and D is S where T is NH, O, or S and where other substituents are defined herein. These compounds are non-nucleoside reverse transcriptase inhibitors and have potential as anti-HIV treatment.