Catalytic, enantioselective N-acylation of lactams and thiolactams using amidine-based catalysts.