This disclosure provides compounds having drug and bio-affecting properties, their pharmaceutical compositions and method of use. In particular, the disclosure is concerned with diketo piperazine and piperadine derivatives that possess unique antiviral activity. More particularly, the present disclosure relates to compounds useful for the treatment of HIV and AIDS.